Bug 861443
Summary: | rhsmcertd logging of Healing shows "Certificates updated." when it should fail. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | Michael Stead <mstead> |
Status: | CLOSED ERRATA | QA Contact: | Entitlement Bugs <entitlement-bugs> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.9 | CC: | mstead, skallesh |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
The exception was being ignored after it was thrown.
Consequence:
Errors for healing were never making it to the rhsmcertd log file.
Fix:
Properly handle any exceptions so that they are logged by the daemon.
Result:
Proper exit status logged for healing run.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-01-08 04:03:55 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: | 771748 |
Description
John Sefler
2012-09-28 15:39:26 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. Fixed in: master - f6fa801acb34a79f7ba6f12b07384c79c1b9c34d internal - 02f57d6df62ad6bb809fec2e4e7e9cb7bb5d759b Marking verified!! [root@localhost ~]# subscription-manager version registered to: 0.7.13-1 server type: subscription management service subscription-manager: 1.0.22-1.el5 python-rhsm: 1.0.10-1.el5 [root@localhost ~]# curl -k -u admin:admin --request DELETE https://10.70.35.91:8443/candlepin/consumers/4ac9fa9b-f5fa-4c6d-9d51-812ace2eb24e [root@localhost ~]# subscription-manager identity Consumer 4ac9fa9b-f5fa-4c6d-9d51-812ace2eb24e has been deleted [root@localhost ~]# service rhsmcertd restart Stopping rhsmcertd... [ OK ] Starting rhsmcertd... [ OK ] [root@localhost entitlement]# tail -f /var/log/rhsm/rhsmcertd.log Thu Oct 11 20:54:14 2012 [INFO] Healing interval: 1440.0 minute(s) [86400 second(s)] Thu Oct 11 20:54:14 2012 [INFO] Cert check interval: 240.0 minute(s) [14400 second(s)] Thu Oct 11 20:54:14 2012 [INFO] Waiting 120 second(s) [2.0 minute(s)] before running updates. Thu Oct 11 20:56:15 2012 [INFO] (Healing) Certificates updated. Thu Oct 11 20:56:16 2012 [INFO] (Cert Check) Certificates updated. Thu Oct 11 20:58:58 2012 [INFO] rhsmcertd is shutting down... Thu Oct 11 20:58:58 2012 [INFO] Starting rhsmcertd... Thu Oct 11 20:58:58 2012 [INFO] Healing interval: 1440.0 minute(s) [86400 second(s)] Thu Oct 11 20:58:58 2012 [INFO] Cert check interval: 240.0 minute(s) [14400 second(s)] Thu Oct 11 20:58:58 2012 [INFO] Waiting 120 second(s) [2.0 minute(s)] before running updates. Thu Oct 11 21:00:58 2012 [WARN] (Healing) Update failed (255), retry will occur on next run. Thu Oct 11 21:00:59 2012 [WARN] (Cert Check) Update failed (255), retry will occur on next run. 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-2013-0033.html |