nova/nova
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
..
api Fix os-simple-tenant-usage result order 2018-10-26 14:47:52 +00:00
cells
cmd Merge "nova-manage - fix online_data_migrations counts" 2018-09-28 21:14:38 +00:00
common
compute Not set instance to ERROR if set_admin_password failed 2018-10-04 18:25:24 +00:00
conductor consumer gen: support claim_resources 2018-10-04 13:37:37 +02:00
conf Merge "Set defult value of num_nvme_discover_tries=5" 2018-10-08 13:56:56 +00:00
console Use nova.db.api directly 2018-07-10 14:56:27 +00:00
consoleauth Fix stacktraces with redis caching backend 2018-09-27 13:15:11 -04:00
db Replace usage of get_legacy_facade() with get_engine() 2018-09-28 22:10:06 +00:00
hacking Use nova.db.api directly 2018-07-10 14:56:27 +00:00
image Implement certificate_utils 2018-06-12 14:44:32 -04:00
ipv6
keymgr
locale Imported Translations from Zanata 2018-09-23 06:53:32 +00:00
network Merge "De-dupe subnet IDs when calling neutron /subnets API" 2018-10-05 18:32:50 +00:00
notifications Transform libvirt.error notification 2018-09-18 07:06:09 +00:00
objects Handle missing marker during online data migration 2018-10-04 12:13:09 -04:00
pci network: update pci request spec to handle trusted tags 2018-05-31 13:55:40 -04:00
policies Merge "Allow ability for non admin users to use all filters on server list." 2018-09-23 05:17:23 +00:00
privsep privsep: Handle ENOENT when checking for direct IO support 2018-08-27 17:03:46 +01:00
scheduler Enable nested allocation candidates in scheduler 2018-10-04 13:44:49 +02:00
servicegroup Fix service list for disabled compute using MC driver 2018-08-14 14:11:22 +08:00
tests Fix os-simple-tenant-usage result order 2018-10-26 14:47:52 +00:00
virt Merge "libvirt: remove unused attribute driver for LibvirtConfigNodeDevice" 2018-10-08 13:56:45 +00:00
vnc
volume Remove unnecessary parameters from create volume API 2018-06-12 12:06:41 +05:30
__init__.py
availability_zones.py
baserpc.py
block_device.py
cache_utils.py
config.py Configure placement DB context manager for nova-manage/status 2018-09-05 10:29:48 -04:00
context.py Stash the cell uuid on the context when targeting 2018-08-22 13:29:29 -07:00
crypto.py Convert certificate generation to processutils. 2018-05-02 19:18:41 +10:00
debugger.py
exception_wrapper.py Add full traceback to ExceptionPayload in versioned notifications 2018-06-19 16:46:46 +08:00
exception.py consumer gen: move_allocations 2018-09-25 15:56:45 +00:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py
policy.py
profiler.py
quota.py Merge "Avoid joins in _server_group_count_members_by_user" 2018-08-07 23:16:06 +00:00
rc_fields.py Nix unused raise_if_custom_resource_class_pre_v1_1 2018-06-18 19:52:45 +00:00
rpc.py Use oslo.messaging per-call monitoring 2018-06-11 14:44:10 -07:00
safe_utils.py
service_auth.py
service.py Move conductor wait_until_ready() delay before manager init 2018-08-31 12:50:10 -07:00
test.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
utils.py Merge "Use check_string_length from oslo_utils" 2018-09-12 21:01:14 +00:00
version.py
weights.py
wsgi.py