** Also affects: nova/icehouse
   Importance: Undecided
       Status: New

** Changed in: nova/icehouse
   Importance: Undecided => Medium

** Changed in: nova/icehouse
       Status: New => In Progress

** Changed in: nova/icehouse
     Assignee: (unassigned) => Mathieu Rohon (mathieu-rohon)

-- 
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/1306727

Title:
  versions controller requests with a body log ERRORs

Status in OpenStack Compute (Nova):
  Fix Committed
Status in OpenStack Compute (nova) icehouse series:
  In Progress

Bug description:
  Using Nova trunk (Juno). I'm seeing the following nova-api.log errors
  when unauthenticated /versions controller POST requests are made with
  a request body:

  -----

  Apr 11 07:04:06 overcloud-controller0-n2g3h54d6w6u nova-api[27022]: 
2014-04-11 07:04:06.235 27044 ERROR nova.api.openstack.wsgi [-] Exception 
handling resource: index() got an unexpected keyword argument 'body'
  Apr 11 07:04:06 overcloud-controller0-n2g3h54d6w6u nova-api[27022]: 
2014-04-11 07:04:06.235 27044 TRACE nova.api.openstack.wsgi Traceback (most 
recent call last):
  Apr 11 07:04:06 overcloud-controller0-n2g3h54d6w6u nova-api[27022]: 
2014-04-11 07:04:06.235 27044 TRACE nova.api.openstack.wsgi   File 
"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", 
line 983, in _process_stack
  Apr 11 07:04:06 overcloud-controller0-n2g3h54d6w6u nova-api[27022]: 
2014-04-11 07:04:06.235 27044 TRACE nova.api.openstack.wsgi     action_result = 
self.dispatch(meth, request, action_args)
  Apr 11 07:04:06 overcloud-controller0-n2g3h54d6w6u nova-api[27022]: 
2014-04-11 07:04:06.235 27044 TRACE nova.api.openstack.wsgi   File 
"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", 
line 1070, in dispatch
  Apr 11 07:04:06 overcloud-controller0-n2g3h54d6w6u nova-api[27022]: 
2014-04-11 07:04:06.235 27044 TRACE nova.api.openstack.wsgi     return 
method(req=request, **action_args)
  Apr 11 07:04:06 overcloud-controller0-n2g3h54d6w6u nova-api[27022]: 
2014-04-11 07:04:06.235 27044 TRACE nova.api.openstack.wsgi TypeError: index() 
got an unexpected keyword argument 'body'

  -----

  Both the index() and multi() actions in the versions controller are
  susceptible to this behavior. Ideally we wouldn't be logging stack
  traces when this happens.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to