This commit is contained in:
Jenkins 2015-12-18 12:08:45 +00:00 committed by Gerrit Code Review
commit ddf3f127ae
2 changed files with 9 additions and 4 deletions

View File

@ -44,3 +44,12 @@ You can do this running the following command from the monasca-vagrant folder:
`source env.sh`
##Setting monasca-user role to ceilometer user
Ceilometer user needs the monasca-user role in the service tenant for Ceilometer
to authenticate with the Monasca API.
keystone user-role-add --user <ID of ceilometer user> --tenant <ID of service tenant>
--role <ID of monasca-user role>
IDs can be retrieved by using keystone user-list, tenant-list and role-list.

View File

@ -206,10 +206,6 @@ function _ceilometer_create_accounts {
# Ceilometer needs ResellerAdmin role to access Swift account stats.
get_or_add_user_project_role "ResellerAdmin" "ceilometer" $SERVICE_TENANT_NAME
fi
# Ceilometer needs monasca-user role to access Monasca API.
get_or_add_user_project_role "monasca-user" "ceilometer" $SERVICE_TENANT_NAME
fi
}