Enable service token in nova and cinder

This patch enables service token feature in nova and cinder, which
can be used to avoid problems in inter-component request caused by
token expiration for long running tasks.

Depends-on: https://review.opendev.org/#/c/666467/
Depends-on: https://review.opendev.org/#/c/666471/
Depends-on: https://review.opendev.org/#/c/666746/
Depends-on: https://review.opendev.org/#/c/670424/
Change-Id: I0ada9fc8e7e919a763ef4f524449265963264fc0
This commit is contained in:
Takashi Kajinami 2019-06-21 09:48:28 +09:00
parent 9e90d875c7
commit 9dfdc9ef69
2 changed files with 10 additions and 0 deletions

View File

@ -136,6 +136,11 @@ outputs:
cinder::cron::db_purge::destination: {get_param: CinderCronDbPurgeDestination}
cinder::cron::db_purge::max_delay: {get_param: CinderCronDbPurgeMaxDelay}
cinder::glance::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]}
cinder::keystone::service_user::send_service_user_token: true
cinder::keystone::service_user::project_name: service
cinder::keystone::service_user::auth_type: password
cinder::keystone::service_user::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri]}
cinder::keystone::service_user::password: {get_param: CinderPassword}
cinder::nova::interface: admin
cinder::nova::project_name: service
cinder::nova::auth_type: password

View File

@ -256,6 +256,11 @@ outputs:
params:
$NETWORK: {get_param: [ServiceNetMap, NovaApiNetwork]}
nova::rabbit_use_ssl: {get_param: RpcUseSSL}
nova::keystone::service_user::send_service_user_token: true
nova::keystone::service_user::project_name: 'service'
nova::keystone::service_user::password: {get_param: NovaPassword}
nova::keystone::service_user::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
nova::keystone::service_user::region_name: {get_param: KeystoneRegion}
nova::placement::project_name: 'service'
nova::placement::password: {get_param: PlacementPassword}
nova::placement::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}