** Description changed: [ 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. + * 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. + * 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. + * 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. + * 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. + * [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 - * [2] Log into the Horizon dashboard. + * [1] Deploy an OpenStack environment on the target series. - * [3] Ensure there are enough volumes/snapshots to span multiple - pages. + * [2] Log into the Horizon dashboard. - * [4] While on page 1, search for a volume/snapshot name into the filter - box that is not on the first page. + * [3] Ensure there are enough volumes/snapshots to span multiple pages. + This can be done easily by changing the number of items displayed + per page to something like '5' in the user settings. - * [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. + Then create 10 volumes + for i in $(seq -w 1 10); do + openstack volume create --size 1 vol-$i + done + + And create 10 snapshots + for i in $(seq -w 1 10); do + openstack volume snapshot create --volume vol-$i snap-$i + done + + * [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 when searched for. [ 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. + * 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 + * 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. + * 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.
-- 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/cloud-archive/+bug/2147372/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
