Public bug reported:

[ Impact ]

 * Horizon currently uses client-side filtering for the volumes and snapshots 
tables. 
   When pagnation is enabled, this results in filtering being applied to only 
the 
   items visible on the current page rather than across the full dataset. 

 * In environments with many volumes or snapshots, this results in users being 
unable 
   to locate resources via the filter unless they manually navigate to the 
correct page,
   leading to confusion and degraded usability.

 * Backporting this fix improves the Horizon user experience by ensuring 
filtering is 
   applied across the entire dataset.

 * The uploaded fix switches filtering to the server side using the Cinder API, 
which 
   supports filtering in combination with pagination.

[ Test Plan ]

 * [0] The following versions of Ubuntu-OpenStack will be tested:
       - UCA: jammy-caracal
       - UCA: noble-dalmatian
       - UCA: noble-epoxy
       - UCA: noble-flamingo
       - ubuntu: noble-caracal
       - ubuntu: questing-flamingo
 
  * [1] Deploy an OpenStack environment on the target series.

  * [2] Log into the Horizon dashboard.

  * [3] Ensure there are enough volumes/snapshots to span multiple
pages.

  * [4] While on page 1, search for a volume/snapshot name into the filter 
        box that is not on the first page.

  * [5] Verify the behavior- Before the patch, the volume/snapshot will not 
        be shown because it is not on the first page. After the patch is 
applied, 
        the volume/snapshot should be shown.

[ Where problems could occur ]

 * This change replaces client-side filtering logic with server side filtering 
via 
   the Cinder API. If the deployed Cinder API does not support the expected 
filtering 
   parameters, filtering may fail.

[ Other Info ]

 * Upstream commit to horizon (master):
   https://review.opendev.org/c/openstack/horizon/+/963468 

 * Known workaround: Increase the number of results that appear on a page so 
you 
   don't have to go through as many pages when searching for a volume/snapshot.

** Affects: horizon (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2147372

Title:
  [SRU] Volumes and Snapshots filtering does not work correctly with
  pagination

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/2147372/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to