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
This commit is contained in:
yuqian 2017-08-14 13:04:21 +08:00
parent 7dff90c6ac
commit 20caf1c59e
1 changed files with 4 additions and 4 deletions

View File

@ -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': ''
}
}