← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1796689] Fix included in openstack/nova pike-eol

 

This issue was fixed in the openstack/nova pike-eol  release.

** Changed in: nova/pike
       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/1796689

Title:
  Incorrect results for tenant usage

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) ocata series:
  In Progress
Status in OpenStack Compute (nova) pike series:
  Fix Released
Status in OpenStack Compute (nova) queens series:
  Fix Committed
Status in OpenStack Compute (nova) rocky series:
  Fix Committed

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