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:
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
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