[Bug 850309] Re: libvirt fails to autostart VM attached to a bridged port
Serge Hallyn
850309 at bugs.launchpad.net
Fri Sep 16 16:28:13 UTC 2011
What we need is to have the static-network-up (plus subsequent fixes)
SRUd to lucid..natty, and to have libvirt-bin wait on static-network-up
rather than on 'stopped networking'.
@Robert,
as a workaround, I would suggest you change your /etc/init/libvirt-
bin.conf to add a 'sleep 5'.
So in place of
# If you used to set $libvirtd_opts in /etc/default/libvirt-bin,
# change the 'exec' line here instead.
exec /usr/sbin/libvirtd $libvirtd_opts
You would now have
# If you used to set $libvirtd_opts in /etc/default/libvirt-bin,
# change the 'exec' line here instead.
script
sleep 5
exec /usr/sbin/libvirtd $libvirtd_opts
end script
** Also affects: ifupdown (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/850309
Title:
libvirt fails to autostart VM attached to a bridged port
Status in “ifupdown” package in Ubuntu:
New
Status in “libvirt” package in Ubuntu:
Fix Released
Status in “ifupdown” source package in Lucid:
New
Status in “libvirt” source package in Lucid:
Confirmed
Status in “ifupdown” source package in Maverick:
New
Status in “libvirt” source package in Maverick:
Confirmed
Status in “ifupdown” source package in Natty:
New
Status in “libvirt” source package in Natty:
Confirmed
Bug description:
I have assigned my eth0 as the sole bridge port on bridge device br0.
I have my VMs set to connect to br0. When I manually start them,
everything works well. I have set one VM to autostart on bootup, but
it fails.
I found bug #495394, particularly comment 49 to be what I see
happening. In that bug, the person who wrote comment 49 was told to
file a new bug report, but it seems he did not do that. I am now
filing the report.
Attached is a syslog snippet that shows autostart failing.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libvirt-bin 0.8.8-1ubuntu6.5
ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
Architecture: amd64
Date: Wed Sep 14 15:24:19 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/850309/+subscriptions
More information about the foundations-bugs
mailing list