Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionGourav Padholia
2022-06-08 15:39:20 UTC
Description of problem:
Search the hosts by running the query "ansible_role = role_name" does not lists the hosts if the roles are inherited from the hostgroup.
Version-Release number of selected component (if applicable):
Satellite 6.10
How reproducible:
100 %
Steps to Reproduce:
1. Go to Hostgroup -> Create host group and Add roles in the Ansible roles tab.
2. Go to Hosts -> Select Hosts -> Edit Host -> Assign the hotgroup and verify that the roles are ansible inherited from the hostgroup.
3. Go to Satellite web UI -> Hosts -> All Hosts and search the host "ansible_role = role_name"
Actual results:
The query doesn't list the hosts having the roles assigned.
Expected results:
It should list all the hosts, even if the roles are inherited from the host groups.
Additional info:
(In reply to Marek Hulan from comment #2)
> Nofar, is this now possible thanks to
> https://projects.theforeman.org/issues/27181?
Yes, that is correct.
Thanks to these last changes, now you search a hostgroup by its ansible roles.
Thank you for noticing it!
The fix for this issue would be added on Satellite 6.13, since it was recently merged. If someone wants this fix in earlier versions please let me know.
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.13 Release), 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:2097