Devstack: Add admin creds in magnum.conf

This patch adds admin creds in magnum.conf, admin creds are used for periodic
task job to query bay status from heat service.

Partial-Implements: blueprint add-periodic-task
Change-Id: I11b8823ef7003bb850b74148f847d65dfabd335f
This commit is contained in:
Eli Qiao 2015-06-24 11:47:45 +08:00
parent e942383e72
commit 7171b8a752
1 changed files with 4 additions and 0 deletions

View File

@ -129,6 +129,10 @@ function create_magnum_conf {
iniset $MAGNUM_CONF oslo_policy policy_file $MAGNUM_POLICY_JSON
iniset $MAGNUM_CONF keystone_authtoken admin_user magnum
iniset $MAGNUM_CONF keystone_authtoken admin_password $SERVICE_PASSWORD
iniset $MAGNUM_CONF keystone_authtoken admin_tenant_name $SERVICE_TENANT_NAME
configure_auth_token_middleware $MAGNUM_CONF magnum $MAGNUM_AUTH_CACHE_DIR
if is_fedora || is_suse; then