[Openstack] big problem with boot from iso

William Herry william.herry.china at gmail.com
Tue Jun 26 07:14:24 UTC 2012


Thanks for you reply

I guess that's not the reason, I noticed that instances's xml file, and I
find:
    <disk type="file" device="cdrom">
      <driver type="qcow2" cache="none"/>
      <source file="/var/lib/nova/instances/instance-00000011/disk"/>
      <target bus="ide" dev="vda"/>
    </disk>
    <disk type="file" device="cdrom">
      <driver type="qcow2" cache="none"/>
      <source file="/var/lib/nova/instances/instance-00000011/disk.local"/>
      <target bus="virtio" dev="vdb"/>
    </disk>
    <disk type="file" device="disk">
      <driver type="qcow2" cache="none"/>
      <source file="/var/lib/nova/instances/instance-00000011/disk.swap"/>
      <target bus="virtio" dev="vdc"/>
    </disk>

it set vda and vdb to cdrom, only swap is set to disk, I don't know why
this happen

Thanks


On Tue, Jun 26, 2012 at 3:05 PM, Christian Parpart <trapni at gmail.com> wrote:

> On Tue, Jun 26, 2012 at 2:30 AM, William Herry <
> william.herry.china at gmail.com> wrote:
>
>> Hi
>> I use boot from iso to install a centos instance, it can't recognize the
>> disk, I create a flavor with 300G ephemeral and 300G disk, it says no valid
>> disk found, but when I create a flavor with 300000 swap, it found the disk
>> vdb, and can install the system, but of course can boot
>
> Hey,
>
> maybe your VM disk space is exported as VIRTIO block-device (/dev/vda,
> ...) and your ISO image doesn't support these block devices? Try loading
> its underlying kernel module :)
>
> Cheers,
> Christian.
>
>


-- 



William Herry
====================
WilliamHerryChina at Gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120626/3599afc4/attachment.html>


More information about the Openstack mailing list