tripleo-ansible-inventory tool no longer functions in master.
(undercloud) [centos@undercloud-0 ~]$ tripleo-ansible-inventory
Traceback (most recent call last):
File "/usr/bin/tripleo-ansible-inventory", line 239, in <module>
main()
File "/usr/bin/tripleo-ansible-inventory", line 178, in main
utils.get_swift_client(auth_variables))
File "/usr/lib/python3.6/site-packages/tripleo_validations/utils.py", line 91, in list_plan_and_stack
stacks = [s.stack_name for s in hclient.stacks.list()]
File "/usr/lib/python3.6/site-packages/tripleo_validations/utils.py", line 91, in <listcomp>
stacks = [s.stack_name for s in hclient.stacks.list()]
File "/usr/lib/python3.6/site-packages/heatclient/v1/stacks.py", line 136, in paginate
stacks = self._list(url, 'stacks')
File "/usr/lib/python3.6/site-packages/heatclient/common/base.py", line 114, in _list
body = self.client.get(url).json()
File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 395, in get
return self.request(url, 'GET', **kwargs)
File "/usr/lib/python3.6/site-packages/heatclient/common/http.py", line 320, in request
**kwargs)
File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 554, in request
resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 257, in request
return self.session.request(url, method, **kwargs)
File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 812, in request
**endpoint_filter)
File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1243, in get_endpoint
return auth.get_endpoint(self, **kwargs)
File "/usr/lib/python3.6/site-packages/keystoneauth1/identity/base.py", line 380, in get_endpoint
allow_version_hack=allow_version_hack, **kwargs)
File "/usr/lib/python3.6/site-packages/keystoneauth1/identity/base.py", line 279, in get_endpoint_data
service_name=service_name)
File "/usr/lib/python3.6/site-packages/keystoneauth1/access/service_catalog.py", line 462, in endpoint_data_for
raise exceptions.EndpointNotFound(msg)
keystoneauth1.exceptions.catalog.EndpointNotFound: public endpoint for orchestration service not found
Yeah, the whole tripleo- ansible- inventory script needs to be revised. Missing Nova and Heat on the undercloud now mean this doesn't work the way it used to.
We'll need to consider how we want to handle this moving forward.