There is no obvious way to use SwiftService with pre-authed token
Bug #1461194 reported by
Clint Byrum
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
New
|
Undecided
|
Unassigned |
Bug Description
In shade, we authenticate once, and then use the same token for multiple services. This is quite useful for something like the rackspace-style image upload, where we need to talk to glance and swift in rapid succession.
But since we need to do segmented uploads for larger images, we need SwiftService. However, it only allows passing in a rigid set of arguments for client.Connection, which dont' include preauthurl and preauthtoken.
Changed in python-swiftclient: | |
assignee: | nobody → Clint Byrum (clint-fewbar) |
status: | New → In Progress |
To post a comment you must log in.
IIRC Connection will respect a token passed via the auth_token key in os_options if preauthtoken is not set. Similarly for os_options[ 'object_ storage_ url'].