Use service tokens (partially complete)

Registered by Sarafraj Singh

Some operations in Nova could take a long time to complete. During this
time user token associated with this request could expire. When Nova tries
to communicate with other services using the same user token, Keystone fails
to validate the request due to expired token.
Service token will be passed along with user token to communicate with
services when dealing with long running tasks like live migration.
Keystone middlewere trusts that the service got the user token when
it was valid, don't check the expiry date of cert.

Blueprint information

Status:
Complete
Approver:
Matt Riedemann
Priority:
Medium
Drafter:
Sarafraj Singh
Direction:
Approved
Assignee:
Sarafraj Singh
Definition:
Approved
Series goal:
Accepted for ocata
Implementation:
Implemented
Milestone target:
milestone icon ocata-3
Started by
Sarafraj Singh
Completed by
Matt Riedemann

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/use-service-tokens,n,z

Addressed by: https://review.openstack.org/397399
    Add service_token for nova-cinder interaction

Addressed by: https://review.openstack.org/410394
    Add service_token for nova-neutron interaction

Addressed by: https://review.openstack.org/412634
    Adopts keystoneauth with glance client.

Addressed by: https://review.openstack.org/413232
    DNM: Test service token

Addressed by: https://review.openstack.org/419662
    Add service_token for nova-glance interaction

Addressed by: https://review.openstack.org/419666
    DNM: Test service token in Glance

The cinder and neutron client patches merged, but the glanceclient changes haven't yet and those are going to be deferred to Pike. Let's resume there with a use-service-tokens-pike blueprint. -- mriedem 20170201

Addressed by: https://review.openstack.org/470281
    Bump python-glanceclient minimum to 2.7.0

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.