Unable to boot VM using image exported from Virtual Center
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Steps to reproduce:
1. From Virtual Center, export a working VM as an OVA file (test.ova)
2. Upload OVA file to glance using:
glance image-create --name=testova --disk-format=vmdk --container-
actual result:
The boot appears to succeed and the VM appears running, but the console shows "Operating system not found".
Also:
- I have tried with --property vmware_
- Trying with --container-
400 Bad Request
Invalid container format 'ova' for image.
(HTTP 400)
Expected:
Able to boot into OS and see the login screen
Changed in nova: | |
milestone: | icehouse-3 → icehouse-rc1 |
Changed in nova: | |
importance: | High → Medium |
tags: | added: icehouse-rc-potential |
Changed in nova: | |
milestone: | icehouse-rc1 → none |
tags: | removed: icehouse-rc-potential |
That the boot actually appears to 'succeed' was a source of confusion on more than one occasion.
There are actually two issues:
1. The ova file uploaded to glance it actually a tar bundle containing within it the actual disk image that we need to boot the instance with. So the OVA image downloaded from glance will require further processing to extract the needed file. /github. com/openstack/ oslo.vmware) library, it is now possible to use said format.
2. The extracted VMDK is in the streamOptimized format, which until recently, cannot be properly handled by the VMware drivers.
With the introduction of the oslo.vmware (https:/
I will provide a fix to do the necessary processing in 1. as well as leverage the functionality provided by oslo.vmware