yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #84342
[Bug 1749410] Re: placement api-ref unclear if capacity is meant to be total or current
Fixed by https://review.opendev.org/#/c/547065/
** 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/1749410
Title:
placement api-ref unclear if capacity is meant to be total or current
Status in OpenStack Compute (nova):
Fix Released
Bug description:
While exploring the newer microversions (here 1.4) of the placement
API I found this part of the API reference unclear to me
(https://developer.openstack.org/api-ref/placement/#list-resource-
providers, 'resources' parameter):
"A comma-separated list of strings indicating an amount of resource of
a specified class that a provider must have the capacity to serve:"
Based on the reference I cannot tell if the capacity is meant to be
total or current (ie. total - current allocations).
Running a few queries it seems to me the actual behavior is to filter
on total capacity. If that was the intended behavior then this report
is just a tiny documentation bug I guess.
https://github.com/openstack/nova/blob/17.0.0.0rc1/placement-api-
ref/source/parameters.yaml#L105
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1749410/+subscriptions
References