[trusty/mitaka] identity-service-relation-changed hook sometimes fails on fresh deployments

Bug #1883101 reported by Aurelien Lourot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Keystone Charm
Won't Fix
Undecided
Unassigned

Bug Description

Seen at least twice on OSCI:
- with identity-service relation to cinder [0]
- with identity-service relation to swift-proxy [1]

2020-06-08 15:31:42 DEBUG identity-service-relation-changed Traceback (most recent call last):
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-keystone-2/charm/hooks/manager.py", line 697, in <module>
2020-06-08 15:31:42 DEBUG identity-service-relation-changed spec['charm_credentials']))
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-keystone-2/charm/hooks/manager.py", line 625, in get_manager
2020-06-08 15:31:42 DEBUG identity-service-relation-changed api_local_endpoint, charm_credentials, api_version)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-keystone-2/charm/hooks/manager.py", line 106, in _retry_on_exception_inner_2
2020-06-08 15:31:42 DEBUG identity-service-relation-changed return f(*args, **kwargs)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-keystone-2/charm/hooks/manager.py", line 157, in get_keystone_manager
2020-06-08 15:31:42 DEBUG identity-service-relation-changed for svc in manager.api.services.list():
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/services.py", line 32, in list
2020-06-08 15:31:42 DEBUG identity-service-relation-changed return self._list("/OS-KSADM/services", "OS-KSADM:services")
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 124, in _list
2020-06-08 15:31:42 DEBUG identity-service-relation-changed resp, body = self.client.get(url, **kwargs)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 173, in get
2020-06-08 15:31:42 DEBUG identity-service-relation-changed return self.request(url, 'GET', **kwargs)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 331, in request
2020-06-08 15:31:42 DEBUG identity-service-relation-changed resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 98, in request
2020-06-08 15:31:42 DEBUG identity-service-relation-changed return self.session.request(url, method, **kwargs)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/positional/__init__.py", line 94, in inner
2020-06-08 15:31:42 DEBUG identity-service-relation-changed return func(*args, **kwargs)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 370, in request
2020-06-08 15:31:42 DEBUG identity-service-relation-changed auth_headers = self.get_auth_headers(auth)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 624, in get_auth_headers
2020-06-08 15:31:42 DEBUG identity-service-relation-changed return auth.get_headers(self, **kwargs)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/plugin.py", line 84, in get_headers
2020-06-08 15:31:42 DEBUG identity-service-relation-changed token = self.get_token(session)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 90, in get_token
2020-06-08 15:31:42 DEBUG identity-service-relation-changed return self.get_access(session).auth_token
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 136, in get_access
2020-06-08 15:31:42 DEBUG identity-service-relation-changed self.auth_ref = self.get_auth_ref(session)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/v2.py", line 65, in get_auth_ref
2020-06-08 15:31:42 DEBUG identity-service-relation-changed authenticated=False, log=False)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 572, in post
2020-06-08 15:31:42 DEBUG identity-service-relation-changed return self.request(url, 'POST', **kwargs)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/positional/__init__.py", line 94, in inner
2020-06-08 15:31:42 DEBUG identity-service-relation-changed return func(*args, **kwargs)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 452, in request
2020-06-08 15:31:42 DEBUG identity-service-relation-changed resp = send(**kwargs)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 496, in _send_request
2020-06-08 15:31:42 DEBUG identity-service-relation-changed raise exceptions.ConnectFailure(msg)
2020-06-08 15:31:42 DEBUG identity-service-relation-changed ConnectFailure: Unable to establish connection to http://localhost:35347/v2.0/tokens

0: http://osci:8080/job/mojo_runner/22751
1: http://osci:8080/job/mojo_runner/22775

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Triaged: won't fix. Reason: trusty is now EOL.

Changed in charm-keystone:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.