RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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.
Bug 1862408 - unexpected message "CACHED_SYSPURPOSE: /var/lib/rhsm/cache/syspurpose.json"
Summary: unexpected message "CACHED_SYSPURPOSE: /var/lib/rhsm/cache/syspurpose.json"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 8.3
Assignee: Jiri Hnidek
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-31 11:29 UTC by John Sefler
Modified: 2020-11-04 01:40 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 01:39:41 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2306 0 None closed 1858296: Do not report unchanged profile; ENT-2639 2020-12-10 08:09:37 UTC
Red Hat Product Errata RHBA-2020:4460 0 None None None 2020-11-04 01:40:01 UTC

Description John Sefler 2020-07-31 11:29:14 UTC
Description of problem:

There is a new unexpected message displayed in stdout while registering.
It looks like a debugging statement that is not important to the user.


Version-Release number of selected component (if applicable):
[root@hpe-dl380pgen8-02-vm-11 ~]# rpm -q subscription-manager
subscription-manager-1.27.11-1.el8.x86_64


How reproducible:


Steps to Reproduce:
[root@hpe-dl380pgen8-02-vm-11 ~]# subscription-manager register
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: stage_auto_testuser
Password: 
CACHED_SYSPURPOSE: /var/lib/rhsm/cache/syspurpose.json
The system has been registered with ID: 960c545f-1de1-4289-865f-6515c7146c9e
The registered system name is: hpe-dl380pgen8-02-vm-11.hpe2.lab.eng.bos.redhat.com


Actual results:
 above

Expected results:
 "CACHED_SYSPURPOSE: /var/lib/rhsm/cache/syspurpose.json" is not useful

Additional info:

Comment 3 Archana Pandey 2020-08-07 10:00:23 UTC
Reproducing Issue on subscription-manager: 1.27.11-1.el8

Version-Release number of selected component (if applicable):
[root@archana-automation ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.1.16-1
subscription management rules: 5.40
subscription-manager: 1.27.11-1.el8

Steps to reproduce:
[root@archana-automation ~]#  subscription-manager register --username **** --password ****
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
CACHED_SYSPURPOSE: /var/lib/rhsm/cache/syspurpose.json                                       <<<<<<<<<<<<< extra info
The system has been registered with ID: 6e4889fc-600a-44f2-a5b3-16096844dcc2
The registered system name is: archana-automation

==========================================================================================

Issue Verification on latest build subscription-manager-1.27.13-1.el8.x86_64

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

[root@ibm-x3650m4-01-vm-14 ~]# rpm -qa subscription-manager
subscription-manager-1.27.13-1.el8.x86_64

steps to verify:

[root@ibm-x3650m4-01-vm-14 ~]# subscription-manager register --username **** --password *****
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
The system has been registered with ID: f0d4b4c2-5387-4a2a-93cc-4a3ec62e728c                   <<<<<<<<< removed info about cached syspurpose
The registered system name is: ibm-x3650m4-01-vm-14.ibm2.lab.eng.bos.redhat.com
To use Red Hat Insights, install the insights-client package.
To opt out of Red Hat Insights, run "insights-client --unregister" or reregister with "--no-insights".


Verified : Unexpected message displayed in stdout while registering is removed

Comment 6 errata-xmlrpc 2020-11-04 01:39:41 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 (subscription-manager bug fix and enhancement update), 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/RHBA-2020:4460


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