Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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