yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39675
[Bug 1470052] Re: instance failed to boot which image disk adapter type is scsi
When you use qemu-img, the resulting VMDK has sparse format. You should
use vmware_disktype="sparse", not vmware_disktype="preallocated"
** Changed in: nova
Status: New => Invalid
--
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/1470052
Title:
instance failed to boot which image disk adapter type is scsi
Status in OpenStack Compute (nova):
Invalid
Bug description:
I followed by OpenStack Configuration reference[1], download the cloud image[2]
and convert to vmdk:
$ qemu-img convert -f qcow2 trusty-server-cloudimg-amd64-disk1.img -O
vmdk ubuntu.vmdk
and then use glance image-create command to upload image:
$ glance image-create --name "ubuntu-thick-scsi" --is-public True --disk-format vmdk --container-format bare --property vmware_adaptertype="lsiLogic" \
--property vmware_disktype="preallocated" --property vmware_ostype="ubuntu64Guest" < ubuntu.vmdk
+-------------------------------+--------------------------------------+
| Property | Value |
+-------------------------------+--------------------------------------+
| Property 'vmware_adaptertype' | lsiLogic |
| Property 'vmware_disktype' | preallocated |
| Property 'vmware_ostype' | ubuntu64Guest |
| checksum | 676e7fc58d2314db6a264c11804b2d4c |
| container_format | bare |
| created_at | 2015-06-26T23:55:36 |
| deleted | False |
| deleted_at | None |
| disk_format | vmdk |
| id | e79d4815-932b-4be6-b90c-0515f826c615 |
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | ubuntu-thick-scsi |
| owner | 93a022fd03d94b649d0127498e6149cf |
| protected | False |
| size | 852230144 |
| status | active |
| updated_at | 2015-06-26T23:56:39 |
| virtual_size | None |
+-------------------------------+--------------------------------------+
I created an instance in dashboard successful, But it failed to enter guest system.
I doubt the instance does not have a controller to support scsi disk, when using ide , instance runs well.
[1]http://docs.openstack.org/kilo/config-reference/content/vmware.html
[2]http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1470052/+subscriptions
References