OS_IDENTITY_API_VERSION should be supported

Bug #1541273 reported by Alistair Coles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-swiftclient
Fix Released
Undecided
Alistair Coles

Bug Description

keystoneclient and openstack client use OS_IDENTITY_API_VERSION or --os-identity-api-verion to specify the keystone api version (e.g. 2.0 or 3), but python-swiftclient requires AUTH_VERSION or --os-auth-version.

We should add option of using OS_IDENTITY_API_VERSION or --os-identity-api-verion for compatibility and to avoid user confusion.

[1] http://docs.openstack.org/developer/python-openstackclient/authentication.html#authenticating-using-identity-server-api-v3

Changed in python-swiftclient:
assignee: nobody → Alistair Coles (alistair-coles)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-swiftclient (master)

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

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

Reviewed: https://review.openstack.org/275719
Committed: https://git.openstack.org/cgit/openstack/python-swiftclient/commit/?id=d6ef83021e2d8ea4ff7efc5acf7e40f7227a8a26
Submitter: Jenkins
Branch: master

commit d6ef83021e2d8ea4ff7efc5acf7e40f7227a8a26
Author: Alistair Coles <email address hidden>
Date: Wed Feb 3 13:44:53 2016 +0000

    Support --os-identity-api-version option

    Add support for the auth-version to be specified using
    --os-identity-api-version or OS_IDENTITY_API_VERSION
    for compatibility with other openstack client command
    line options.

    The auth version used will be selected as follows:

    - if either --auth-version or --os-identity-api-version
      is set, use that value
    - otherwise use the value of ST_AUTH_VERSION, if set
    - otherwise use the value of OS_AUTH_VERSION, if set
    - otherwise (new behaviour) use the value of
      OS_IDENTITY_API_VERSION, if set
    - otherwise default to 1.0

    Note that before this change the auth version might have
    defaulted to 1.0 despite OS_IDENTITY_API_VERSION being set,
    but with this change OS_IDENTITY_API_VERSION is preferred.

    Change-Id: Ifba4c4e43560ede3013337b8cdbc77dc2de6e8ff
    Closes-Bug: #1541273

Changed in python-swiftclient:
status: In Progress → Fix Released
Revision history for this message
Akash Singh (akashseo966) wrote :
Revision history for this message
Akash Singh (akashseo966) wrote :

To get best Packing and Shifting service at affordable price. Visit:-
http://www.expert5th.in/packers-and-movers-chennai/
To get best Packing and Shifting service at affordable price. Visit:-
http://www.expert5th.in/packers-and-movers-faridabad/
To get best Packing and Shifting service at affordable price. Visit:-
http://www.expert5th.in/packers-and-movers-noida/
To get best Packing and Shifting service at affordable price. Visit:-
http://www.expert5th.in/packers-and-movers-ghaziabad/
To get best Packing and Shifting service at affordable price. Visit:-
http://www.expert5th.in/packers-and-movers-thane/
To get best Packing and Shifting service at affordable price. Visit:-
http://www.expert5th.in/packers-and-movers-navimumbai/

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-swiftclient 3.0.0

This issue was fixed in the openstack/python-swiftclient 3.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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