Bug 2151935

Summary: UX on change content source page is ambiguous
Product: Red Hat Satellite Reporter: Danny Synk <dsynk>
Component: Host FormAssignee: Leos Stejskal <lstejska>
Status: CLOSED ERRATA QA Contact: Shweta Singh <shwsingh>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.12.0CC: jlenz, pcreech, rlavi, shwsingh
Target Milestone: 6.13.0Keywords: EasyFix, Triaged, UserExperience
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-katello-4.7.0.3-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-03 13:23:38 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 Danny Synk 2022-12-08 16:08:04 UTC
Description of problem:
When changing the content source of a host, the UX of the change content source page implies that the change has been completed after selecting the options and clicking the 'Change content source' button, but it is necessary to take the additional step of running the provided remote execution (REX) job or shell script on the host to fully complete the change.

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

Steps to Reproduce:
1. Register a host to a Satellite that has at least one external Capsule.
2. In the web UI, navigate to Hosts > All Hosts > [hostname]
3. Click the vertical ellipsis icon next to the Edit button and select 'Change content source.'
4. Select an environment, a content view, and a content source from the lists.
5. Click the 'Change content source' button.

Actual results:
- A notification appears with the text 'Content source successfully updated' and a green check mark. 
- The 'What's next?' section on the page says 'Run job invocation to update configuration on all hosts,' which could mean 'all hosts other than the one that was just changed.'

Expected results:
The notification and 'What's next?' section make it clear that the change will not be completed until the REX job or the script is run on the host. The text of the 'Change content source' button is changed to reflect the fact that clicking it will not fully complete the content source change.

Comment 4 Leos Stejskal 2023-01-11 09:38:51 UTC
Created redmine issue https://projects.theforeman.org/issues/35919 from this bug

Comment 6 Shweta Singh 2023-01-28 17:41:30 UTC
Verified.

Version Tested: Satellite 6.13 Snap 8.0

Verification steps:
1. Register host to a Satellite which has at least one external Capsule.
2. Navigate to the host details page and select "Change content source".
3. Select environment, a content view, and a content source.
4. Click the 'Change content source' button.

Observation:
Message with text "Host configurations are not updated yet" is displayed which shows that the content source has not been changed. "Run job invocation" link will navigate to REX job and content source will change only after REX job will get successfully run.

Comment 9 errata-xmlrpc 2023-05-03 13:23:38 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.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