Bug 1844142

Summary: [RFE] Drop a subsription-manager fact with the satellite version
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: ehelms
Target Milestone: 6.8.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1862263 (view as bug list) Environment:
Last Closed: 2020-10-27 13:03:08 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 Bryan Kearney 2020-06-04 17:22:16 UTC
The satellite version should be added as a fact in subscription manager. This fact should be sent up with all other facts for subman.

Comment 3 Lukas Pramuk 2020-08-25 13:59:14 UTC
VERIFIED.

satellite-6.8.0-1.el7sat.noarch
satellite-capsule-6.8.0-1.el7sat.noarch

by following manual reproducer:


@Satellite:
 
# rpm -ql satellite
/etc/rhsm/facts/satellite.facts

# cat /etc/rhsm/facts/satellite.facts
{
"satellite.version": "6.8.0",
"satellite.install_type": "satellite"
}

# subscription-manager facts | grep satellite
satellite.install_type: satellite
satellite.version: 6.8.0


@Capsule:

# rpm -ql satellite-capsule
/etc/rhsm/facts/capsule.facts

# cat /etc/rhsm/facts/capsule.facts
{
"satellite.version": "6.8.0",
"satellite.install_type": "capsule"
}

# subscription-manager facts | grep satellite
satellite.install_type: capsule
satellite.version: 6.8.0


>>> new facts are present both on Satellite and Capsule

Comment 6 errata-xmlrpc 2020-10-27 13:03:08 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 (Important: Satellite 6.8 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-2020:4366