← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1580381] [NEW] pecan failing with shimrequest attribute error

 

Public bug reported:

2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation [req-f3a5850c-f611-4758-b195-d58cae88b82f admin -] An unexpected exception was caught: 'ShimRequest' object has no attribute 'GET'
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation Traceback (most recent call last):
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 678, in __call__
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     self.invoke_controller(controller, args, kwargs, state)
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 572, in invoke_controller
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     result = controller(*args, **kwargs)
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/new/neutron/neutron/pecan_wsgi/controllers/utils.py", line 98, in index
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     return self.controller_index(shim_request, **uri_identifiers)
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 148, in wrapper
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     ectxt.value = e.inner_exc
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 221, in __exit__
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     self.force_reraise()
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 197, in force_reraise
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     six.reraise(self.type_, self.value, self.tb)
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 138, in wrapper
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     return f(*args, **kwargs)
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 343, in index
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     return self._items(request, True, parent_id)
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 254, in _items
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     api_common.list_args(request, 'fields'))
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/new/neutron/neutron/api/api_common.py", line 130, in list_args
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     return [v for v in request.GET.getall(arg) if v]
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation AttributeError: 'ShimRequest' object has no attribute 'GET'
2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation 

http://logs.openstack.org/51/273951/24/experimental/gate-neutron-dsvm-
api-pecan/452fb92/logs/screen-q-svc.txt.gz#_2016-05-10_21_26_48_980

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1580381

Title:
  pecan failing with shimrequest attribute error

Status in neutron:
  New

Bug description:
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation [req-f3a5850c-f611-4758-b195-d58cae88b82f admin -] An unexpected exception was caught: 'ShimRequest' object has no attribute 'GET'
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation Traceback (most recent call last):
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 678, in __call__
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     self.invoke_controller(controller, args, kwargs, state)
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 572, in invoke_controller
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     result = controller(*args, **kwargs)
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/new/neutron/neutron/pecan_wsgi/controllers/utils.py", line 98, in index
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     return self.controller_index(shim_request, **uri_identifiers)
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 148, in wrapper
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     ectxt.value = e.inner_exc
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 221, in __exit__
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     self.force_reraise()
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 197, in force_reraise
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     six.reraise(self.type_, self.value, self.tb)
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 138, in wrapper
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     return f(*args, **kwargs)
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 343, in index
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     return self._items(request, True, parent_id)
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 254, in _items
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     api_common.list_args(request, 'fields'))
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/new/neutron/neutron/api/api_common.py", line 130, in list_args
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation     return [v for v in request.GET.getall(arg) if v]
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation AttributeError: 'ShimRequest' object has no attribute 'GET'
  2016-05-10 21:26:48.980 19440 ERROR neutron.pecan_wsgi.hooks.translation 

  http://logs.openstack.org/51/273951/24/experimental/gate-neutron-dsvm-
  api-pecan/452fb92/logs/screen-q-svc.txt.gz#_2016-05-10_21_26_48_980

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1580381/+subscriptions


Follow ups