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
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. service- relation- changed warnings. warn('Using keystoneclient sessions has been deprecated. ' service- relation- changed Traceback (most recent call last): service- relation- changed File "/var/lib/ juju/agents/ unit-ceph- radosgw- 0/charm/ hooks/identity- service- relation- changed" , line 353, in <module> service- relation- changed hooks.execute( sys.argv) service- relation- changed File "/var/lib/ juju/agents/ unit-ceph- radosgw- 0/charm/ hooks/charmhelp ers/core/ hookenv. py", line 731, in execute service- relation- changed self._hooks[ hook_name] () service- relation- changed File "/var/lib/ juju/agents/ unit-ceph- radosgw- 0/charm/ hooks/charmhelp ers/contrib/ openstack/ utils.py" , line 1931, in wrapped_f service- relation- changed restart_functions) service- relation- changed File "/var/lib/ juju/agents/ unit-ceph- radosgw- 0/charm/ hooks/charmhelp ers/core/ host.py" , line 659, in restart_ on_change_ helper service- relation- changed r = lambda_f() service- relation- changed File "/var/lib/ juju/agents/ unit-ceph- radosgw- 0/charm/ hooks/charmhelp ers/contrib/ openstack/ utils.py" , line 1930, in <lambda> service- relation- changed (lambda: f(*args, **kwargs)), restart_map, stopstart, service- relation- changed File "/var/lib/ juju/agents/ unit-ceph- radosgw- 0/charm/ hooks/identity- service- relation- changed" , line 229, in identity_changed service- relation- changed identity_ joined( relid) service- relation- changed File "/var/lib/ juju/agents/ unit-ceph- radosgw- 0/charm/ hooks/identity- service- relation- changed" , line 223, in identity_joined service- relation- changed setup_keystone_ certs() service- relation- changed File "/var/lib/ juju/agents/ unit-ceph- radosgw- 0/charm/ hooks/utils. py", line 325, in _inner2_ defer_if_ unavailable service- relation- changed return f(*args, **kwargs) service- relation- changed File "/var/lib/ juju/agents/ unit-ceph- radosgw- 0/charm/ hooks/utils. py", line 459, in setup_keystone_ certs service- relation- changed get_ks_ ca_cert( settings[ 'admin_ token'] , auth_endpoint, certs_path) service- relation- changed File "/var/lib/ juju/agents/ unit-ceph- radosgw- 0/charm/ hooks/utils. py", line 325, in _inner2_ defer_if_ unavailable service- relation- changed return f(*args, **kwargs) service- relation- changed File "/var/lib/ juju/agents/ unit-ceph- radosgw- 0/charm/ hooks/utils. py", line 371, in get_ks_ca_cert service- relation- changed ca_cert = get_ks_ cert(ksclient, auth_endpoint, 'ca') service- relation- changed File "/var/lib/ juju/agents/ unit-ceph- radosgw- 0/charm/ hooks/utils. py", line 325, in _inner2_ defer_if_ unavailable service- relation- changed return f(*args, **kwargs) service- relation- changed File "/var/lib/ juju/agents/ unit-ceph- radosgw- 0/charm/ hooks/utils. py", line 345, in get_ks_cert service- relation- changed cert = ksclient. certificates. get_ca_ certificate( ) service- relation- changed File "/usr/lib/ python2. 7/dist- packages/ keystoneclient/ v2_0/certificat es.py", line 28, in get_ca_certificate service- relation- changed resp, body = self._client. get('/certifica tes/ca' , authenticated= False) service- relation- changed File "/usr/lib/ python2. 7/dist- packages/ keystoneauth1/ adapter. py", line 217, in get service- relation- changed return self.request(url, 'GET', **kwargs) service- relation- changed File "/usr/lib/ python2. 7/dist- packages/ keystoneauth1/ adapter. py", line 374, in request service- relation- changed resp = super(LegacyJso nAdapter, self).request( *args, **kwargs) service- relation- changed File "/usr/lib/ python2. 7/dist- packages/ keystoneauth1/ adapter. py", line 142, in request service- relation- changed return self.session. request( url, method, **kwargs) service- relation- changed File "/usr/lib/ python2. 7/dist- packages/ positional/ __init_ _.py", line 101, in inner service- relation- changed return wrapped(*args, **kwargs) service- relation- changed File "/usr/lib/ python2. 7/dist- packages/ keystoneclient/ session. py", line 445, in request service- relation- changed raise exceptions. from_response( resp, method, url) service- relation- changed keystoneauth1. exceptions. http.NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-b822be70- 8a90-49bc- a115-077f6110ef 77) uniter. operation runhook.go:107 hook "identity- service- relation- changed" failed: exit status 1 uniter. operation executor.go:84 lock released
2017-08-03 13:51:06 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 DEBUG identity-
2017-08-03 13:51:07 ERROR juju.worker.
2017-08-03 13:51:07 DEBUG juju.worker.