George Shuklin
2012-Oct-09 14:05 UTC
[Pkg-xen-devel] Bug#682202: xcp-squeezed: race between xenstore initialization and sqeezed
Package: xcp-squeezed Version: 1.3.2-11 Followup-For: Bug #682202 ?I found race condtion between xcp-sqeezed and /etc/init.d/xen scripts. If sleep 10 added to xcp-sqeezed host (xcp-sqeezed and xapi) initialize normally, and if not with some probability sqeezed/xapi failed to start with message: Oct 9 16:45:57 xenhost-1 xapi: [ warn|xenhost-1|0 thread_zero|server_init D:1691a70e8b4a|startup] task [Setting up domain 0 xenstore keys] exception: Xs.Failed_to_connect Oct 9 16:45:57 xenhost-1 xapi: [error|xenhost-1|0 thread_zero||xapi] Caught exception at toplevel: 'Xs.Failed_to_connect' Oct 9 16:45:57 xenhost-1 xcp-fe: 2567 (/usr/sbin/xapi -nowatchdog -writereadyfile /var/run/xapi_startup.cookie -writ...) exitted with code 2 Oct 9 16:45:57 xenhost-1 xapi: [ info|xenhost-1|0 thread_zero||watchdog] received exit code 2 Oct 9 16:45:57 xenhost-1 xapi: [ info|xenhost-1|0 thread_zero||watchdog] Received bad exit, retrying Oct 9 16:45:57 xenhost-1 xapi: [ info|xenhost-1|0 thread_zero||watchdog] (Re)starting xapi... Oct 9 16:45:57 xenhost-1 xapi: [ warn|xenhost-1|0 thread_zero|server_init D:8448f2bcf925|startup] task [Setting up domain 0 xenstore keys] exception: Xs.Failed_to_connect Oct 9 16:45:57 xenhost-1 xapi: [error|xenhost-1|0 thread_zero||xapi] Caught exception at toplevel: 'Xs.Failed_to_connect' Oct 9 16:45:57 xenhost-1 xcp-fe: 2571 (/usr/sbin/xapi -nowatchdog -writereadyfile /var/run/xapi_startup.cookie -writ...) exitted with code 2 Oct 9 16:45:57 xenhost-1 xapi: [ info|xenhost-1|0 thread_zero||watchdog] received exit code 2 -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.2.0-3-686-pae (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set LC_ALL to default locale: No such file or directory UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages xcp-squeezed depends on: ii libc6 2.13-35 ii libxen-4.1 4.1.3-3 ii lsb-base 4.1+Debian7 ii xen-hypervisor-4.1-amd64 [xen-hypervisor-4.1] 4.1.3-3 ii xen-utils-common 4.1.3-3 xcp-squeezed recommends no packages. xcp-squeezed suggests no packages. -- debconf information excluded
Reasonably Related Threads
- Bug#682202: xcp-squeezed not started on boot
- [XEN-user-list] XENServer 6 losing xapi after restart
- Bug#680588: xcp-xapi: startup race condition between xcp-xapi and xcp-networkd on slave
- XCP 0.5 killing umanaged domain (BUG?)
- xen 4.0.1/w 2.6.32 swapper: page allocation failure