Can't create the instance with my own image(VMDK)

Asked by Wang Yijun

Environment:
Mirantis Openstack 5.1
vSphere 5.5 as compute node
Deploy with HA mode

I can create the instance with the default image(TestVM),and the VM is ok.
After I upload my own image(vmdk),the instance can be created,but the VM can't find the operating system.
Check the VMDK file in vSphere,the data size just 8KB.

PS:the VMDK file can be used in vSphere normally

Question information

Language:
English Edit question
Status:
Solved
For:
Fuel for OpenStack Edit question
Assignee:
No assignee Edit question
Solved by:
Fabrizio Soppelsa
Solved:
Last query:
Last reply:
Revision history for this message
Best Fabrizio Soppelsa (fsoppelsa) said :
#1

Greetings, Wang Yijun,

if you want to use vmdk image format instead of converting it to qcow2 or raw, please make sure that you're using vda disks instead than sda in the image itself. That may be causing your OS not found error.

You can find more information here, still valid for IceHouse http://docs.openstack.org/havana/config-reference/content/vmware.html

Best,
Fabrizio.

Revision history for this message
Wang Yijun (wangyj) said :
#2

Thanks Fabrizio Soppelsa, that solved my question.