Bug 1654413

Summary: Glance image conversion is not enabled by default
Product: Red Hat OpenStack Reporter: Gregory Charot <gcharot>
Component: openstack-tripleo-heat-templatesAssignee: Pranali Deore <pdeore>
Status: CLOSED ERRATA QA Contact: Mike Abrams <mabrams>
Severity: medium Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: abishop, cschwede, cyril, gfidente, kejones, mabrams, mburns, pdeore, pgrist, tvignaud
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-9.2.1-0.20190119154863.el7ost puppet-glance-13.3.2-0.20190111170809.2312a82.el7ost Doc Type: Release Note
Doc Text:
Glance image conversion is not enabled by default on a new install of Red Hat OpenStack Platform 14. To use this feature, edit the glance-image-import.conf file. In the image_import_opts section, insert the following line: image_import_plugins = ['image_conversion']
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-30 17:51:14 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:
Bug Depends On: 1654405    
Bug Blocks: 1654408    

Description Gregory Charot 2018-11-28 17:57:17 UTC
Description of problem:

Glance image conversion is not configured by tripleO. glance-image-import.conf must be configured

Version-Release number of selected component (if applicable):

14

How reproducible:

Always

Steps to Reproduce:
1. in glance_api container 
grep image_import_plugins /etc/glance/glance-image-import.conf
#image_import_plugins = [no_op]

2. glance image-create-via-import --disk-format qcow2 --container-format bare --name cirros --import-method web-download --uri http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img
3. Image is still in qcow2

Actual results:

Image is not converted

Expected results:

Image is converted

Additional info:

Need to have 
image_import_plugins = ['image_conversion']

in glance-image-import.conf

Comment 1 Paul Grist 2018-11-30 16:35:34 UTC
We are going to target the first erratta release for 14 to fix this and plan to release not for 14 GA.

Comment 17 Gregory Charot 2019-04-05 12:55:22 UTC
*** Bug 1673952 has been marked as a duplicate of this bug. ***

Comment 19 errata-xmlrpc 2019-04-30 17:51:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:0878