afc3a16ce3
nova usage-list can return incorrect results, having resources counted twice. This only occurs when using the 2.40 microversion or later. This microversion introduced pagination, which doesn't work properly. Nova API will sort the instances using the tenant id and instance uuid, but 'os-simple-tenant-usage' will not preserve the order when returning the results. For this reason, subsequent API calls made by the client will use the wrong marker (which is supposed to be the last instance id), ending up counting the same instances twice. Change-Id: I6c7a67b23ec49aa207c33c38580acd834bb27e3c Closes-Bug: #1796689 |
||
---|---|---|
.. | ||
v2.40 | ||
simple-tenant-usage-get-detail.json | ||
simple-tenant-usage-get-specific.json | ||
simple-tenant-usage-get.json |