Project

General

Profile

Tâche #14657

Scénario #14770: Corriger l'erreur 'permission denied' lors du démarrage du conteneur 'reseau' sur AmonEcole

L'erreur 'permission denied' lors du démarrage du conteneur 'reseau' d'un amonecole n'est pas normale.

Added by Gilles Grandgérard over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
01/08/2013
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Remaining (hours):
0.0

Description

Dans ce contexte, une telle erreur empêche le démarrage du conteneur réseau.

cf : http://jenkins.eole.lan/job/test-creolelint-amonecole-2.5.2-amd64/lastFailedBuild/console

cat /var/log/lxc/reseau.log
Attention : plusieurs 'reboot' ont été fait (après gen_conteneur, après instance, et reboot sur erreur)


lxc-start 1450278732.958 ERROR    lxc_cgmanager - cgmanager.c:cgm_destroy:575 - Error connecting to cgroup manager
        lxc-start 1450459264.103 ERROR    lxc_cgmanager - cgmanager.c:cgm_destroy:575 - Error connecting to cgroup manager
        lxc-start 1450718822.468 ERROR    lxc_cgmanager - cgmanager.c:cgm_destroy:575 - Error connecting to cgroup manager
        lxc-start 1450804977.073 ERROR    lxc_cgmanager - cgmanager.c:cgm_destroy:575 - Error connecting to cgroup manager
        lxc-start 1452014965.941 ERROR    lxc_cgmanager - cgmanager.c:cgm_destroy:575 - Error connecting to cgroup manager
        lxc-start 1452101132.582 ERROR    lxc_cgmanager - cgmanager.c:cgm_destroy:575 - Error connecting to cgroup manager
        lxc-start 1452187409.367 ERROR    lxc_cgmanager - cgmanager.c:cgm_destroy:575 - Error connecting to cgroup manager
        lxc-start 1452274157.605 ERROR    lxc_cgmanager - cgmanager.c:cgm_destroy:575 - Error connecting to cgroup manager
        lxc-start 1452533117.047 ERROR    lxc_cgmanager - cgmanager.c:cgm_destroy:575 - Error connecting to cgroup manager
        lxc-start 1452619438.642 ERROR    lxc_cgmanager - cgmanager.c:cgm_destroy:575 - Error connecting to cgroup manager
        lxc-start 1452705770.565 ERROR    lxc_cgmanager - cgmanager.c:cgm_destroy:575 - Error connecting to cgroup manager
        lxc-start 1452722845.537 ERROR    lxc_cgmanager - cgmanager.c:cgm_destroy:575 - Error connecting to cgroup manager
        lxc-start 1452736730.145 ERROR    lxc_utils - utils.c:safe_mount:1284 - Permission denied - Mount of '/home/applications/ocsinventory' onto '/usr/lib/x86_64-linux-gnu/lxc//home/applications/ocsinventory' failed
        lxc-start 1452736730.147 ERROR    lxc_conf - conf.c:mount_entry:2061 - Permission denied - failed to mount '/home/applications/ocsinventory' on '/usr/lib/x86_64-linux-gnu/lxc//home/applications/ocsinventory'
        lxc-start 1452736730.148 ERROR    lxc_conf - conf.c:lxc_setup:4277 - failed to setup the mounts for 'reseau'
        lxc-start 1452736730.148 ERROR    lxc_start - start.c:do_start:717 - failed to setup the container
        lxc-start 1452736730.148 ERROR    lxc_sync - sync.c:__sync_wait:51 - invalid sequence number 1. expected 2
        lxc-start 1452736730.149 ERROR    lxc_start - start.c:__lxc_start:1121 - failed to spawn 'reseau'
        lxc-start 1452736730.169 ERROR    lxc_start_ui - lxc_start.c:main:341 - The container failed to start.
        lxc-start 1452736730.169 ERROR    lxc_start_ui - lxc_start.c:main:345 - Additional information can be obtained by setting the --logfile and --logpriority options.

Associated revisions

Revision 05d9265e (diff)
Added by Emmanuel GARETTE over 7 years ago

ne pas démarrer lxc avant cgmanager (ref #14657 @1h)

History

#1 Updated by Gilles Grandgérard over 7 years ago

  • Description updated (diff)

#2 Updated by Gilles Grandgérard over 7 years ago

voir réponse : http://comments.gmane.org/gmane.linux.kernel.containers.lxc.general/9474
Remplacer la ligne 'start on runlevel [2345]' par 'start on runlevel [2345] and started cgmanager'

Mise en place du patch sur les 'amonecole-2.5.2a2-daily'

#3 Updated by Joël Cuissinat over 7 years ago

  • Project changed from Distribution EOLE to eole-common
  • Estimated time set to 2.00 h
  • Parent task changed from #14473 to #14770
  • Remaining (hours) set to 2.0

#4 Updated by Emmanuel GARETTE over 7 years ago

  • Assigned To set to Emmanuel GARETTE
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 2.0 to 0.25

#5 Updated by Emmanuel GARETTE over 7 years ago

  • Status changed from Nouveau to En cours

#6 Updated by Scrum Master over 7 years ago

  • Status changed from En cours to Résolu

#7 Updated by Scrum Master over 7 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

Also available in: Atom PDF