openstack orchestration service list fails to return endpoint
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned | ||
python-heatclient |
Invalid
|
Undecided
|
Unassigned | ||
python-openstackclient |
Invalid
|
Undecided
|
Unassigned |
Bug Description
OpenStack service endpoints are created for the heat service, but the openstack client cannot find the endpoints to issue the query against. I suspect this is due to the domain auth tokens included in the initial authentication doesn't include any endpoints with the $(tenant_id)s in the output there.
I'm not sure whether this should be a bug against the openstack client or against keystone. I believe its intentional to exclude the endpoints with a tenant_id substitution in the endpoint, but it doesn't make any sense to me as it seems the openstack catalog list command uses this catalog query in order to list endpoints and services, which it only gets the service but not the endpoints.
Here's some output collected:
> openstack catalog list
+------
| Name | Type | Endpoints |
+------
| heat | orchestration | |
| heat-cfn | cloudformation | RegionOne |
| | | public: http://
| | | RegionOne |
| | | admin: http://
| | | RegionOne |
| | | internal: http://
| | | |
...
> openstack endpoint list | grep heat
| 85ee6b6e8f81485
| 895cb2e4e5d1492
| ad63a139c90749f
> openstack orchestration service list
public endpoint for orchestration service not found
tags: | added: canonical-bootstack |
I added heatclient since that's where the "openstack orchestration service list" comes from: https:/ /github. com/openstack/ python- heatclient/ blob/master/ setup.cfg# L36 -- heatclient is an OpenStackClient plugin, and the code is maintained there