yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60736
[Bug 1658594] [NEW] nova client using token auth failed
Public bug reported:
Horizon using token to auth with nova client, but now it auth failed, logs can check this url:
https://murano-ci.mirantis.com/logs/63/422963/2/check/gate-murano-dashboard-ubuntu/17b566b/artifacts/devstack/horizon.log
full trace is here:
2017-01-21 02:39:00.065013 Traceback (most recent call last):
2017-01-21 02:39:00.065110 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
2017-01-21 02:39:00.065316 response = wrapped_callback(request, *callback_args, **callback_kwargs)
2017-01-21 02:39:00.065501 File "/opt/stack/horizon/horizon/decorators.py", line 36, in dec
2017-01-21 02:39:00.065672 return view_func(request, *args, **kwargs)
2017-01-21 02:39:00.065823 File "/opt/stack/horizon/horizon/decorators.py", line 52, in dec
2017-01-21 02:39:00.065838 return view_func(request, *args, **kwargs)
2017-01-21 02:39:00.065847 File "/opt/stack/horizon/horizon/decorators.py", line 36, in dec
2017-01-21 02:39:00.065856 return view_func(request, *args, **kwargs)
2017-01-21 02:39:00.065864 File "/opt/stack/murano-dashboard/muranodashboard/catalog/views.py", line 176, in __inner
2017-01-21 02:39:00.065872 return func(request, **kwargs)
2017-01-21 02:39:00.065880 File "/opt/stack/murano-dashboard/muranodashboard/catalog/views.py", line 305, in view
2017-01-21 02:39:00.065887 return self.dispatch(request, *args, **kwargs)
2017-01-21 02:39:00.065894 File "/usr/local/lib/python2.7/dist-packages/formtools/wizard/views.py", line 244, in dispatch
2017-01-21 02:39:00.065902 response = super(WizardView, self).dispatch(request, *args, **kwargs)
2017-01-21 02:39:00.065910 File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 89, in dispatch
2017-01-21 02:39:00.065917 return handler(request, *args, **kwargs)
2017-01-21 02:39:00.065924 File "/usr/local/lib/python2.7/dist-packages/formtools/wizard/views.py", line 308, in post
2017-01-21 02:39:00.065932 return self.render_next_step(form)
2017-01-21 02:39:00.065940 File "/usr/local/lib/python2.7/dist-packages/formtools/wizard/views.py", line 322, in render_next_step
2017-01-21 02:39:00.065948 files=self.storage.get_step_files(next_step),
2017-01-21 02:39:00.065956 File "/usr/local/lib/python2.7/dist-packages/formtools/wizard/views.py", line 429, in get_form
2017-01-21 02:39:00.065963 return form_class(**kwargs)
2017-01-21 02:39:00.065971 File "/opt/stack/murano-dashboard/muranodashboard/dynamic_ui/forms.py", line 188, in __init__
2017-01-21 02:39:00.065979 self.update_fields()
2017-01-21 02:39:00.065986 File "/opt/stack/murano-dashboard/muranodashboard/dynamic_ui/forms.py", line 173, in update_fields
2017-01-21 02:39:00.065994 field.update(self.initial, form=self, request=request)
2017-01-21 02:39:00.066002 File "/opt/stack/murano-dashboard/muranodashboard/dynamic_ui/fields.py", line 60, in update
2017-01-21 02:39:00.066010 func(self, initial_request, **kwargs)
2017-01-21 02:39:00.066018 File "/opt/stack/murano-dashboard/muranodashboard/dynamic_ui/fields.py", line 324, in update
2017-01-21 02:39:00.066043 flavors = nova.novaclient(request).flavors.list()
2017-01-21 02:39:00.066051 File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/flavors.py", line 138, in list
2017-01-21 02:39:00.066059 return self._list("/flavors%s%s" % (detail, query_string), "flavors")
2017-01-21 02:39:00.066067 File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 252, in _list
2017-01-21 02:39:00.066075 resp, body = self.api.client.get(url)
2017-01-21 02:39:00.066083 File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 217, in get
2017-01-21 02:39:00.066091 return self.request(url, 'GET', **kwargs)
2017-01-21 02:39:00.066098 File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 87, in request
2017-01-21 02:39:00.066106 raise exceptions.from_response(resp, body, url, method)
2017-01-21 02:39:00.066113 Forbidden: Forbidden (HTTP 403) (Request-ID: req-b26f62b2-b046-4483-a871-016fed8ef9ef)
** Affects: nova
Importance: Undecided
Assignee: zhurong (zhu-rong)
Status: New
** Changed in: nova
Assignee: (unassigned) => zhurong (zhu-rong)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1658594
Title:
nova client using token auth failed
Status in OpenStack Compute (nova):
New
Bug description:
Horizon using token to auth with nova client, but now it auth failed, logs can check this url:
https://murano-ci.mirantis.com/logs/63/422963/2/check/gate-murano-dashboard-ubuntu/17b566b/artifacts/devstack/horizon.log
full trace is here:
2017-01-21 02:39:00.065013 Traceback (most recent call last):
2017-01-21 02:39:00.065110 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
2017-01-21 02:39:00.065316 response = wrapped_callback(request, *callback_args, **callback_kwargs)
2017-01-21 02:39:00.065501 File "/opt/stack/horizon/horizon/decorators.py", line 36, in dec
2017-01-21 02:39:00.065672 return view_func(request, *args, **kwargs)
2017-01-21 02:39:00.065823 File "/opt/stack/horizon/horizon/decorators.py", line 52, in dec
2017-01-21 02:39:00.065838 return view_func(request, *args, **kwargs)
2017-01-21 02:39:00.065847 File "/opt/stack/horizon/horizon/decorators.py", line 36, in dec
2017-01-21 02:39:00.065856 return view_func(request, *args, **kwargs)
2017-01-21 02:39:00.065864 File "/opt/stack/murano-dashboard/muranodashboard/catalog/views.py", line 176, in __inner
2017-01-21 02:39:00.065872 return func(request, **kwargs)
2017-01-21 02:39:00.065880 File "/opt/stack/murano-dashboard/muranodashboard/catalog/views.py", line 305, in view
2017-01-21 02:39:00.065887 return self.dispatch(request, *args, **kwargs)
2017-01-21 02:39:00.065894 File "/usr/local/lib/python2.7/dist-packages/formtools/wizard/views.py", line 244, in dispatch
2017-01-21 02:39:00.065902 response = super(WizardView, self).dispatch(request, *args, **kwargs)
2017-01-21 02:39:00.065910 File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 89, in dispatch
2017-01-21 02:39:00.065917 return handler(request, *args, **kwargs)
2017-01-21 02:39:00.065924 File "/usr/local/lib/python2.7/dist-packages/formtools/wizard/views.py", line 308, in post
2017-01-21 02:39:00.065932 return self.render_next_step(form)
2017-01-21 02:39:00.065940 File "/usr/local/lib/python2.7/dist-packages/formtools/wizard/views.py", line 322, in render_next_step
2017-01-21 02:39:00.065948 files=self.storage.get_step_files(next_step),
2017-01-21 02:39:00.065956 File "/usr/local/lib/python2.7/dist-packages/formtools/wizard/views.py", line 429, in get_form
2017-01-21 02:39:00.065963 return form_class(**kwargs)
2017-01-21 02:39:00.065971 File "/opt/stack/murano-dashboard/muranodashboard/dynamic_ui/forms.py", line 188, in __init__
2017-01-21 02:39:00.065979 self.update_fields()
2017-01-21 02:39:00.065986 File "/opt/stack/murano-dashboard/muranodashboard/dynamic_ui/forms.py", line 173, in update_fields
2017-01-21 02:39:00.065994 field.update(self.initial, form=self, request=request)
2017-01-21 02:39:00.066002 File "/opt/stack/murano-dashboard/muranodashboard/dynamic_ui/fields.py", line 60, in update
2017-01-21 02:39:00.066010 func(self, initial_request, **kwargs)
2017-01-21 02:39:00.066018 File "/opt/stack/murano-dashboard/muranodashboard/dynamic_ui/fields.py", line 324, in update
2017-01-21 02:39:00.066043 flavors = nova.novaclient(request).flavors.list()
2017-01-21 02:39:00.066051 File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/flavors.py", line 138, in list
2017-01-21 02:39:00.066059 return self._list("/flavors%s%s" % (detail, query_string), "flavors")
2017-01-21 02:39:00.066067 File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 252, in _list
2017-01-21 02:39:00.066075 resp, body = self.api.client.get(url)
2017-01-21 02:39:00.066083 File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 217, in get
2017-01-21 02:39:00.066091 return self.request(url, 'GET', **kwargs)
2017-01-21 02:39:00.066098 File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 87, in request
2017-01-21 02:39:00.066106 raise exceptions.from_response(resp, body, url, method)
2017-01-21 02:39:00.066113 Forbidden: Forbidden (HTTP 403) (Request-ID: req-b26f62b2-b046-4483-a871-016fed8ef9ef)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1658594/+subscriptions
Follow ups