Hello,
Following [1] <https://github.com/openstack/monasca-api/tree/master/devstack>, I set up Monasca (with all other services). I get the 'mini-mon' project; 'monasca' service; 'monasca-agent', 'monasca-user' role and 'mini-mon', 'monasca-agent' users. I can do all expected operations (alarm defn, alarm lising, metric push, notifications) using mini-mon user and 'mini-mon' project as follows: #monasca --os-username mini-mon --os-password password --os-project-name mini-mon notification-create pradipm_email_try EMAIL .... <success> However, I am getting an error when trying to do the same for 'admin' user and 'admin' project: $ monasca --os-username admin --os-password secretadmin --os-project-name admin notification-create pradipm_email EMAIL <...> { "description": "Tenant ID is missing a required role to access this service", "title": "Forbidden" } How can I make it work for 'admin' user also? There are following three files. Do I need to add 'admin' role in 1. /opt/stack/monasca-api/devstack/files/monasca-api/api-config.yml // admin is there (defaultAuthorizedRoles) 2. /opt/stack/monasca-api/java/src/main/resources/api-config.yml // admin not there 3. /etc/monasca/api-config.conf // admin not there in default_authorized_roles clause Any help will be solicited. Thanks, Pradip
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev