OpenStack Compute (Nova)

removing a flavor in use leads to nova api failiure

Reported by David Busby on 2012-06-28
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Medium
Unassigned
Essex
Undecided
Unassigned
Fedora
Unknown
Unknown

Bug Description

More information on this bug may be found a redhat bugzilla here: https://bugzilla.redhat.com/show_bug.cgi?id=836193

In short within the _get_flavor method of compute/views/servers.py if a flavor was removed but an instance is still associated with the removed flavor instance["instance_type"] will return None

As this is not checked before attempting to retrieve the flavour_id this throws a python exception.

Russell Bryant (russellb) wrote :

This bug was fixed in master by:

    https://review.openstack.org/#/c/8007/

related discussion here:

    https://lists.launchpad.net/openstack/msg12648.html

It's still a problem in Essex (what is in use for this bug). That patch is probably too invasive for a stable branch backport, though.

Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.