Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1388171 - [RFE] support new pagination mechanism for the nova simple-tenant-usage API
[RFE] support new pagination mechanism for the nova simple-tenant-usage API
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon (Show other bugs)
11.0 (Ocata)
Unspecified Unspecified
high Severity unspecified
: Upstream M3
: 11.0 (Ocata)
Assigned To: Radomir Dopieralski
Ola Pavlenko
: FutureFeature, OtherQA, Triaged
Depends On:
Blocks: 1318250 1426490
  Show dependency treegraph
 
Reported: 2016-10-24 12:09 EDT by Eoghan Glynn
Modified: 2017-05-17 15:36 EDT (History)
14 users (show)

See Also:
Fixed In Version: python-django-horizon-11.0.0-0.20170131043553.aa444a6.el7ost
Doc Type: Enhancement
Doc Text:
To avoid memory bloat issues in the nova-api workers, pagination logic has been added to the simple-tenant-usage API extension.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-05-17 15:36:24 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 386093 None None None 2017-01-11 07:07 EST
OpenStack gerrit 386771 None None None 2017-01-11 07:07 EST
OpenStack gerrit 410337 None None None 2017-01-11 07:25 EST
Red Hat Product Errata RHEA-2017:1245 normal SHIPPED_LIVE Red Hat OpenStack Platform 11.0 Bug Fix and Enhancement Advisory 2017-05-17 19:01:50 EDT

  None (edit)
Description Eoghan Glynn 2016-10-24 12:09:09 EDT
To avoid memory bloat issues in the nova-api workers, the nova project is planning to add pagination logic to the simple-tenant-usage API extension in Ocata:

https://blueprints.launchpad.net/nova/+spec/paginate-simple-tenant-usage

In order to avoid continuing to DOS the nova-api tier, Horizon will need to support this new pagination scheme by traversing between pages via the next link, then subsequently stitching back up the response such that the server_usages list for each tenant is made whole (such lists may cross page boundaries under the proposed solution).
Comment 2 Radomir Dopieralski 2016-12-14 06:04:46 EST
A draft patch https://review.openstack.org/#/c/410337/

We still need to resolve a problem with specifying the API version https://review.openstack.org/#/c/410688/ and make Horizon load the correct microversion of the Nova API.

We also need to write tests for all this.
Comment 14 Radomir Dopieralski 2017-04-28 08:19:34 EDT
This feature is not visible to the users and as such can't be easily tested. The improvements in performance are not visible in small scale deployments.
Comment 16 errata-xmlrpc 2017-05-17 15:36:24 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:1245

Note You need to log in before you can comment on or make changes to this bug.