Description of problem: When we navigate on the page Host >> Policy >> Click on any name of the policy >> compliance policy page do not show other reports if default paging size is changed. Fore Example: If paging is set to 3 reports per page and on the compliance policy page we have 4 reports, then the page will be loaded with 3 reports and it do not show any option to see the 4th report. It seems that page is not obeying default paging size and tries to load all the reports at the same time, which can create issues in large deployments. Version-Release number of selected component (if applicable): rubygem-smart_proxy_openscap-0.6.11-1.el7sat.noarch puppet-foreman_scap_client-0.3.16-3.el7sat.noarch openscap-scanner-1.2.17-2.el7.x86_64 openscap-1.2.17-2.el7.x86_64 tfm-rubygem-foreman_openscap-0.10.3-1.el7sat.noarch tfm-rubygem-hammer_cli_foreman_openscap-0.1.6-1.el7sat.noarch rubygem-openscap-0.4.7-3.el7sat.noarch How reproducible: Fully reproducible Steps to Reproduce: 1. Configure 4 systems with same scap policy. 2. Scan the system at least once. 3. Change the default paging size in Satelite setting page. 4. Navigate to the page mentioned below: Host >> Policy >> Click on any name of the policy >> compliance policy page >> Actual results: Page shows only 3 reports from the same policy and no other option to load other reports. Expected results: Page should show other pages to load other reports as well. Additional info:
Created redmine issue http://projects.theforeman.org/issues/26667 from this bug
Upstream bug assigned to oprazak
Hello, Is there any update regarding this bug? In which version of satellite fix will be released? I can see the bug status is set to MODIFIED, Can we get the Target Milestone set?
Hi Ondrej, I was testing this bugzilla and I have found couple of changes compared to satellite 6.5. 1. we have added 'Dashboard' button to go to policy dashboard page (Hosts > Policies > Dashboard) 2. Edit option has been removed. Now clicking on policy name would take you to edit page of that policy. - Ondrej can you confirm if above changes are valid. - Also pagination is still not working on policy dashboard. tested with - Satellite 6.6.0 snap 11 - tfm-rubygem-foreman_openscap-1.0.4-1.el7sat.noarch Test steps: 1. Configure 5 systems with same scap policy. 2. Scan the system at least once. 3. Change the default paging size in Satelite setting page.(set to 3) 4. Navigate to the page mentioned below: Host >> Policy >> Click on Dashboard button of policy. 5. It'll take you to policy dashboard page. Observation: - Page shows all latest reports for policy associated with hosts. - The default paging size is not being obeyed. - Added 'Dashboard' button to go to policy dashboard page. (Hosts > Policies > Dashboard)
Changing 'Edit' and 'Dashboard' actions was intentional to make it consistent with the rest of the application. I can confirm that even though the pagination is present on the policy dashboard page, it does not work as expected.
As per comment #8 and comment #11 marking this bug as FailedQA.
Connecting redmine issue https://projects.theforeman.org/issues/27331 from this bug
Verified Verified with: - Satellite 6.6.0 snap 16 Test steps: 1. Configure 6 systems with same scap policy. 2. Scan the system at least once. 3. Change the default paging size in Satelite setting page.(set to 5) 4. Go to Host >> Policy >> Click on Dashboard button of policy. Observation: - Page shows all latest reports for policy associated with hosts. - The paging size is being obeyed.
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/RHSA-2019:3172