when using internal https, heat create resource failed

Bug #1869137 reported by Jeffrey Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Jeffrey Zhang
Train
Fix Released
Medium
Mark Goddard
Ussuri
Fix Released
Medium
Jeffrey Zhang

Bug Description

   2020-03-25 16:47:57.030 42 ERROR heat.common.wsgi [req-9102301b-71f8-45fb-9f84-6019b01b11ce - CBAM - default default] Unexpected error occurred serving API: Remote error: DiscoveryFailure Could not determine a suitable URL for the plugin
[u'Traceback (most recent call last):
', u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming
    res = self.dispatcher.dispatch(message)
', u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 220, in dispatch
    return self._do_dispatch(endpoint, method, ctxt, args)
', u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 190, in _do_dispatch
    result = func(ctxt, **new_args)
', u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/osprofiler/profiler.py", line 158, in wrapper
    result = f(*args, **kwargs)
', u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/heat/common/context.py", line 409, in wrapped
    return func(self, ctx, *args, **kwargs)
', u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/heat/engine/service.py", line 795, in create_stack
    stack_id = stack.store()
', u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/osprofiler/profiler.py", line 158, in wrapper
    result = f(*args, **kwargs)
', u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/heat/engine/stack.py", line 689, in store
    trust_ctx = keystone.create_trust_context()
', u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/heat/engine/clients/os/keystone/heat_keystoneclient.py", line 202, in create_trust_context
    self.session)
', u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 511, in get_user_id
    return self.get_access(session).user_id
', u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 134, in get_access
    self.auth_ref = self.get_auth_ref(session)
', u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py", line 199, in get_auth_ref
    self._plugin = self._do_create_plugin(session)
', u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py", line 194, in _do_create_plugin
    raise exceptions.DiscoveryFailure(\'Could not determine a suitable URL \'
', u'DiscoveryFailure: Could not determine a suitable URL for the plugin
'].: RemoteError: Remote error: DiscoveryFailure Could not determine a suitable URL for the plugin

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/715127

Changed in kolla-ansible:
assignee: nobody → Jeffrey Zhang (jeffrey4l)
status: New → In Progress
Mark Goddard (mgoddard)
Changed in kolla-ansible:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/715127
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=34a331ab2f05133c58727ac4878215300959ab29
Submitter: Zuul
Branch: master

commit 34a331ab2f05133c58727ac4878215300959ab29
Author: Jeffrey Zhang <email address hidden>
Date: Thu Mar 26 15:20:52 2020 +0800

    Add clients ca_file in heat

    This patch fix creating statck resource failure in heat.

    Change-Id: I00c23f8b89765e266d045cc463ce4d863d0d6089
    Closes-Bug: #1869137

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/716913

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/train)

Reviewed: https://review.opendev.org/716913
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=6e8717b0113ac07c503ec1fc23f58d2153b80d12
Submitter: Zuul
Branch: stable/train

commit 6e8717b0113ac07c503ec1fc23f58d2153b80d12
Author: Jeffrey Zhang <email address hidden>
Date: Thu Mar 26 15:20:52 2020 +0800

    Add clients ca_file in heat

    This patch fix creating statck resource failure in heat.

    Change-Id: I00c23f8b89765e266d045cc463ce4d863d0d6089
    Closes-Bug: #1869137
    (cherry picked from commit 34a331ab2f05133c58727ac4878215300959ab29)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.