Comment 2 for bug 1708464

Revision history for this message
Narinder Gupta (narindergupta) wrote :

somehow still seeing error with the fixed charm code.

2017-08-03 13:51:06 DEBUG identity-service-relation-changed /usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py:136: UserWarning: Using keystoneclient sessions has been deprecated. Please update your software to use keystoneauth1.
2017-08-03 13:51:06 DEBUG identity-service-relation-changed warnings.warn('Using keystoneclient sessions has been deprecated. '
2017-08-03 13:51:07 DEBUG identity-service-relation-changed Traceback (most recent call last):
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-ceph-radosgw-0/charm/hooks/identity-service-relation-changed", line 353, in <module>
2017-08-03 13:51:07 DEBUG identity-service-relation-changed hooks.execute(sys.argv)
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-ceph-radosgw-0/charm/hooks/charmhelpers/core/hookenv.py", line 731, in execute
2017-08-03 13:51:07 DEBUG identity-service-relation-changed self._hooks[hook_name]()
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-ceph-radosgw-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 1931, in wrapped_f
2017-08-03 13:51:07 DEBUG identity-service-relation-changed restart_functions)
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-ceph-radosgw-0/charm/hooks/charmhelpers/core/host.py", line 659, in restart_on_change_helper
2017-08-03 13:51:07 DEBUG identity-service-relation-changed r = lambda_f()
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-ceph-radosgw-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 1930, in <lambda>
2017-08-03 13:51:07 DEBUG identity-service-relation-changed (lambda: f(*args, **kwargs)), restart_map, stopstart,
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-ceph-radosgw-0/charm/hooks/identity-service-relation-changed", line 229, in identity_changed
2017-08-03 13:51:07 DEBUG identity-service-relation-changed identity_joined(relid)
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-ceph-radosgw-0/charm/hooks/identity-service-relation-changed", line 223, in identity_joined
2017-08-03 13:51:07 DEBUG identity-service-relation-changed setup_keystone_certs()
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-ceph-radosgw-0/charm/hooks/utils.py", line 325, in _inner2_defer_if_unavailable
2017-08-03 13:51:07 DEBUG identity-service-relation-changed return f(*args, **kwargs)
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-ceph-radosgw-0/charm/hooks/utils.py", line 459, in setup_keystone_certs
2017-08-03 13:51:07 DEBUG identity-service-relation-changed get_ks_ca_cert(settings['admin_token'], auth_endpoint, certs_path)
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-ceph-radosgw-0/charm/hooks/utils.py", line 325, in _inner2_defer_if_unavailable
2017-08-03 13:51:07 DEBUG identity-service-relation-changed return f(*args, **kwargs)
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-ceph-radosgw-0/charm/hooks/utils.py", line 371, in get_ks_ca_cert
2017-08-03 13:51:07 DEBUG identity-service-relation-changed ca_cert = get_ks_cert(ksclient, auth_endpoint, 'ca')
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-ceph-radosgw-0/charm/hooks/utils.py", line 325, in _inner2_defer_if_unavailable
2017-08-03 13:51:07 DEBUG identity-service-relation-changed return f(*args, **kwargs)
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/var/lib/juju/agents/unit-ceph-radosgw-0/charm/hooks/utils.py", line 345, in get_ks_cert
2017-08-03 13:51:07 DEBUG identity-service-relation-changed cert = ksclient.certificates.get_ca_certificate()
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/certificates.py", line 28, in get_ca_certificate
2017-08-03 13:51:07 DEBUG identity-service-relation-changed resp, body = self._client.get('/certificates/ca', authenticated=False)
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 217, in get
2017-08-03 13:51:07 DEBUG identity-service-relation-changed return self.request(url, 'GET', **kwargs)
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 374, in request
2017-08-03 13:51:07 DEBUG identity-service-relation-changed resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 142, in request
2017-08-03 13:51:07 DEBUG identity-service-relation-changed return self.session.request(url, method, **kwargs)
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
2017-08-03 13:51:07 DEBUG identity-service-relation-changed return wrapped(*args, **kwargs)
2017-08-03 13:51:07 DEBUG identity-service-relation-changed File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 445, in request
2017-08-03 13:51:07 DEBUG identity-service-relation-changed raise exceptions.from_response(resp, method, url)
2017-08-03 13:51:07 DEBUG identity-service-relation-changed keystoneauth1.exceptions.http.NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-b822be70-8a90-49bc-a115-077f6110ef77)
2017-08-03 13:51:07 ERROR juju.worker.uniter.operation runhook.go:107 hook "identity-service-relation-changed" failed: exit status 1
2017-08-03 13:51:07 DEBUG juju.worker.uniter.operation executor.go:84 lock released