nova/doc/api_samples/os-simple-tenant-usage
Lucian Petrut afc3a16ce3 Fix os-simple-tenant-usage result order
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
2018-10-26 14:47:52 +00:00
..
v2.40 Fix os-simple-tenant-usage result order 2018-10-26 14:47:52 +00:00
simple-tenant-usage-get-detail.json api-ref: Example verification for os-simple-tenant-usage.inc 2016-08-09 23:52:42 +00:00
simple-tenant-usage-get-specific.json Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
simple-tenant-usage-get.json Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00