FW: [PIKE] juju based OpenStack --Query

Akshay Ranade Akshay.Ranade at veritas.com
Thu Oct 12 11:12:25 UTC 2017


Hi All,
We at Veritas Technologies LLC are trying to deploy juju based OpenStack Pike bits, from location: https://jujucharms.com/u/openstack-charmers-next/openstack-base-xenial-pike/  .
But it fails at keystone charm in 'shared-db-relation-changed' hook giving following stack trace:

***********************************************************************

Traceback (most recent call last):
  File "./hooks/shared-db-relation-changed", line 919, in <module>
    main()
  File "./hooks/shared-db-relation-changed", line 912, in main
    hooks.execute(sys.argv)
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/core/hookenv.py", line 784, in execute
    self._hooks[hook_name]()
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 1890, in wrapped_f
    restart_functions)
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/core/host.py", line 685, in restart_on_change_helper
    r = lambda_f()
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 1889, in <lambda>
    (lambda: f(*args, **kwargs)), restart_map, stopstart,
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 1830, in inner_synchronize_ca_if_changed2
    ret = f(*args, **kwargs)
  File "./hooks/shared-db-relation-changed", line 446, in db_changed
    leader_init_db_if_ready(use_current_context=True)
  File "./hooks/shared-db-relation-changed", line 420, in leader_init_db_if_ready
    update_all_identity_relation_units(check_db_ready=False)
  File "./hooks/shared-db-relation-changed", line 382, in update_all_identity_relation_units
    ensure_initial_admin(config)
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 1240, in ensure_initial_admin
    return _ensure_initial_admin(config)
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/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 1195, in _ensure_initial_admin
    create_tenant("admin", DEFAULT_DOMAIN)
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 934, in create_tenant
    manager = get_manager()
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 1023, in get_manager
    api_version)
  File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/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/manager.py", line 75, in get_keystone_manager
    for svc in manager.api.services.list():
  File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/services.py", line 35, in list
    return self._list("/OS-KSADM/services", "OS-KSADM:services")
  File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 125, in _list
    resp, body = self.client.get(url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 288, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 447, in request
    resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 192, in request
    return self.session.request(url, method, **kwargs)
  File "/usr/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
    return wrapped(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 445, in request
    raise exceptions.from_response(resp, method, url)
keystoneauth1.exceptions.http.InternalServerError: Internal Server Error (HTTP 500)

***********************************************************************

Can someone please help us out here.


Thanks,
Akshay Ranade
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20171012/f45f6313/attachment.html>


More information about the Juju mailing list