yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07453
[Bug 1224453] Re: min_count ignored for instance create
** Changed in: nova/havana
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/1224453
Title:
min_count ignored for instance create
Status in OpenStack Compute (Nova):
Fix Released
Status in OpenStack Compute (nova) havana series:
Fix Released
Bug description:
The server create API takes min_count and max_count values for the
number of instances to be created, where the actual number to be
created should be the highest value allowed by quota between these
limits.
However the code in compute/api.py does a single check against
max_count and then treats the exeception as a failure - resulting in
messages such as:
min_count=1
max_count= (quota+1)
"Quota exceeded for instances: Requested 1, but already used 13 of 40
instances"
The code in _check_num_instances_quota() looks like it has most of the
logic for adjusting the values when it gets an OverQuota exception
from the initial reservation request based on max_count - but always
ends up raising TooManyInstances .
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1224453/+subscriptions