conform to common client configuration

Bug #925212 reported by Dean Troyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Undecided
Dean Troyer

Bug Description

swift client binary needs some work to fully conform to the common client configuration as described in http://wiki.openstack.org/CLIAuth:

* support OS_* env vars as synonyms to the ST_* equivalents
* do the same with the command line options --auth_url, --username, etc.
* make handling of the authentication url ST_AUTH more robust WRT trailing '/', i.e. it should handle the url correctly if the '/' is there or not

Tags: client
Dean Troyer (dtroyer)
tags: added: client
Dean Troyer (dtroyer)
Changed in swift:
assignee: nobody → Dean Troyer (dtroyer)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to swift (master)

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

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

Reviewed: https://review.openstack.org/3712
Committed: http://github.com/openstack/swift/commit/6800ec378b8d2f842fefd8775a98b92bf86d7733
Submitter: Jenkins
Branch: master

commit 6800ec378b8d2f842fefd8775a98b92bf86d7733
Author: Dean Troyer <email address hidden>
Date: Thu Feb 2 16:05:06 2012 -0600

    Blueprint cli-auth: common cli args

    Add --auth_url, --username and --password and OS_* env vars as
    aliases to --auth, --user and --key.

    Default to --auth-version=2.0 if none of --auth, --user or --key
    are set or if OS_AUTH_URL is set.

    Ensure trailing '/' is present in --auth so URLs are created correctly.

    Fixes lp925212

    Change-Id: Ic0008c5d5c1ab4fddbaab5d982ab60fed2c50019

Changed in swift:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in swift:
milestone: none → 1.4.7
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.