client sends incorrectly formatted request body for image-import call

Bug #1711259 reported by Brian Rosmaita
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Critical
Brian Rosmaita

Bug Description

What's being sent is:
    {'import_method': 'glance-direct'}
what should be sent is:
    {'method': { 'name': 'glance-direct'}}

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

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

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

Reviewed: https://review.openstack.org/494352
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=e5b69eff693e7e012f867d83a54d737fedf74cb0
Submitter: Jenkins
Branch: master

commit e5b69eff693e7e012f867d83a54d737fedf74cb0
Author: Brian Rosmaita <email address hidden>
Date: Wed Aug 16 21:46:21 2017 -0400

    Fix image-import call

    Change the request body sent from the client to be the format
    that the API expects for the image-import call.

    Depends-On: I08783e28719e63b5a4b2115b8fce135e55be460a
    Change-Id: I5e34d772d561306c6f103c859740658a825dd189
    Closes-bug: #1711259

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/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/497164

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

Reviewed: https://review.openstack.org/497164
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=66d486738a4f198fca4934d6cb7db5caec0e8fd7
Submitter: Jenkins
Branch: stable/pike

commit 66d486738a4f198fca4934d6cb7db5caec0e8fd7
Author: Brian Rosmaita <email address hidden>
Date: Wed Aug 16 21:46:21 2017 -0400

    Fix image-import call

    Change the request body sent from the client to be the format
    that the API expects for the image-import call.

    Depends-On: I08783e28719e63b5a4b2115b8fce135e55be460a
    Change-Id: I5e34d772d561306c6f103c859740658a825dd189
    Closes-bug: #1711259
    (cherry picked from commit e5b69eff693e7e012f867d83a54d737fedf74cb0)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-glanceclient 2.9.0

This issue was fixed in the openstack/python-glanceclient 2.9.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-glanceclient 2.8.1

This issue was fixed in the openstack/python-glanceclient 2.8.1 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.