Browse Source

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
changes/25/194925/7
Eli Qiao 6 years ago
parent
commit
7171b8a752
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      devstack/lib/magnum

+ 4
- 0
devstack/lib/magnum 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


Loading…
Cancel
Save