Bug 1097208
| Summary: | rhsmcertd service is failing to update the certs and failing to log the error in /var/log/rhsm/rhsm.log | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Shwetha Kallesh <skallesh> |
| Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.6 | CC: | bkearney, jesusr |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
no documentation required
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-14 07:46:58 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1014343 | ||
commit 13f609112c013897a425ecb029a9ffe5da7622c3
Author: ckozak <ckozak>
Date: Thu May 15 08:53:03 2014 -0400
1097208: 1097703: Fix rhsmcertd-worker daemon
import consumer identity from identity, use the proper
ActionClient (ActionCertClient does not exist)
Marking verified!!
[root@dhcp-0-177 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.20-1
subscription management rules: 5.10
subscription-manager: 1.12.4-1.el6
python-rhsm: 1.12.3-1.git.0.526cd89.el6
[root@dhcp-0-177 ~]# tail -f /var/log/rhsm/rhsmcertd.log
Sat Jun 28 21:39:45 2014 [INFO] Cert check interval: 240.0 minute(s) [14400 second(s)]
Sat Jun 28 21:39:45 2014 [INFO] Waiting 120 second(s) [2.0 minute(s)] before running updates.
Sat Jun 28 21:42:06 2014 [INFO] (Auto-attach) Certificates updated.
Sat Jun 28 21:42:11 2014 [INFO] (Cert Check) Certificates updated.
Sun Jun 29 00:37:21 2014 [INFO] rhsmcertd is shutting down...
Sun Jun 29 00:37:21 2014 [INFO] Starting rhsmcertd...
Sun Jun 29 00:37:21 2014 [INFO] Auto-attach interval: 1.0 minute(s) [60 second(s)]
Sun Jun 29 00:37:21 2014 [INFO] Cert check interval: 240.0 minute(s) [14400 second(s)]
Sun Jun 29 00:37:21 2014 [INFO] Waiting 120 second(s) [2.0 minute(s)] before running updates.
Sun Jun 29 00:38:27 2014 [INFO] (Auto-attach) Certificates updated.
[root@dhcp-0-177 ~]# subscription-manager register --org admin
Username: admin
Password:
The system has been registered with ID: 4a48361a-3a55-434d-a8b5-6f48e6305103
[root@dhcp-0-177 ~]# subscription-manager list --installed
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: Awesome OS Instance Server Bits
Product ID: 32060
Version: 6.1
Arch: ALL
Status: Not Subscribed
Status Details: Not supported by a valid subscription.
Starts:
Ends:
[root@dhcp-0-177 ~]# service rhsmcertd restart
Stopping rhsmcertd... [ OK ]
Starting rhsmcertd... [ OK ]
[root@dhcp-0-177 ~]# subscription-manager list --installed
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: Awesome OS Instance Server Bits
Product ID: 32060
Version: 6.1
Arch: ALL
Status: Subscribed
Status Details:
Starts: 06/28/2014
Ends: 06/28/2015
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. http://rhn.redhat.com/errata/RHBA-2014-1384.html |
Description of problem: Observed that rhsmcertd is failing update the certs and nothing seems to logged into /var/log/rhsm/rhsm.log Version-Release number of selected component (if applicable): [root@shwetha-workstation ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.9.12-1 subscription-manager: 1.11.6-1.git.8.2f8bcf8.el6 python-rhsm: 1.11.4-1.git.1.2f38ded.el6 How reproducible: Steps to Reproduce: [root@shwetha-workstation ~]# subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Awesome OS Instance Server Bits Product ID: 32060 Version: 6.1 Arch: ALL Status: Not Subscribed Status Details: Not supported by a valid subscription. Starts: Ends: Product Name: Awesome OS for x86_64 Bits Product ID: 100000000000002 Version: 3.11 Arch: x86_64 Status: Not Subscribed Status Details: Not supported by a valid subscription. Starts: Ends: [root@shwetha-workstation ~]# cat /etc/rhsm/rhsm.conf | grep auto-attach -A2 # Interval to run auto-attach (in minutes): autoAttachInterval = 1 [root@shwetha-workstation ~]# subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Awesome OS Instance Server Bits Product ID: 32060 Version: 6.1 Arch: ALL Status: Not Subscribed Status Details: Not supported by a valid subscription. Starts: Ends: Product Name: Awesome OS for x86_64 Bits Product ID: 100000000000002 Version: 3.11 Arch: x86_64 Status: Not Subscribed Status Details: Not supported by a valid subscription. Starts: Ends: [root@shwetha-workstation ~]# /usr/libexec/rhsmcertd-worker Traceback (most recent call last): File "/usr/libexec/rhsmcertd-worker", line 32, in <module> from subscription_manager.certlib import ConsumerIdentity ImportError: cannot import name ConsumerIdentity Actual results: Expected results: Additional info: