Hello,
Seeing the alarm-definition-list is returning "service unavailable" for
admin user:
stack@ubuntu:~/devstack$ monasca --os-username admin --os-password
secretadmin --os-project-name admin alarm-definition-list
ERROR (exc:65) exception: {
"title": "Service unavailable",
"description": ""
}
HTTPException code=500 message={
"title": "Service unavailable",
"description": ""
}
However can see other APIs like notification listing etc. working fine.
stack@ubuntu:~/devstack$ monasca --os-username admin --os-password
secretadmin --os-project-name admin notification-list
+---------------+--------------------------------------+-------+--------------------+
| name | id | type |
address |
+---------------+--------------------------------------+-------+--------------------+
| pradipm_email | bf60996d-d500-4b59-b42f-a942e9121859 | EMAIL | email_id |
+---------------+--------------------------------------+-------+--------------------+
The following changes we did to make it work for 'admin' user:
Do the following changes:
1. /opt/stack/monasca-api/java/src/main/resources/api-config.yml --- add
'admin' in 'defaultAuthorizedRoles'
2./etc/monasca/api-config.conf --- add 'admin' in default_authorized_roles
3. sudo service monasca-api restart
4. sudo service monasca-thresh restart
5. sudo service monasca-agent restart
Any help will be appreciated.
Thanks,
Pradip
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev