← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1156730] Re: Passing None to RequestContext crashes

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => grizzly-rc1

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

Title:
  Passing None to RequestContext crashes

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  https://review.openstack.org/#/c/20263/ introduced a bug where nova
  api crashes if a service catalog doesn't exist.

  nova/api/auth.py pulls the X_SERVICE_CATALOG header, but if that
  doesn't exist, explicitly passes the None on to the RequestContext.
  The RequestContext now crashes because the code expects a list, as it
  is defaulted in a kwarg to an empty list.

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