[opensuse-virtual] xendomains starts domains although xenstore is not started on opensuse 12.3
Hi, I've installed opensuse 12.3 as dom0 and after a reboot my first three domUs don't start. In the logfile /var/log/messages I see the following messages, which let me assume, that xendomains is started (16:34:27) even xenstore has finished starting (16:34:30). So what can I do to let xendomains start after xenstore has finished starting ? For a test I added a sleep 5 at the beginning of xendomains script and now all my domUs will be started at boot time. Here the log: --snip-- 2013-03-14T16:34:27.481310+01:00 xen xendomains[737]: Starting auto Xen domains 2013-03-14T16:34:27.501932+01:00 xen kernel: [ 13.677948] pciback 0000:02:00.0: seizing device 2013-03-14T16:34:27.541912+01:00 xen kernel: [ 13.716108] pciback: backend is vpci 2013-03-14T16:34:27.549890+01:00 xen xendomains[737]: 01gateway: libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running? 2013-03-14T16:34:27.551241+01:00 xen xendomains[737]: failed to stat /var/run/xenstored.pid: No such file or directory 2013-03-14T16:34:27.551494+01:00 xen xendomains[737]: cannot init xl context 2013-03-14T16:34:27.569904+01:00 xen kernel: [ 13.746993] blktap_device_init: blktap device major 252 2013-03-14T16:34:27.569938+01:00 xen kernel: [ 13.747007] blktap_ring_init: blktap ring major: 251 2013-03-14T16:34:27.581928+01:00 xen xendomains[737]: libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running? 2013-03-14T16:34:27.584768+01:00 xen xendomains[737]: failed to stat /var/run/xenstored.pid: No such file or directory 2013-03-14T16:34:27.585035+01:00 xen xendomains[737]: cannot init xl context 2013-03-14T16:34:27.588725+01:00 xen xendomains[737]: ..failed 2013-03-14T16:34:27.621915+01:00 xen kernel: [ 13.797019] nbd: registered device at major 43 2013-03-14T16:34:27.665693+01:00 xen xendomains[737]: 02appserver: libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running? 2013-03-14T16:34:27.665752+01:00 xen xendomains[737]: failed to stat /var/run/xenstored.pid: No such file or directory 2013-03-14T16:34:27.665771+01:00 xen xendomains[737]: cannot init xl context 2013-03-14T16:34:27.703149+01:00 xen xendomains[737]: libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running? 2013-03-14T16:34:27.704894+01:00 xen xendomains[737]: failed to stat /var/run/xenstored.pid: No such file or directory 2013-03-14T16:34:27.705269+01:00 xen xendomains[737]: cannot init xl context 2013-03-14T16:34:27.708517+01:00 xen xendomains[737]: ..failed 2013-03-14T16:34:27.718325+01:00 xen xenstored: Checking store ... 2013-03-14T16:34:27.815521+01:00 xen xenstored: Checking store complete. 2013-03-14T16:34:27.822758+01:00 xen xencommons[736]: Starting C xenstored... 2013-03-14T16:34:27.824299+01:00 xen xencommons[736]: Setting domain 0 name... 2013-03-14T16:34:27.841961+01:00 xen kernel: [ 14.019412] Unable to read sysrq code in control/sysrq 2013-03-14T16:34:27.843873+01:00 xen xencommons[736]: Starting xenconsoled... 2013-03-14T16:34:27.867333+01:00 xen xencommons[736]: Starting QEMU as disk backend for dom0 2013-03-14T16:34:29.706697+01:00 xen network[697]: Setting up network interfaces: 2013-03-14T16:34:30.251881+01:00 xen network[697]: lo 2013-03-14T16:34:30.257606+01:00 xen ifup[1338]: lo 2013-03-14T16:34:30.392449+01:00 xen ifup[1338]: lo 2013-03-14T16:34:30.405255+01:00 xen ifup[1338]: IP address: 127.0.0.1/8 2013-03-14T16:34:30.407941+01:00 xen network[697]: lo IP address: 127.0.0.1/8 2013-03-14T16:34:30.415491+01:00 xen ifup[1338]: 2013-03-14T16:34:30.583589+01:00 xen systemd[1]: Started LSB: Start/stop xenstored and xenconsoled. --snip-- -- Gruß Dieter -- I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the From field. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
On Fri, Mar 15, Dieter Bloms wrote:
Hi,
I've installed opensuse 12.3 as dom0 and after a reboot my first three domUs don't start.
In the logfile /var/log/messages I see the following messages, which let me assume, that xendomains is started (16:34:27) even xenstore has finished starting (16:34:30).
So what can I do to let xendomains start after xenstore has finished starting ?
There are two bugs: One is that systemd appearently does not handle the dependency of "xenstored xenconsoled" in /etc/init.d/xendomains, which is provided in /etc/init.d/xencommons. The second one, likely unrelated to this, is that /etc/init.d/xend also lacks the RequiredStart: xenstored xenconsoled, and xendomains should probably also depend on xend. If you do these modifications, does xendomains start after xend? Olaf -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
Hi Olaf, On Fri, Mar 15, Olaf Hering wrote:
On Fri, Mar 15, Dieter Bloms wrote:
Hi,
I've installed opensuse 12.3 as dom0 and after a reboot my first three domUs don't start.
In the logfile /var/log/messages I see the following messages, which let me assume, that xendomains is started (16:34:27) even xenstore has finished starting (16:34:30).
So what can I do to let xendomains start after xenstore has finished starting ?
There are two bugs: One is that systemd appearently does not handle the dependency of "xenstored xenconsoled" in /etc/init.d/xendomains, which is provided in /etc/init.d/xencommons. The second one, likely unrelated to this, is that /etc/init.d/xend also lacks the RequiredStart: xenstored xenconsoled, and xendomains should probably also depend on xend.
If you do these modifications, does xendomains start after xend?
I don't use xend, Since 4.2 it is recommend to use the xl command instead of xm. -- Gruß Dieter -- I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the From field. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
On Fri, Mar 15, Dieter Bloms wrote:
Hi Olaf,
On Fri, Mar 15, Olaf Hering wrote:
There are two bugs: One is that systemd appearently does not handle the dependency of "xenstored xenconsoled" in /etc/init.d/xendomains, which is provided in /etc/init.d/xencommons. The second one, likely unrelated to this, is that /etc/init.d/xend also lacks the RequiredStart: xenstored xenconsoled, and xendomains should probably also depend on xend.
If you do these modifications, does xendomains start after xend?
I don't use xend, Since 4.2 it is recommend to use the xl command instead of xm.
We recommend still xend, but in any case please open a bug for systemd as it appearently fails to handle the dependencies for LSB scripts. Olaf -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
Hi, On Fri, Mar 15, Olaf Hering wrote:
We recommend still xend, but in any case please open a bug for systemd as it appearently fails to handle the dependencies for LSB scripts.
done: https://bugzilla.novell.com/show_bug.cgi?id=809646 -- Gruß Dieter -- I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the From field. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
Olaf Hering wrote:
On Fri, Mar 15, Dieter Bloms wrote:
Hi,
I've installed opensuse 12.3 as dom0 and after a reboot my first three domUs don't start.
In the logfile /var/log/messages I see the following messages, which let me assume, that xendomains is started (16:34:27) even xenstore has finished starting (16:34:30).
So what can I do to let xendomains start after xenstore has finished starting ?
There are two bugs: One is that systemd appearently does not handle the dependency of "xenstored xenconsoled" in /etc/init.d/xendomains, which is provided in /etc/init.d/xencommons.
As a side note, IMO the xendomains script should also depend on $network, since the domains it starts probably need networking. Jim
The second one, likely unrelated to this, is that /etc/init.d/xend also lacks the RequiredStart: xenstored xenconsoled, and xendomains should probably also depend on xend.
If you do these modifications, does xendomains start after xend?
Olaf
-- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
participants (3)
-
Dieter Bloms
-
Jim Fehlig
-
Olaf Hering