It looks like the check is based on deployed servers:
class Flavor {
.
.
.
@classmethod
@memoized.memoized
@handle_errors(_("Unable to retrieve existing servers list."), [])
def list_deployed_ids(cls, request):
"""Get and memoize ID's of deployed flavors."""
servers = nova.server_list(request)[0]
return set(server.flavor['id'] for server in servers)
Should it also be based on whether a flavor is associated with a role?
It looks like the check is based on deployed servers:
class Flavor {
.
.
.
@classmethod memoized errors( _("Unable to retrieve existing servers list."), []) ids(cls, request): list(request) [0] flavor[ 'id'] for server in servers)
@memoized.
@handle_
def list_deployed_
"""Get and memoize ID's of deployed flavors."""
servers = nova.server_
return set(server.
Should it also be based on whether a flavor is associated with a role?