Reverts patch https://review.openstack.org/254905
This should be done after monasca is registered in keystone which happens when devstack.yml is run with ansible. Temporarily marking this as a manual workaround in README until https://review.openstack.org/248332 merges, which handles this correctly since monasca is setup using devstack. Change-Id: I9f685027560ed807aca4e0e8d263f0a0a6de412d
This commit is contained in:
parent
4b572024da
commit
4fc245f77d
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue