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 1975321 - select all button selects recommendation for other organizations which fails remediation action(JobInvocation).
Summary: select all button selects recommendation for other organizations which fails ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: RH Cloud - Inventory
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.11.0
Assignee: Shimon Shtein
QA Contact: addubey
URL:
Whiteboard:
Depends On: 2038042
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-23 12:22 UTC by Jameer Pathan
Modified: 2022-07-05 14:29 UTC (History)
5 users (show)

Fixed In Version: tfm-rubygem-foreman_rh_cloud-4.0.23
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:29:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:29:45 UTC

Description Jameer Pathan 2021-06-23 12:22:14 UTC
Description of problem:
select all button selects recommendation for other organizations which fails remediation action(JobInvocation).

Version-Release number of selected component (if applicable):
- Satellite 6.9.3 snap 5
- tfm-rubygem-foreman_rh_cloud-3.0.22-1.el7sat.noarch

How reproducible:
- Always

Steps to Reproduce:
1. Enable "Show Experimental Labs" setting.
2. Create two organization
3. Import manifest created from same RH account.
4. Have hosts with insights recommendation in both organizations.
5. Go to Configure > Insights
6. Click on select all checkbox 
7. Click on "Select recommendations from all pages"
8. Click on remediate button.
9. Popup page/view appears,click on remediate button.

Actual results:
- The popup view shows recommendations which are not part of current organization.
- After clicking on remediate button available on popup view, satellite shows "JobInvocation not found Please try to update your request" error message.

Expected results:
- Recommendations from other organization shouldn't be selected.
- JobInvocation page with right details of host to be remediated is displayed.

Additional info:

Comment 3 Jameer Pathan 2021-08-06 14:31:31 UTC
Shim, should we move this bz to on_qa?

Comment 7 addubey 2022-02-17 08:30:33 UTC
Verified.


Tested on: Satellite-7.0.0 Snap 9.0


Steps followed:

1. Enable the "Show Experimental Labs" setting.
2. Create two organization
3. Import manifest created from same RH account.
4. Have hosts with insights recommendations in both organizations.
5. Go to Configure > Insights
6. Click on select all checkbox 
7. Click on "Select recommendations from all pages"
8. Click on remediate button.
9. Popup page/view appears, click on remediate button.


observation:
  
1. Recommendations from other organizations are not selected as expected.
2. The job invocation page with the right details of the host to be remediated is displayed.

Comment 10 errata-xmlrpc 2022-07-05 14:29:32 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


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