From 20caf1c59eddb4e6f8fa5f394190c142d4ef2c6e Mon Sep 17 00:00:00 2001 From: yuqian Date: Mon, 14 Aug 2017 13:04:21 +0800 Subject: [PATCH] Replace the old auth_opts to the new in notifier/zaqar.py change os_username to username, change os_passwd to passwd, change os_tenant_name to project_name, change os_auth_url to auth_url Closes-Bug: #1699468 Change-Id: Ic81d30fc90673053bb2ce7a55a491c54bcc6776d --- aodh/notifier/zaqar.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aodh/notifier/zaqar.py b/aodh/notifier/zaqar.py index e3a30a9a6..b5d13bc5f 100644 --- a/aodh/notifier/zaqar.py +++ b/aodh/notifier/zaqar.py @@ -85,10 +85,10 @@ class ZaqarAlarmNotifier(notifier.AlarmNotifier): 'auth_opts': { 'backend': 'keystone', 'options': { - 'os_username': conf.os_username, - 'os_password': conf.os_password, - 'os_project_name': conf.os_tenant_name, - 'os_auth_url': conf.os_auth_url, + 'os_username': conf.username, + 'os_password': conf.password, + 'os_project_name': conf.project_name, + 'os_auth_url': conf.auth_url, 'insecure': '' } }