Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1220318

Summary: Converted images are ignored
Product: Red Hat OpenStack Reporter: Flavio Percoco <fpercoco>
Component: openstack-glanceAssignee: Flavio Percoco <fpercoco>
Status: CLOSED NOTABUG QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0 (Juno)CC: eglynn, fpercoco, yeylon
Target Milestone: ---   
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-11 10:09:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Flavio Percoco 2015-05-11 10:07:15 UTC
Description of problem:

https://github.com/openstack/glance/commit/1b144f4c12fd6da58d7c48348bf7bab5873388e9#diff-f02c20aafcce326b4d31c938376f6c2aR78 -> head -> desk

The dest_path is not formated correctly, which ends up in converting the image to a path that is completely ignored by other tasks.
Version-Release number of selected component (if applicable):


How reproducible:

100%

Steps to Reproduce:
1. Run openstack-glance and enable image conversion by setting the required configs in glance-api.conf

2. Import an image (replace HTTP_IMAGE_URL)

glance --os-image-api-version 2  --os-image-url task-create --type import --input '{"import_from_format": "qcow2", "import_from": "$HTTP_IMAGE_URL, "image_properties": {"disk_format": "qcow2", "container_format": "bare"}}'

3. See that the converted image is not used and the reported information is wrong. (glance image-show)

Comment 3 Flavio Percoco 2015-05-11 10:09:18 UTC
NVM, this is a bug in Kilo, we don't have support for tasks conversion in juno