Projet

Général

Profil

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.

Ajouté par Gilles Grandgérard il y a plus de 8 ans. Mis à jour il y a environ 8 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
08/01/2013
Echéance:
% réalisé:

100%

Temps estimé:
2.00 h
Temps passé:
Restant à faire (heures):
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.

Révisions associées

Révision 05d9265e (diff)
Ajouté par Emmanuel GARETTE il y a environ 8 ans

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

Historique

#1 Mis à jour par Gilles Grandgérard il y a plus de 8 ans

  • Description mis à jour (diff)

#2 Mis à jour par Gilles Grandgérard il y a plus de 8 ans

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 Mis à jour par Joël Cuissinat il y a environ 8 ans

  • Projet changé de Distribution EOLE à eole-common
  • Temps estimé mis à 2.00 h
  • Tâche parente changé de #14473 à #14770
  • Restant à faire (heures) mis à 2.0

#4 Mis à jour par Emmanuel GARETTE il y a environ 8 ans

  • Assigné à mis à Emmanuel GARETTE
  • % réalisé changé de 0 à 100
  • Restant à faire (heures) changé de 2.0 à 0.25

#5 Mis à jour par Emmanuel GARETTE il y a environ 8 ans

  • Statut changé de Nouveau à En cours

#6 Mis à jour par Scrum Master il y a environ 8 ans

  • Statut changé de En cours à Résolu

#7 Mis à jour par Scrum Master il y a environ 8 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) changé de 0.25 à 0.0

Formats disponibles : Atom PDF