'stores' property added when using image-create-via-import --stores <list>

Bug #1889666 reported by Erno Kuvaja
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Critical
Erno Kuvaja
Ussuri
Fix Committed
Critical
Erno Kuvaja
Victoria
Fix Released
Critical
Erno Kuvaja

Bug Description

When using image-create-via-import --stores we account that twice. First in the create call we add it as property and then in import call we use it correctly. Resulting image having stores with the list in values even if the import failed.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-glanceclient (master)

Fix proposed to branch: master
Review: https://review.opendev.org/744024

Changed in python-glanceclient:
status: Triaged → In Progress
Dan Smith (danms)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.opendev.org/744024
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=77eab17cf9f3cf3f2578f73163cb816e425effa2
Submitter: Zuul
Branch: master

commit 77eab17cf9f3cf3f2578f73163cb816e425effa2
Author: Erno Kuvaja <email address hidden>
Date: Thu Jul 30 18:39:31 2020 +0100

    Fixes "stores" property added to the image

    "stores" property gets added to the image when
    `glance image-create-via-import` is called with --stores

    Change-Id: I514e6e3ac2f3a1f56fb7883ed403a04b1e7f13b0
    Closes-Bug: #1889666

Changed in python-glanceclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-glanceclient (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/744917

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (stable/ussuri)

Reviewed: https://review.opendev.org/744917
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=4c63903403d7ef7801c8e274b67f9647ff329991
Submitter: Zuul
Branch: stable/ussuri

commit 4c63903403d7ef7801c8e274b67f9647ff329991
Author: Erno Kuvaja <email address hidden>
Date: Thu Jul 30 18:39:31 2020 +0100

    Fixes "stores" property added to the image

    "stores" property gets added to the image when
    `glance image-create-via-import` is called with --stores

    Change-Id: I514e6e3ac2f3a1f56fb7883ed403a04b1e7f13b0
    Closes-Bug: #1889666
    (cherry picked from commit 77eab17cf9f3cf3f2578f73163cb816e425effa2)

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.