Support different authentication options for Swift

Registered by Sergei Glushchenko

Swift specification describe several authentication options. Only one is supported currently (TempAuth). Some service do not support TempAuth. See http://docs.openstack.org/developer/swift/overview_auth.html .

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Sergei Glushchenko
Direction:
Needs approval
Assignee:
Sergei Glushchenko
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 2.3.1-beta1
Started by
Sergei Glushchenko
Completed by
Sergei Glushchenko

Related branches

Sprints

Whiteboard

xbcloud can authenticate against keystone with API version 2 and 3. Following options added:

--swift-auth-version - can be 1.0, 2.0, 3, etc. Specifies auth version (1.0 for TempAuth, 2.0 for Keystove v2.0, 3 for Keystone v3). Default is 1.0

For v2 additional options are:
--swift-tenant
--swift-tenant-id
--swift-region
--swift-password

For v3 additional options are:
--swift-user-id
--swift-password
--swift-project
--swift-project-id
--swift-domain
--swift-domain-id

xbcloud will try to get object-store URL for given region (if any specified) from keystone response. One can override URL by passing --swift-storage-url=URL argument.

--swift-url renamed to --swift-auth-url

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.