Bug 2192564

Summary: Insights page or HostDetail's insights tab Remediate modal does not have consistent data-ouia-component-id
Product: Red Hat Satellite Reporter: Ladislav Vasina <lvasina>
Component: RH CloudAssignee: Shimon Shtein <sshtein>
Status: CLOSED MIGRATED QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: low Docs Contact:
Priority: medium    
Version: 6.13.0CC: ahumbe, aruzicka, ehelms, rlavi
Target Milestone: UnspecifiedKeywords: EasyFix, MigratedToJIRA, TestBlocker, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-06 16:13:46 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 Ladislav Vasina 2023-05-02 09:57:58 UTC
Description of problem:
On the Insights page/Remediate modal or on the hosts/"Your host"/Insights tab/Remediate modal 
* <table> element,
* <tr> element of that table 
* Remediate button
* Cancel button
* If the recommendation has a resolution provided and you can choose some inputs, those inputs too

are changing its "data-ouia-component-id" every time you open this modal.

Version-Release number of selected component (if applicable):
satellite-6.13.0-6.el8sat.noarch
foreman-3.5.1.10-1.el8sat.noarch
Red Hat Enterprise Linux release 8.7 (Ootpa)

How reproducible:
Every time

Steps to Reproduce:
1. Generate insights recommendation:
- on host execute "chmod 777 /etc/ssh/sshd_config;insights-client"
- on the host, delete "best" option in /etc/dnf/dnf.conf
2. Run insights-client on the host
3. Sync recommendations on Configure/Insights page
4. Select some recommendation
5. Click Remediate button
5. Inspect the Remediation modal's elements and its data-ouia-component-id
6. Close the modal
7. Select a new recommendation to remediate or try to remediate the same recommendation

Actual results:
Remediation modal's elements and its data-ouia-component-id are changing

Expected results:
Remediation modal's elements and its data-ouia-component-id should not change and should be consistent.

Additional info:
This problem with the changing "data-ouia-component-id" appears in multiple places in Satellite. So it is going to be a more general problem with OUIA ids not just a problem with Insights page.

Comment 3 Brad Buckingham 2023-10-30 11:29:29 UTC
Bulk setting Target Milestone = 6.15.0 where sat-6.15.0+ is set.

Comment 6 Eric Helms 2024-06-06 16:13:46 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.