glance image-list fails with 'Expected endpoint'

Bug #1504058 reported by Flavio Percoco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Medium
Flavio Percoco
Liberty
Fix Committed
Medium
Flavio Percoco

Bug Description

glance image-list is failing w/ 'Expected Endpoint' because the right CLI args are not being passed to the function that creates the client instance.

Changed in python-glanceclient:
importance: Undecided → Medium
Itzik Brown (itzikb1)
Changed in python-glanceclient:
status: New → Confirmed
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/232461

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

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/232462

Revision history for this message
Alan Pevec (apevec) wrote :

Workaround is to specify explicit --os-image-api-version on the command line.

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

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

commit 36937bbf6300a468f0eb1da5461c2edeb8d47a44
Author: Flavio Percoco <email address hidden>
Date: Thu Oct 8 19:47:37 2015 +0900

    Use the subcomand parsed args instead of the base

    Pass the subcomand's arguments instead of the base ones to the endpoint
    creation call when quering the `/versions` endpoint. Passing the wrong
    arguments will end in the auth_requirement not being identified and an
    error 'Expected Endpoint' will be raised as no endpoint will be gotten
    from keystone.

    This patch also removes an unnecessary mock in the test code related to
    this fix.

    Depends-On Iefeb9bc123f8c65fecd0cba585ecd3eb349b23a6
    Change-Id: I46088130b9175798e3719e43f48dc474fbc8a251
    Closes-bug: #1504058

Changed in python-glanceclient:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-glanceclient (stable/liberty)

Change abandoned by Flavio Percoco (<email address hidden>) on branch: stable/liberty
Review: https://review.openstack.org/232462
Reason: re-submitting from master

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

Reviewed: https://review.openstack.org/232462
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=57709f7538391c91c072e3eadbc4c6861ee79a30
Submitter: Jenkins
Branch: stable/liberty

commit 57709f7538391c91c072e3eadbc4c6861ee79a30
Author: Flavio Percoco <email address hidden>
Date: Thu Oct 8 19:47:37 2015 +0900

    Use the subcomand parsed args instead of the base

    Pass the subcomand's arguments instead of the base ones to the endpoint
    creation call when quering the `/versions` endpoint. Passing the wrong
    arguments will end in the auth_requirement not being identified and an
    error 'Expected Endpoint' will be raised as no endpoint will be gotten
    from keystone.

    This patch also removes an unnecessary mock in the test code related to
    this fix.

    Closes-bug: #1504058
    Change-Id: I46088130b9175798e3719e43f48dc474fbc8a251
    (cherry picked from commit 36937bbf6300a468f0eb1da5461c2edeb8d47a44)

Changed in python-glanceclient:
milestone: none → 1.2.0
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-glanceclient 1.1.1

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