Potential AttributeError in _get_servers if FlavorNotFound
Bug #1296940 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Matt Riedemann |
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:/
That code should either check if instance_list is empty first or set instance_list to an empty InstanceList object if FlavorNotFound is hit.
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Triaged |
assignee: | nobody → Matt Riedemann (mriedem) |
Changed in nova: | |
milestone: | none → icehouse-rc1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-rc1 → 2014.1 |
To post a comment you must log in.
Introduced in Havana:
https:/ /github. com/openstack/ nova/commit/ 2a781f48c220353 b82b748796998b2 f5a12c4ad4