Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Created attachment 1455164[details]
the rhsm log
Description of problem:
Error message in rhsm.log
Version-Release number of selected component (if applicable):
subscription-manager-gui-1.21.5-5.el7.x86_64
subscription-manager-rhsm-certificates-1.21.5-5.el7.x86_64
subscription-manager-plugin-container-1.21.5-5.el7.x86_64
subscription-manager-rhsm-1.21.5-5.el7.x86_64
subscription-manager-1.21.5-5.el7.x86_64
subscription-manager-initial-setup-addon-1.21.5-5.el7.x86_64
How reproducible:
always
Steps to Reproduce:
1.Remove the system's product cert
[root@kvm-02-guest13 log]# mv /etc/pki/product-default/* /root/
2.Register the system
[root@kvm-02-guest13 log]# subscription-manager register
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: rnew_test
Password:
The system has been registered with ID: 7666c1a2-67b7-4380-83c3-55dfdb339169
The registered system name is: kvm-02-guest13.rhts.eng.bos.redhat.com
3.Restart rhsmcertd service and check the rhsm.log
[root@kvm-02-guest13 log]# service rhsmcertd restart
Redirecting to /bin/systemctl restart rhsmcertd.service
[root@kvm-02-guest13 log]# cat rhsm/rhsm.log | grep -i error
2018-06-27 22:23:31,244 [ERROR] subscription-manager:7842:MainThread @intentstore_interface.py:31 - Could not import from module intentctl.
Actual results:
As step 3.
Expected results:
No error message in rhsm.log
Additional info:
The detail of rhsm.log please see the attachment
Please note: The aforementioned python files "intentstore_interface.py" has been renamed to "syspurposelib.py".
@dev This fix for this should be to change that log message's level to DEBUG.
Moving to VERIFIED:
1. Install RHEL-7.6-20180823.0-server
2. Remove the product cert
[root@ent-01-vm-04 ~]# mv /etc/pki/product-default/* /root/
3. Register the system against stage candlepin:
[root@ent-01-vm-04 ~]# subscription-manager register
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: rnew_test
Password:
The system has been registered with ID: 666f07a2-74b9-4607-b82a-25be20482c9c
The registered system name is: ent-01-vm-04.lab.eng.nay.redhat.com
4. Restart rhsmcertd service.
[root@ent-01-vm-04 ~]# service rhsmcertd restart
Redirecting to /bin/systemctl restart rhsmcertd.service
5. Check error message in rhsm.log:
[root@ent-01-vm-04 ~]# cat /var/log/rhsm/rhsm.log | grep -i error
[root@ent-01-vm-04 ~]#
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, 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-2018:3153
Created attachment 1455164 [details] the rhsm log Description of problem: Error message in rhsm.log Version-Release number of selected component (if applicable): subscription-manager-gui-1.21.5-5.el7.x86_64 subscription-manager-rhsm-certificates-1.21.5-5.el7.x86_64 subscription-manager-plugin-container-1.21.5-5.el7.x86_64 subscription-manager-rhsm-1.21.5-5.el7.x86_64 subscription-manager-1.21.5-5.el7.x86_64 subscription-manager-initial-setup-addon-1.21.5-5.el7.x86_64 How reproducible: always Steps to Reproduce: 1.Remove the system's product cert [root@kvm-02-guest13 log]# mv /etc/pki/product-default/* /root/ 2.Register the system [root@kvm-02-guest13 log]# subscription-manager register Registering to: subscription.rhsm.stage.redhat.com:443/subscription Username: rnew_test Password: The system has been registered with ID: 7666c1a2-67b7-4380-83c3-55dfdb339169 The registered system name is: kvm-02-guest13.rhts.eng.bos.redhat.com 3.Restart rhsmcertd service and check the rhsm.log [root@kvm-02-guest13 log]# service rhsmcertd restart Redirecting to /bin/systemctl restart rhsmcertd.service [root@kvm-02-guest13 log]# cat rhsm/rhsm.log | grep -i error 2018-06-27 22:23:31,244 [ERROR] subscription-manager:7842:MainThread @intentstore_interface.py:31 - Could not import from module intentctl. Actual results: As step 3. Expected results: No error message in rhsm.log Additional info: The detail of rhsm.log please see the attachment