Bug 1990828

Summary: RH Cloud Inventory report doesn't use overridden global parameter value of a host.
Product: Red Hat Satellite Reporter: Jameer Pathan <jpathan>
Component: RH Cloud - InventoryAssignee: Shimon Shtein <sshtein>
Status: CLOSED ERRATA QA Contact: Jameer Pathan <jpathan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: aruzicka, zhunting
Target Milestone: 6.10.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.0.27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:13:02 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 Jameer Pathan 2021-08-06 11:06:05 UTC
Description of problem:
RH Cloud Inventory report doesn't use overridden global parameter value of a host.

Version-Release number of selected component (if applicable):
- Satellite 6.10.0 snap 12
- tfm-rubygem-foreman_rh_cloud-4.0.25.1-1.el7sat.noarch

How reproducible:
- Always

Steps to Reproduce:
1. Register few hosts using Global registration page.
2. Go to Administer > Settings > RH Cloud 
3. Enable "Include parameters in insights-client reports" setting.
4. Go to Hosts > All Hosts > click on Edit button of a host.
5. Go to Parameters tab and override a global parameter.
6. Generate inventory report.
7. Download the inventory report.

Actual results:
- RH Cloud Inventory report doesn't use overridden global parameter value of a host.

Expected results:
- RH Cloud Inventory report uses overridden global parameter value of a host.

Additional info:
- I have also noticed that sometimes the report is not uploaded to c.r.c, even though the report is valid one. It works fine if I retry it.

Comment 1 Jameer Pathan 2021-10-08 13:30:03 UTC
Verified:

Verified with:
- Satellite 6.10.0 snap 22
- tfm-rubygem-foreman_rh_cloud-4.0.27-1.el7sat.noarch

Test steps:
1. Register a host using Global registration page.
2. Go to Administer > Settings > RH Cloud 
3. Enable "Include parameters in insights-client reports" setting.
4. Go to Hosts > All Hosts > click on Edit button of a host.
5. Go to Parameters tab and override a global parameter.
6. Generate inventory report.
7. Download the inventory report.

observation:
- RH Cloud Inventory report uses overridden global parameter value of a host.

Comment 4 errata-xmlrpc 2021-11-16 14:13:02 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.10 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-2021:4702