devstack plugin: set two parameters required by Keystone v3

Namely user_domain_name and project_domain_name in the
keystone_authtoken section, and use the variable provided
by devstack and used internally by other components too.

Change-Id: I569e30699f7b25f948b17ce99a8540b9f4c3c321
This commit is contained in:
Luigi Toscano 2017-10-10 18:31:41 +02:00
parent ce53a6adf4
commit af224335ca
1 changed files with 4 additions and 0 deletions

View File

@ -102,6 +102,10 @@ function configure_sahara {
iniset $SAHARA_CONF_FILE keystone_authtoken username sahara
iniset $SAHARA_CONF_FILE \
keystone_authtoken password $SERVICE_PASSWORD
iniset $SAHARA_CONF_FILE \
keystone_authtoken user_domain_name "$SERVICE_DOMAIN_NAME"
iniset $SAHARA_CONF_FILE \
keystone_authtoken project_domain_name "$SERVICE_DOMAIN_NAME"
iniset_rpc_backend sahara $SAHARA_CONF_FILE DEFAULT