Bug 1967593 - RH Cloud Plugins are using upstream version identifiers when connecting to the cloud.
Summary: RH Cloud Plugins are using upstream version identifiers when connecting to t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: RH Cloud - Insights
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.10.0
Assignee: Shimon Shtein
QA Contact: Jameer Pathan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-03 12:52 UTC by Lindani Phiri
Modified: 2021-11-16 14:12 UTC (History)
3 users (show)

Fixed In Version: 4.0.26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:11:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:12:00 UTC

Description Lindani Phiri 2021-06-03 12:52:03 UTC
Description of problem:


The RH Cloud Plugins  (Insights and Inventory) are using Foreman version identifiers as user agent strings when sending data to cloud.redhat.com such as

"Foreman 2.3"  instead of "Satellite 6.9".

This unnecessarily complicates usage reporting/analytics on the cloud side and its impossible to tell if an upstream or downstream installation is being used by a customer.

Both plugins should be updated to use version information from the downstream theme.

This should include the "branch_info" collected by the insights client.




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


How reproducible:
Always


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jameer Pathan 2021-09-29 10:06:50 UTC
Verified

Verified with:
- Satellite 6.10.0 snap 20
- tfm-rubygem-foreman_rh_cloud-4.0.26-1.el7sat.noarch

Test steps:
- Enable debug logging on satellite.
- Run "insights-client' on satellite content host registered with insight.
- Check '/var/log/foreman/production.log'

Observations:
- Downstream version identifier is used as user agent string.

2021-09-29T05:55:27 [D|app|0e37b565] User agent for telemetry is: Satellite/6.10.0 Beta;foreman_rh_cloud/4.0.26;insights-client/3.0.13-1 (Core 3.0.243; requests 2.20.0) Red Hat Enterprise Linux 8.2 (CPython 3.6.8; Linux 4.18.0-193.28.1.el8_2.x86_64); bash

Comment 4 errata-xmlrpc 2021-11-16 14:11: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 (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


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