Broken OVA Import on VMwareVCDriver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
If a user places an OVA on Glance with its own storage independent of the VCenter, the import fails in nova with not finding the file in the vmware_temp directory.
I am using mitaka on a VCenter 6.0, but looking at the code, I would say it affects also liberty and later versions, when the Glance isn't storing the images directly in the VCenter (e.g Swift store)
I created an OVA image in Glance (Swift backed), and then started a VM with the image.
The import fails with a missing file.
Essentially, the code is broken here:
https:/
`image_prepare` creates some temporary directory, which is never used in `image_fetch` aka `_fetch_
However, the function `_fetch_
Attached is a patch, which makes the `_fetch_
tags: | added: vmware |
Changed in nova: | |
assignee: | nobody → Zhongcheng Lao (zlao) |
importance: | Undecided → Medium |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
status: | New → Confirmed |
Automatically discovered version mitaka in description. If this is incorrect, please update the description to include 'nova version: ...'