Bug 1220318 - Converted images are ignored
Summary: Converted images are ignored
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-glance
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 7.0 (Kilo)
Assignee: Flavio Percoco
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-11 10:07 UTC by Flavio Percoco
Modified: 2016-04-26 14:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-11 10:09:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1452750 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.