[Bug 495394] Re: autostart almost always fails on boot time host

Stuart Young cef at optus.net
Wed Feb 17 03:29:25 GMT 2010


I too have come across this issue.

In my case, it appears to be related to br0 (my bridge) not becoming
live in time.

As a temp solution, I found that simply adding a 'sleep 4' in the init
script (just before it runs libvirtd) alleviates the issue. This gives
the bridge enough time to become active. This is a total hack until some
way to having it wait till the bridge is up appears and gets
implemented.

Attached are two snippets of /var/log/messages:

1. msgs1 - Standard behaviour. First VM tries to spawn, hanging for 30
secs and then gets destroyed. Subsequent VM's start successfully as the
bridge is now active.

2. msgs2 - Behaviour if I add 'sleep 4' just before running libvirtd in
/etc/init.d/libvirt-bin


** Attachment added: "msgs1"
   http://launchpadlibrarian.net/39289021/msgs1

-- 
autostart almost always fails on boot time host
https://bugs.launchpad.net/bugs/495394
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list