Added V2 API auth configuration to devstack

Added to Devstack the auth configuration needed by the V2 API.

Change-Id: Ib737416f3f441a6ad65b4a59a1cec10193ad7cbc
Closes-Bug: #1306224
This commit is contained in:
Pablo Andres Fuente 2014-04-21 17:56:06 -03:00
parent 07ae1900af
commit c2bada17ce

View File

@ -85,6 +85,14 @@ function configure_climate() {
iniset $CLIMATE_CONF_FILE DEFAULT os_admin_username climate
iniset $CLIMATE_CONF_FILE DEFAULT os_admin_project_name $SERVICE_TENANT_NAME
# keystone authtoken
iniset $CLIMATE_CONF_FILE keystone_authtoken auth_protocol $KEYSTONE_AUTH_PROTOCOL
iniset $CLIMATE_CONF_FILE keystone_authtoken auth_host $KEYSTONE_AUTH_HOST
iniset $CLIMATE_CONF_FILE keystone_authtoken admin_user climate
iniset $CLIMATE_CONF_FILE keystone_authtoken admin_password $SERVICE_PASSWORD
iniset $CLIMATE_CONF_FILE keystone_authtoken admin_tenant_name $SERVICE_TENANT_NAME
configure_API_version $CLIMATE_CONF_FILE 3
iniset $CLIMATE_CONF_FILE physical:host climate_username $CLIMATE_USER_NAME
iniset $CLIMATE_CONF_FILE physical:host climate_password $SERVICE_PASSWORD
iniset $CLIMATE_CONF_FILE physical:host climate_project_name $SERVICE_TENANT_NAME