Delete a flavor test fails
Bug #1003741 reported by
Jay Pipes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Dan Prince |
Bug Description
Repeatedly seeing this on the gate-tempest-
00:45:49 =======
00:45:49 FAIL: Delete a flavor and ensure it is not listed
00:45:49 -------
00:45:49 Traceback (most recent call last):
00:45:49 File "/home/
00:45:49 self.admin_
00:45:49 AssertionError: NotFound not raised
Changed in tempest: | |
assignee: | nobody → Dan Prince (dan-prince) |
Changed in nova: | |
milestone: | none → folsom-2 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-2 → 2012.2 |
To post a comment you must log in.
Git commit 31506c0a252f06e 283eecc54741f6a 3062fbe913 today made some changes to instance types so that deleted 'flavors' (instances types) can still be queried via joins to instances.
See this ticket for details on that change: https:/ /bugs.launchpad .net/nova/ +bug/994935
Part of that commit looks Okay (the change to the InstanceTypes model). The change to get_instance_ type_by_ flavor_ id is suspicious since that call is used via the flavors API directly to show flavors (to admins and non-admins) alike.
This appears to be a valid test failure.... If I understand this correctly we just need to revert the change to get_instance_ type_by_ flavor_ id and we should be fine.