Enable image import conversion & image output format via TripleO

Bug #1807366 reported by Pranali Deore
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
assignee: nobody → Pranali Deore (pranali-deore)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/624931

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/rocky)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.2.0

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.3.0

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-glance 14.2.0

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-glance 14.3.0

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

tags: added: queens-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/698558

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (stable/queens)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: stable/queens
Review: https://review.opendev.org/698558
Reason: Clearing the gate now, see https://bugs.launchpad.net/tripleo/+bug/1856864
Do not restore the patch yet, I'll take care of it when the gate is back online.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/queens)

Reviewed: https://review.opendev.org/698558
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=4ed38524500a9ac4227477c65e8577f3a09f24c1
Submitter: Zuul
Branch: stable/queens

commit 4ed38524500a9ac4227477c65e8577f3a09f24c1
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-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates queens-eol

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-glance queens-eol

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-glance rocky-eol

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

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.