Git commit 31506c0a252f06e283eecc54741f6a3062fbe913 today made some changes to instance types so that deleted 'flavors' (instances types) can still be queried via joins to instances.
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.
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.