yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75472
[Bug 1796689] Re: Incorrect results for tenant usage
** Tags added: api
** Changed in: nova
Importance: Undecided => Medium
** Also affects: nova/ocata
Importance: Undecided
Status: New
** Also affects: nova/rocky
Importance: Undecided
Status: New
** Also affects: nova/queens
Importance: Undecided
Status: New
** Also affects: nova/pike
Importance: Undecided
Status: New
** Changed in: nova/ocata
Status: New => Triaged
** Changed in: nova/pike
Status: New => Triaged
** Changed in: nova/queens
Status: New => Triaged
** Changed in: nova/ocata
Importance: Undecided => Medium
** Changed in: nova/pike
Importance: Undecided => Medium
** Changed in: nova/rocky
Importance: Undecided => Medium
** Changed in: nova/queens
Importance: Undecided => Medium
** Changed in: nova/rocky
Status: New => Triaged
--
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/1796689
Title:
Incorrect results for tenant usage
Status in OpenStack Compute (nova):
In Progress
Status in OpenStack Compute (nova) ocata series:
Triaged
Status in OpenStack Compute (nova) pike series:
Triaged
Status in OpenStack Compute (nova) queens series:
Triaged
Status in OpenStack Compute (nova) rocky series:
Triaged
Bug description:
nova usage-list can return incorrect results, having resources counted
twice. This only occurs when using the 2.40 microversion or later.
http://paste.openstack.org/raw/731560/
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1796689/+subscriptions
References