Add support for discovering the available glance versions

Bug #1511180 reported by Flavio Percoco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Wishlist
wangxiyuan

Bug Description

Glanceclient can't query the `/versions` endpoint right now and it makes it impossible for the client to discover the available versions on the server.

Example use case: https://review.openstack.org/#/c/222150/

wangxiyuan (wangxiyuan)
Changed in python-glanceclient:
assignee: nobody → wangxiyuan (wangxiyuan)
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/240183

Changed in python-glanceclient:
status: New → In Progress
Revision history for this message
wangxiyuan (wangxiyuan) wrote :

v2 use schema to wrap the return value. But there is no schema about version. So Glance should also add it if needed.

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

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

commit 1f1934eb8277c7432e56da024bd8ce2171f3e8e6
Author: wangxiyuan <email address hidden>
Date: Thu Oct 29 17:50:36 2015 +0800

    Add versions list function

    This patch add a function to query the Glance API versions.

    DocImpact

    Change-Id: I21eeaee3db4ae23f608b68bb319772ac612975b4
    Closes-bug: #1511180

Changed in python-glanceclient:
status: In Progress → Fix Committed
Changed in python-glanceclient:
milestone: none → 1.2.0
status: Fix Committed → Fix Released
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.