← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1256427] Re: Duplicate FlavorNotFound handled in server create API

 

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

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

Title:
  Duplicate FlavorNotFound handled in server create API

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The FlavorNotFound exception is handled in multiple places in the
  server create API, the first being:

  https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/servers.py#L951

  and the latter being:

  https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/servers.py#L970

  They both return a 400 response and only the former is used, so remove
  the latter.

  This is both in the v2 and v3 API.

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