Tâche #8633
AmonEcole - Scénario #9042: Tests fonctionnels AmonEcole 2.4.1
assez souvent les conteneurs ne redémarre pas
Status:
Ne sera pas résolu
Priority:
Haut
Assigned To:
-
Target version:
Start date:
10/06/2014
Due date:
% Done:
0%
Estimated time:
0.00 h
Remaining (hours):
0.0
Description
Sans avoir fait de statistique, 1 reconfigure sur 4 ne va pas au bout parce que le conteneur mail ne redémarre pas.
Erreur lorsque je met en mode débug
lxc-start 1405933421.087 DEBUG lxc_cgroup - destroying /sys/fs/cgroup/cpuset//lxc/mail lxc-start 1405933421.087 ERROR lxc_cgroup - Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/cpuset//lxc/mail'
Pour passer en mode debug, j'ai modifié le fichier /etc/init/lxc (comment faire autrement) :
lxc-info -n $c 2>/dev/null | grep state | grep -q "RUNNING" || lxc-start -n $c -f $f -d
devient :
lxc-info -n $c 2>/dev/null | grep state | grep -q "RUNNING" || lxc-start -n $c -f $f -d -o lxc.debug.$c -l DEBUG
Le fichier de log est donc : "/lxc.debug.mail".
History
#1 Updated by Emmanuel GARETTE over 8 years ago
La partie problématique :
lxc-start DEBUG lxc_conf - mounted '/var/lib/lxc/mail/rootfs' on '/usr/lib/lxc/root' lxc-start DEBUG lxc_conf - mounted 'proc' on '/usr/lib/lxc/root/proc', type 'proc' lxc-start DEBUG lxc_conf - mounted 'sysfs' on '/usr/lib/lxc/root/sys', type 'sysfs' lxc-start DEBUG lxc_conf - remounting /home/mail on /usr/lib/lxc/root//home/mail to respect bind or remount options lxc-start DEBUG lxc_conf - mounted '/home/mail' on '/usr/lib/lxc/root//home/mail', type 'none' lxc-start INFO lxc_conf - mount points have been setup lxc-start INFO lxc_conf - mount points have been setup lxc-start DEBUG lxc_cgroup - lxc_cgroup_path_get: called for subsys devices name mail
Devient en cas d'erreur :
lxc-start DEBUG lxc_conf - mounted '/var/lib/lxc/mail/rootfs' on '/usr/lib/lxc/root' lxc-start DEBUG lxc_conf - mounted 'proc' on '/usr/lib/lxc/root/proc', type 'proc' lxc-start DEBUG lxc_conf - mounted 'sysfs' on '/usr/lib/lxc/root/sys', type 'sysfs' lxc-start ERROR lxc_conf - Permission denied - failed to mount '/home/mail' on '/usr/lib/lxc/root//home/mail' lxc-start ERROR lxc_conf - failed to setup the mounts for 'mail' lxc-start ERROR lxc_start - failed to setup the container lxc-start ERROR lxc_sync - invalid sequence number 1. expected 2 lxc-start ERROR lxc_start - failed to spawn 'mail' lxc-start DEBUG lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /
#2 Updated by Joël Cuissinat over 8 years ago
- Status changed from Nouveau to Classée sans suite
- Target version deleted (
231)
Le problème ne se reproduit plus depuis qu'une boucle a été ajoutée dans le test du démarrage des conteneurs.
#3 Updated by Emmanuel GARETTE over 8 years ago
- Tracker changed from Anomalie to Tâche
- Target version set to sprint 2014 40-41
- Start date set to 10/06/2014
- Parent task set to #9042
- Remaining (hours) set to 0.0
Le problème ne se pose plus au reconfigure mais se pose encore au redémarrage du serveur.
#4 Updated by Joël Cuissinat about 8 years ago
- Status changed from Classée sans suite to Ne sera pas résolu
- Estimated time set to 0.00 h