yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05777
[Bug 1207553] Re: CONF.default_flavor is only used in the EC2 API but defined in nova/compute/flavors.py
** Changed in: nova
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1207553
Title:
CONF.default_flavor is only used in the EC2 API but defined in
nova/compute/flavors.py
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
The Nova API requires a flavor, but the EC2 API does not, it uses
flavors.get_flavor_by_name, which returns the default flavor is none
is specified.
def get_flavor_by_name(name, ctxt=None):
"""Retrieves single flavor by name."""
if name is None:
return get_default_flavor()
Since this config option is only used in the EC2 API it should be defined in the EC2 API along with a better help message.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1207553/+subscriptions