← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1296940] Re: Potential AttributeError in _get_servers if FlavorNotFound

 

** 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/1296940

Title:
  Potential AttributeError in _get_servers if FlavorNotFound

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  In the Nova servers API (v2 and v3), this line could fail with an
  AtributeError if there is a FlavorNotFound exception above it:

  https://github.com/openstack/nova/blob/2014.1.b3/nova/api/openstack/compute/servers.py#L611

  That code should either check if instance_list is empty first or set
  instance_list to an empty InstanceList object if FlavorNotFound is
  hit.

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


References