Comment 19 for bug 1822063

Revision history for this message
Alireza Nasri (sysnasri) wrote :

I don't know this bug is related to my problem or not, unfortunately I cannot find out any workaround with my problem which is similar to this bug.

 return self.request(url, 'POST', **kwargs)
  File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 968, in request
    raise exceptions.from_response(resp, method, url)
keystoneauth1.exceptions.http.NotFound: Not Found (HTTP 404)
Traceback (most recent call last):
  File "./hooks/identity-service-relation-changed", line 935, in <module>
    main()
  File "./hooks/identity-service-relation-changed", line 928, in main
    hooks.execute(sys.argv)
  File "/var/lib/juju/agents/unit-keystone-0/charm/charmhelpers/core/hookenv.py", line 945, in execute
    self._hooks[hook_name]()
  File "/var/lib/juju/agents/unit-keystone-0/charm/charmhelpers/contrib/openstack/utils.py", line 1718, in wrapped_f
    return restart_on_change_helper(
  File "/var/lib/juju/agents/unit-keystone-0/charm/charmhelpers/core/host.py", line 747, in restart_on_change_helper
    r = lambda_f()
  File "/var/lib/juju/agents/unit-keystone-0/charm/charmhelpers/contrib/openstack/utils.py", line 1719, in <lambda>
    (lambda: f(*args, **kwargs)), __restart_map_cache['cache'],
  File "./hooks/identity-service-relation-changed", line 445, in identity_changed
    add_service_to_keystone(relation_id, remote_unit)
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 1836, in add_service_to_keystone
    add_endpoint(region=settings['region'],
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 2046, in add_endpoint
    create_service_entry(service, service_type, desc)
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 985, in create_service_entry
    for service in manager.list_services():
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 1200, in __call__
    return _proxy_manager_call(self._path, self.api_version, args, kwargs)
  File "/var/lib/juju/agents/unit-keystone-0/charm/charmhelpers/core/decorators.py", line 40, in _retry_on_exception_inner_2
    return f(*args, **kwargs)
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 1244, in _proxy_manager_call
    raise e
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 1238, in _proxy_manager_call
    raise RuntimeError(s)
RuntimeError: The call within manager.py failed with the error: 'Not Found (HTTP 404)'. The call was: path=['list_services'], args=(), kwargs={}, api_version=None