Re: [Openstack] big problem with boot from iso

2012-06-26 Thread Christian Parpart
On Tue, Jun 26, 2012 at 2:30 AM, William Herry 
william.herry.ch...@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 30 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.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] big problem with boot from iso

2012-06-26 Thread William Herry
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-0011/disk/
  target bus=ide dev=vda/
/disk
disk type=file device=cdrom
  driver type=qcow2 cache=none/
  source file=/var/lib/nova/instances/instance-0011/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-0011/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 tra...@gmail.com wrote:

 On Tue, Jun 26, 2012 at 2:30 AM, William Herry 
 william.herry.ch...@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 30 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

williamherrych...@gmail.com
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] big problem with boot from iso

2012-06-25 Thread William Herry
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 30 swap, it found the disk
vdb, and can install the system, but of course can boot

can some one tell me what's going go,

-- 



William Herry

williamherrych...@gmail.com
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp