Thanks for submitting this bug. I'm marking it high priority as it fits 'severe impact on a small number of users'.
The problem appears to be that the logical volume is slow in coming up, such that libvirt starts before the udev creates its device node. Working around this in your particular case should be pretty easy, but a general fix will be harder.
To work around it in your case, please try adding the following to your /etc/init/libvirt-bin.conf file, at the end of the 'pre-start script' section:
while [ ! -e /dev/vg_default/lv_robot-pv0 ]; do
sleep 1s
done
So, for instance, the pre-start script section would probably become:
pre-start script
[ -r /etc/default/libvirt-bin ] && . /etc/default/libvirt-bin
[ ! "x$start_libvirtd" = "xyes" ] && { stop; exit 0; }
mkdir -p /var/run/libvirt
# Clean up a pidfile that might be left around
rm -f /var/run/libvirtd.pid
date >> /var/log/libvirt-upstart
echo $$ >> /var/log/libvirt-upstart
cat /proc/self/cmdline >> /var/log/libvirt-upstart
cat /proc/self/cgroup >> /var/log/libvirt-upstart
while [ ! -e /dev/vg_default/lv_robot-pv0 ]; do
sleep 1s
done
end script
Please let us know if that does not work around your problem for now.
Thanks for submitting this bug. I'm marking it high priority as it fits 'severe impact on a small number of users'.
The problem appears to be that the logical volume is slow in coming up, such that libvirt starts before the udev creates its device node. Working around this in your particular case should be pretty easy, but a general fix will be harder.
To work around it in your case, please try adding the following to your /etc/init/ libvirt- bin.conf file, at the end of the 'pre-start script' section:
while [ ! -e /dev/vg_ default/ lv_robot- pv0 ]; do
sleep 1s
done
So, for instance, the pre-start script section would probably become:
pre-start script libvirt- bin ] && . /etc/default/ libvirt- bin libvirtd. pid libvirt- upstart libvirt- upstart libvirt- upstart libvirt- upstart default/ lv_robot- pv0 ]; do
[ -r /etc/default/
[ ! "x$start_libvirtd" = "xyes" ] && { stop; exit 0; }
mkdir -p /var/run/libvirt
# Clean up a pidfile that might be left around
rm -f /var/run/
date >> /var/log/
echo $$ >> /var/log/
cat /proc/self/cmdline >> /var/log/
cat /proc/self/cgroup >> /var/log/
while [ ! -e /dev/vg_
sleep 1s
done
end script
Please let us know if that does not work around your problem for now.