This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
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 2040637 - [RFE] Show all assigned Ansible roles in the Host UI
Summary: [RFE] Show all assigned Ansible roles in the Host UI
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible - Configuration Management
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Leos Stejskal
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-14 10:40 UTC by Stefan Meyer
Modified: 2024-10-05 04:25 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-06-06 02:21:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34380 0 Normal New Show all assigned Ansible roles in the Host UI 2022-02-02 14:49:35 UTC
Red Hat Issue Tracker   SAT-15930 0 None Migrated None 2024-06-06 02:21:25 UTC

Description Stefan Meyer 2022-01-14 10:40:53 UTC
1. Proposed title of this feature request
-  Show all assigned Ansible roles in the Host UI

3. What is the nature and description of the request?
In Satellite 7.x new Host UI only directly assigned Ansible roles are shown
in the main tab for Ansible roles. To see all assigned roles, including the
roles coming from Hostgroups a user has to click on "view all assigned roles".

In Satellite 6.10 a user was able to see all assigned roles when using the Ansible tab.


4. Why does the customer need this? (List the business requirements here)
- This is a usability suggestion.


5. How would the customer like to achieve this? (List the functional requirements here)
- Show all assigned roles (directly and hostgroup) in the Roles tab.
- The sorting should be as defined in the Hostgroup


6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.


7. Is there already an existing RFE upstream or in Red Hat Bugzilla?
- no

8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL8, RHEL9)?
- Satellite 7.x

9. Is the sales team involved in this request and do they have any additional input?
- no 

10. List any affected packages or components.
- Satellite 7.0 Snap 5

Comment 1 Ondřej Ezr 2022-01-18 11:27:48 UTC
Hi,

I was wondering about this as well, I'm not sure what is the answer, but consider two following points:

1) Host has hostgroup assigned, that already has 15-20 roles assigned to it
   - if roles are in order in which they are executed, user see only the Hostgroup roles in the page and needs to use pagination to get to the Host assigned roles

2) Fetching all roles from the server is bit slower and thus user will be waitig for that longer
   - this might not be hard issue, but if 90% of Users want to see only the directly assigned, should we have all the users waiting longer just for the 10% who wants to see more?


Please consider these points and let us know if you still think we should show all roles. If you do, I'll take it to our UX experts for further discussion. OTH if you agree with my points, please close this :)

Comment 2 Stefan Meyer 2022-01-24 07:22:19 UTC
Ondřej, that is a valid point. How about making it configurable in settings?

Comment 3 Ondřej Ezr 2022-01-24 08:59:19 UTC
Well I do not think that setting for such a small thing make sense. It says "we couldn't make up our mind, so it's up to you" that usually is an antipattern. We were talking about these cases in upstream and we believe that for all users it make sense to be more opinionated and give users less choices for them not to be overwhelmed with choices :)

Comment 4 Stefan Meyer 2022-01-24 10:49:50 UTC
Fair enough. Then I would prefer to have all assigned Roles listed as in Satellite 6.

Comment 5 Ondřej Ezr 2022-01-25 13:28:16 UTC
So after a discussion with our UX, we've come up with a check-box on top of the table that would allow you to show/hide inherited roles.
Would that be better than what we have now and would that solve this BZ in your opinion? ;)

Comment 6 Stefan Meyer 2022-01-25 13:36:12 UTC
Yes, that is a fine solution and would solve this BZ. :)

Comment 7 Leos Stejskal 2022-02-02 14:49:34 UTC
Created redmine issue https://projects.theforeman.org/issues/34380 from this bug

Comment 9 Jan Senkyrik 2022-09-12 10:26:43 UTC
Just a quick comment:

If a host has roles inherited from host group but *doesn't* have any roles directly assigned (outside of host group) then the page returns 'No Ansible roles assigned'. There's no way to see roles inherited from the host group.

If a host has at least 1 role directly assigned then 'view all assigned roles' hyperlink pops up where you can see roles inherited from host group.

Comment 10 Marek Hulan 2023-02-15 13:33:30 UTC
The behavior from Comment 9 has been fixed by https://bugzilla.redhat.com/show_bug.cgi?id=2111921

At this point, I believe this functionality is delivered in Satellite 6.12, therefore closing as CURRENTRELEASE. If I missed something, please let me know.

Comment 11 Marek Hulan 2023-02-15 14:27:03 UTC
Reopening based on the conversation with the reporter. It is still suboptimal that user needs to click on the link to see the roles inherited from the host group. Based on the comment 5 there was an agreement on the implementation. Maria, do we have any mock for this or was this conversation captured somewhere?

Comment 12 Eric Helms 2024-06-06 02:21:26 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.

Comment 13 Red Hat Bugzilla 2024-10-05 04:25:17 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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