yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10747
[Bug 1253626] Re: Cannot launch whole disk image with xen+libvirt
** Changed in: nova
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1253626
Title:
Cannot launch whole disk image with xen+libvirt
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Hi.
I am unable to launch an instance with a whole-disk image (that is, a
file containing a full disk with partitions).
The generated XML file for libvirt contains the following:
<os>
<type>xen</type>
<root>/dev/xvda</root>
<boot dev="hd"/>
</os>
So when the machine starts it fails since the above is passed as a
cmdline "root=/dev/xvda" being passed to the kernel that pygrub is
launching, resulting in the following error during boot:
mount: mounting /dev/xvda on /root failed: Invalid argument
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
Removing that line from the libivrt XML solves this issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1253626/+subscriptions