Incorrect results for tenant usage
Bug #1796689 reported by
Lucian Petrut
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Lucian Petrut | ||
Ocata |
In Progress
|
Medium
|
melanie witt | ||
Pike |
Fix Released
|
Medium
|
Elod Illes | ||
Queens |
Fix Committed
|
Medium
|
Elod Illes | ||
Rocky |
Fix Committed
|
Medium
|
Lucian Petrut |
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://
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-
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.
Changed in nova: | |
assignee: | nobody → Lucian Petrut (petrutlucian94) |
tags: | added: api |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | Lucian Petrut (petrutlucian94) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Lucian Petrut (petrutlucian94) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/608685
Review: https:/