Use keystone.session.Session for clients

Registered by Endre Karlson

This will change all the client code to use session.Session from keystoneclient instead of passing in tokens etc. The Session object then handles re-auth etc.

For more info on Sessions see here:

http://docs.openstack.org/developer/python-keystoneclient/using-sessions.html

It should be noted that the glance client does not support sessions until 1.0 and we are not able to change the requirements to the 1.0 version of glanceclient just yet. This will be planned for Mitaka.

Blueprint information

Status:
Complete
Approver:
Travis Tripp
Priority:
Essential
Drafter:
Endre Karlson
Direction:
Approved
Assignee:
Endre Karlson
Definition:
Approved
Series goal:
Proposed for liberty
Implementation:
Implemented
Milestone target:
milestone icon 0.1.0
Started by
Travis Tripp
Completed by
Travis Tripp

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:clients-refactor,n,z

Addressed by: https://review.openstack.org/219271
    Refactor clients handling to use Sessions.

When we move to glance client v1, will need to add support glance v1.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.