diff --git a/devstack/files/monasca-notification/notification.yaml b/devstack/files/monasca-notification/notification.yaml index 5bbc4a7bc..5e386f6b4 100644 --- a/devstack/files/monasca-notification/notification.yaml +++ b/devstack/files/monasca-notification/notification.yaml @@ -122,3 +122,13 @@ logging: # Used in logging.dictConfig statsd: host: 'localhost' port: %MONASCA_STATSD_PORT% + +keystone: + auth_required: False + auth_url: '%KEYSTONE_URL%' + username: 'admin' + password: 'password' + project_name: 'admin' + user_domain_name: 'default' + project_domain_name: 'default' + auth_type: 'password' diff --git a/devstack/lib/notification.sh b/devstack/lib/notification.sh index b8ac9a3b3..13afb8fc8 100644 --- a/devstack/lib/notification.sh +++ b/devstack/lib/notification.sh @@ -102,6 +102,7 @@ configure_monasca-notification() { s|%MONASCA_STATSD_PORT%|${MONASCA_STATSD_PORT}|g; s|%MONASCA_NOTIFICATION_LOG_DIR%|${MONASCA_NOTIFICATION_LOG_DIR}|g; s|%GRAFANA_URL%|http:\/\/${SERVICE_HOST}:3000|g; + s|%KEYSTONE_URL%|http:\/\/${SERVICE_HOST}\/identity\/v3|g; " -i ${MONASCA_NOTIFICATION_CONF} sudo install -d -o ${STACK_USER} ${MONASCA_NOTIFICATION_GATE_CFG_LINK}