Enable image import conversion & image output format via TripleO

Bug #1807366 reported by Pranali Deore on 2018-12-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Undecided
Pranali Deore

Bug Description

Description of problem:

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

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

Fix proposed to branch: master
Review: https://review.openstack.org/623450

Changed in tripleo:
assignee: nobody → Pranali Deore (pranali-deore)
status: New → In Progress

Reviewed: https://review.openstack.org/623450
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=9333740b69f47f4bb1d5117398ddca715e1017ca
Submitter: Zuul
Branch: master

commit 9333740b69f47f4bb1d5117398ddca715e1017ca
Author: Pranali Deore <email address hidden>
Date: Fri Dec 7 16:30:58 2018 +0530

    Enable image import plugins & image output format

    Adding GlanceImageImportPlugins & GlanceImageConversionOutputFormat
    to enable glance image conversion.

    Since, glance-image-import.conf has been newly added while adding
    plugin framework in glance, passing the conf file to puppet_tags
    in docker service.

    Depends-on: I098aa0cabf2518b8861d5b58b885d9bdef54a7f6
    Change-Id: I81b788e38eecb3e0be88b140df3ae1ebb70cb191
    Closes-Bug: #1807366

Changed in tripleo:
status: In Progress → Fix Released

Reviewed: https://review.openstack.org/624931
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=533892f79ddbd74ca835c8cdc75a832db540d34e
Submitter: Zuul
Branch: stable/rocky

commit 533892f79ddbd74ca835c8cdc75a832db540d34e
Author: Pranali Deore <email address hidden>
Date: Fri Dec 7 16:30:58 2018 +0530

    Enable image import plugins & image output format

    Adding GlanceImageImportPlugins & GlanceImageConversionOutputFormat
    to enable glance image conversion.

    Since, glance-image-import.conf has been newly added while adding
    plugin framework in glance, passing the conf file to puppet_tags
    in docker service.

    Depends-on: I098aa0cabf2518b8861d5b58b885d9bdef54a7f6
    Change-Id: I81b788e38eecb3e0be88b140df3ae1ebb70cb191
    Closes-Bug: #1807366
    (cherry picked from commit 9333740b69f47f4bb1d5117398ddca715e1017ca)

tags: added: in-stable-rocky

This issue was fixed in the openstack/tripleo-heat-templates 9.2.0 release.

This issue was fixed in the openstack/tripleo-heat-templates 10.3.0 release.

This issue was fixed in the openstack/puppet-glance 14.2.0 release.

This issue was fixed in the openstack/puppet-glance 14.3.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers