Tenant list in admin dashboard behaves unpredictably on sorting large number of tenants which are being displayed on multiple pages

Solution Verified - Updated -

Environment

  • Red Hat OpenStack 7.0 horizon dashboard

Issue

  • When there are a lot of projects/tenants all of them cannot be shown in a single page (only 20 items on one page) in the admin dashboard.
  • Click on the name column - to sort by name - the GUI shows the first page's data sorted fine, but on page-2 there are some items that should belong to page-1
  • Example: One can see (from the page 2 screenshots) that there is a tenant called "dh3" which does not appear on page1 after sorting with the "name" column - I would expect it to appear between "cn13" and "ej4".
The Project Page before sorting, note the random alphabetical listing of the tenants:

The Project Page after sorting, note the tenant dh3 :

Resolution

  • This is a known issue and is currently being worked by our engineering team via bugzilla

Workaround:

  • Right now the workaround is to increase the items per page setting to a number greater than the number of tenants.
NOTE: But this will stop working if/when we go above 1000 tenants.

Root Cause

  • Part of the issue is, some authentication backends don't support pagination at all, and keystone doesn't support it as well (because of that reason).
  • This will probably change, when Project Searchlight is integrated in OpenStack and especially in Horizon.
  • It is currently under discussion and might see a first solution for Openstack Mitaka release. However - It will definitely not be backported. Customers will have to upgrade their Openstack to the respective version.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments