FW: [PIKE] juju based OpenStack --Query

James Page james.page at ubuntu.com
Thu Oct 12 11:36:37 UTC 2017


Hi Akshay

I think you've tripped over:

  https://bugs.launchpad.net/charm-keystone/+bug/1722909

which I did as well last night - this only impacts the development version
of the charm which you are using with the bundle.

I have a fix up for this, should land in the next couple of hours (we've
been having some challenges with the infrastructure that runs our gate
testing upstream in OpenStack which have now been resolved)

Cheers

James

On Thu, 12 Oct 2017 at 07:12 Akshay Ranade <Akshay.Ranade at veritas.com>
wrote:

>
>
> 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
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20171012/1d6272d1/attachment.html>


More information about the Juju mailing list