You are not authorized to perform the requested action: identity:list_endpoints
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hello!
I'm trying to deploy a cluster with Sahara and have some problems with heat waitcontidion features.
When an instance tries to execute a waitcondition request I got this error: nova compute endpoint is not in service catalog:
# curl --insecure -i -X POST -H 'X-Auth-Token: 0c497be675c1478
.....
{"explanation": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400, "error": {"message": "HEAT-E99001 Service nova is not available for resource type OS::Nova::Server, reason: nova compute endpoint is not in service catalog.", "traceback": null, "type": "ResourceTypeUn
I was trying to get endpoints with the same AuthToken:
curl -g -i -X GET https:/
....
{"error": {"message": "You are not authorized to perform the requested action: identity:
The AuthToken applies to the `heat_stack_user` role.
(The Orchestration service automatically assigns the heat_stack_user role to users that it creates during stack deployment. By default, this role restricts API <Application Programming Interface (API)> operations. To avoid conflicts, do not add this role to users with the heat_stack_owner role.)
Look at policy.json:
# grep list_endpoints /etc/keystone/
"identity:
"identity:
"identity:
"identity:
I see that admin_required is performed, but there are no any mentions in docs about this.
Packages:
openstack-
python2-
openstack-
openstack-
openstack-
The expected result:
1. The error message in a waitcondition request should be more informative
2. The workaround should be reflected in the docs
description: | updated |
Seems like a keystone configuration issue. How is your keystone deployed? I don't think you can do list_endpoint with the stack_user token. Also, it's very difficult to know what's going on with the above information. Can you provide the complete heat engine log?