[openstack-dev] [diskimage-builder] can't boot ubuntu image
Hopper, Justin
justin.hopper at hp.com
Thu May 2 01:00:03 UTC 2013
We are seeing the same issue here in Reddwarf with precise (using elements
vm and ubuntu) with the latest trunk of disk image-builder.
Boot using qemu-system-x86_64. This used to work as of a few days ago and
we rolled back disk image-builder to a prior patch and it works again.
Followed by
Error: no such device: cloudimg-rootfs.
Error: no such disk.
Error: you need to load the kernel first.
Press any key to continue
Failed to boot both default and fallback entries
From: Dmitry Mescheryakov <dmescheryakov at mirantis.com>
Reply-To: OpenStack Development Mailing List
<openstack-dev at lists.openstack.org>
Date: Wednesday, May 1, 2013 5:27 PM
To: OpenStack Development Mailing List <openstack-dev at lists.openstack.org>
Subject: Re: [openstack-dev] [diskimage-builder] can't boot ubuntu image
Robert,
Both systems are x86_64.
No, grub menu does not show up. In fact there are just a couple more text
lines before "Booting from Hard Disk..." and the whole process hangs after
that.
I've run build again with ' 2>&1 | tee disk-image-create.output' and
attached the output file.
Thanks,
Dmitry
2013/4/30 Robert Collins <robertc at robertcollins.net>
> On 1 May 2013 12:32, Dmitry Mescheryakov <dmescheryakov at mirantis.com> wrote:
>> > Hello folks,
>> >
>> > I've tried to build a plain Ubuntu image with diskimage-buider. The image
>> > was built successfully, but I can't boot an instance with it. Command to
>> > build image:
>> > bin/disk-image-create vm ubuntu -o ubuntu-test
>> >
>> > When I create an OpenStack instance, I can see via VNC that it hangs on
>> boot
>> > with message "Booting from Hard Disk..."
>> > Meanwhile .qcow2 images from http://cloud-images.ubuntu.com work fine on >>
the
>> > cluster.
>> >
>> > I've tried booting the same image on my machine with KVM. The VNC showed >>
the
>> > same output and the following message was printed in the console:
>> > qemu-system-x86_64: pci_add_option_rom: failed to find romfile
>> > "pxe-rtl8139.bin"
>> >
>> > Also I've tried changing 'ubuntu' element to use stable 12.04.2 release
>> > instead of latest Quantal, but that didn't change anything.
>> >
>> > Any suggestions on what might be wrong?
>
> That will have built an Ubuntu image with the same arch as your host
> system. Is your VM host - the nova compute node / KVM the same arch?
> E.g. if you built an amd64 image, you need to boot it on an amd64 virt
> host.
>
> Failing that, if the last output is 'Booting from hard disk', that
> suggests that the boot block in the vm may be at fault : does grub
> show up? Could you attach the build log from the image creation?
> (stdout, stderr).
>
> -Rob
>
> --
> Robert Collins <rbtcollins at hp.com>
> Distinguished Technologist
> HP Cloud Services
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130502/456fa987/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2013-05-01 at 5.54.48 PM.png
Type: image/png
Size: 12139 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130502/456fa987/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2013-05-01 at 5.55.48 PM.png
Type: image/png
Size: 8580 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130502/456fa987/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5441 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130502/456fa987/attachment.bin>
More information about the OpenStack-dev
mailing list