Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2166466 - Unable to see all ansible roles available when editing a hostgroup and the "entries per page" is bigger than the number of available roles
Summary: Unable to see all ansible roles available when editing a hostgroup and the "e...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible - Configuration Management
Version: 6.12.1
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: 6.14.0
Assignee: nalfassi
QA Contact: addubey
URL:
Whiteboard:
: 2145258 2250910 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-01 21:57 UTC by Joniel Pasqualetto
Modified: 2024-05-02 09:59 UTC (History)
12 users (show)

Fixed In Version: rubygem-foreman_ansible-12.0.4, rubygem-foreman_ansible-10.4.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2242915 (view as bug list)
Environment:
Last Closed: 2023-11-08 14:18:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36368 0 High New Unable to see all ansible roles available when editing a hostgroup and the "entries per page" is bigger than the number ... 2023-05-08 15:07:38 UTC
Red Hat Issue Tracker SAT-15790 0 None None None 2023-02-09 15:56:32 UTC
Red Hat Issue Tracker SAT-15950 0 None None None 2023-05-11 10:53:30 UTC
Red Hat Knowledge Base (Solution) 7004361 0 None None None 2023-03-26 07:47:32 UTC
Red Hat Product Errata RHSA-2023:6818 0 None None None 2023-11-08 14:19:06 UTC

Description Joniel Pasqualetto 2023-02-01 21:57:39 UTC
Description of problem:

In a system with more than just a few roles imported (more than 10 should be enough), and the option entries per page set to a number bigger than the total of roles present on the system. 

Version-Release number of selected component (if applicable):

Satellite 6.12

How reproducible:

Always

Steps to Reproduce:
1. Identify the number of roles present on the system (let's say 29, like in my lab)
2. Set the entries per page to 30
~~~
hammer settings set --name entries_per_page --value 30
~~~
3. Go to a hostgroup -> Ansible roles. You'll see only a few roles (10) and no option to see a next page.

Actual results:

Only first 10 roles are shown when editing a hostgroup -> Ansible roles.

Expected results:

All roles should be available on the webUI and properly paginated.

Additional info:

If the entries per page is smaller than the number of roles, paginating is enabled, but only the first 10 roles are shown initially. When going to the second page and coming back to the first, then the "entries per page" is actually used.

I'm attaching some screenshots to illustrate the problem.

Comment 7 nalfassi 2023-05-08 15:07:36 UTC
Created redmine issue https://projects.theforeman.org/issues/36368 from this bug

Comment 8 Bryan Kearney 2023-06-05 12:02:54 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36368 has been resolved.

Comment 13 nalfassi 2023-08-08 11:28:40 UTC
*** Bug 2145258 has been marked as a duplicate of this bug. ***

Comment 21 errata-xmlrpc 2023-11-08 14:18:30 UTC
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 (Important: Satellite 6.14 security and bug fix update), 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-2023:6818

Comment 22 nalfassi 2023-11-28 11:54:09 UTC
*** Bug 2250910 has been marked as a duplicate of this bug. ***


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