Bug 2069456

Summary: new host ui details,ansible roles, bug when all ansible roles are assigned
Product: Red Hat Satellite Reporter: tstrych
Component: Ansible - Configuration ManagementAssignee: Ron Lavi <rlavi>
Status: CLOSED ERRATA QA Contact: Peter Dragun <pdragun>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.11.0CC: inecas, oezr, pcreech, pdragun, rlavi
Target Milestone: 6.11.0Keywords: Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_ansible-7.0.4.1-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:34:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description tstrych 2022-03-28 22:27:54 UTC
Description of problem:
when all ansible roles are assigned, it is no longer possible to unassign the roles in new host details UI 

Version-Release number of selected component (if applicable):
sat 6.11 snap 14

How reproducible:
Always

Steps to Reproduce:
1. navigate to all hosts -> host detail -> Ansible tab -> Edit ansible roles ( or add if there were none before) 
2. add all of them -> confirm
3. click on edit ansible roles again

Actual results:
Nothing found (attached picture)


Expected results:
Ansible editing works properly


Additional info:
this occurs only when all ansible roles are attached

Comment 3 tstrych 2022-05-10 15:53:49 UTC

also additional feedback from uxd research, about new UI, 
user is allowed to confirm the addition of roles even if he didn't change anything, this confuses the users mainly when you are trying to add roles at first.

The new way of adding roles is also new to the users, and I made the same mistake when I started to work with widget.
I saw the widget I just clicked on the role, it stays on the left side and I click on the submit. All other widgets in sat work in a different way. When you click on them they move to the other column. In this case, they do not and an additional click on the arrow is required.
I like it and I believe it is a step forward but it is confusing at first. 

1. no ansible roles assigned
2. the widget to assign them is open, 
3. click on some widgets in the left column
4. submit

Actual results:
You are allowed to submit without a change, which is okay, it is just a new design that is confusing

Expected results:
maybe some warning popup do you really want to submit with no change? 


I can create a separate BZ if you want me to :)

Comment 4 tstrych 2022-05-11 21:09:48 UTC
Based on UXD user testing, all testing users struggled to perform this action. Moving to high severity.

Comment 5 Ron Lavi 2022-05-12 13:01:01 UTC
Created redmine issue https://projects.theforeman.org/issues/34912 from this bug

Comment 6 Bryan Kearney 2022-05-13 12:04:51 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34912 has been resolved.

Comment 8 Peter Dragun 2022-05-27 12:04:15 UTC
Verified based on problem description from comment#1.

Creating a new bug from comment#3

Comment 11 errata-xmlrpc 2022-07-05 14:34:52 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 (Moderate: Satellite 6.11 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-2022:5498