Add support for using service tokens
This patch configures nova-cloud-controller to send a service token along with the received user token on requests sent to other services. This allows those other services to accept the request even if the user token has been invalidated since received by the nova services running in nova-cloud-controller units, the same applies for incoming requests from other services. Service tokens exist since Openstack Queens. Change-Id: I95021600da8af12cb75ef5681fb5af8780ade4f8 Closes-Bug: #1992840 (cherry picked from commitfd810f9afd) (cherry picked from commit98b637d8e9)
This commit is contained in:
committed by
Corey Bryant
parent
b81ab8a900
commit
fdfb8331d2
@@ -150,6 +150,8 @@ api_servers = {{ glance_api_servers }}
|
||||
|
||||
{% include "section-keystone-authtoken-mitaka" %}
|
||||
|
||||
{% include "section-service-user" %}
|
||||
|
||||
{% include "parts/section-cinder" %}
|
||||
|
||||
[osapi_v3]
|
||||
|
||||
@@ -150,6 +150,8 @@ api_servers = {{ glance_api_servers }}
|
||||
|
||||
{% include "section-keystone-authtoken-mitaka" %}
|
||||
|
||||
{% include "section-service-user" %}
|
||||
|
||||
{% include "parts/section-cinder" %}
|
||||
|
||||
[osapi_v3]
|
||||
|
||||
@@ -154,6 +154,8 @@ api_servers = {{ glance_api_servers }}
|
||||
|
||||
{% include "section-keystone-authtoken-mitaka" %}
|
||||
|
||||
{% include "section-service-user" %}
|
||||
|
||||
{% include "parts/section-cinder" %}
|
||||
|
||||
[osapi_v3]
|
||||
|
||||
Reference in New Issue
Block a user