| Summary: | rhsmcertd is logging "certificates updated" when it should be "update failed (255), retry in 1 minutes" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED ERRATA | QA Contact: | Entitlement Bugs <entitlement-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | alikins, bkearney, ddumas, skallesh, spandey |
| Target Milestone: | beta | Keywords: | Rebase |
| Target Release: | 6.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | subscription-manager-1.0.10-1 | Doc Type: | Rebase: Bug Fixes and Enhancements |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 08:53:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 756082, 771481 | ||
|
Description
John Sefler
2011-05-27 20:43:52 UTC
I verified with James that the current behavior in the 5.7 version is expected. In the event that a user is not registered, the cert daemon will see that /etc/pki/entitlement is empty and print "certificates updated", which is a bit of a misnomer since there were no certificates in the first place. This is more correct than the previous error since the update didn't fail, but still isn't clear to the user. It may be better to say "0 certificates updated" or "no certificates found". Moving to 6.2. This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4. This seems to be working now, from a rhel59 box:
Wed Aug 1 17:36:08 2012 [INFO] Starting rhsmcertd...
Wed Aug 1 17:36:08 2012 [INFO] Healing interval: 1440.0 minute(s) [86400 second(s)]
Wed Aug 1 17:36:08 2012 [INFO] Cert check interval: 1.0 minute(s) [60 second(s)]
Wed Aug 1 17:36:08 2012 [INFO] Initial checks will be run now!
Wed Aug 1 17:36:08 2012 [WARN] (Healing) Update failed (255), retry will occur on next run.
Wed Aug 1 17:36:08 2012 [WARN] (Cert Check) Update failed (255), retry will occur on next run.
Looks like change was in:
commit 169b7ca559a08f30bc838cbdd190e4defc59848f
Author: Michael Stead <mstead>
Date: Wed Jul 11 08:45:44 2012 -0300
Add wait and now args to rhsmcertd
Can now specify the following args when running rhsmcertd:
--now : Immediately run the initial cert checks
--wait SECONDS : Wait SECONDS before running the initial cert checks.
The default wait period is 60 seconds. Waiting will occur by default.
NOTE: Old style args are still usable: rhsmcertd 123 123
Various message cleanups.
Verified!! [root@rhel-64-server ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.7.18-1 subscription-manager: 1.1.5-1.el6 python-rhsm: 1.1.4-1.el6 [root@rhel-64-server ~]# cat /etc/rhsm/rhsm.conf | grep certFrequency certFrequency = 1 [root@rhel-64-server ~]# subscription-manager clean All local data removed [root@rhel-64-server ~]# service rhsmcertd restart Stopping rhsmcertd... [FAILED] Starting rhsmcertd... [ OK ] [root@rhel-64-server ~]# tail -f /var/log/rhsm/rhsmcertd.log Tue Nov 6 22:16:35 2012 [INFO] Waiting 120 second(s) [2.0 minute(s)] before running updates. Tue Nov 6 22:18:37 2012 [INFO] (Healing) Certificates updated. Tue Nov 6 22:18:38 2012 [INFO] (Cert Check) Certificates updated. Wed Nov 7 02:16:37 2012 [INFO] (Cert Check) Certificates updated. Wed Nov 7 06:16:37 2012 [INFO] (Cert Check) Certificates updated. Wed Nov 7 10:03:26 2012 [INFO] rhsmcertd is shutting down... Wed Nov 7 10:19:22 2012 [INFO] Starting rhsmcertd... Wed Nov 7 10:19:22 2012 [INFO] Healing interval: 1440.0 minute(s) [86400 second(s)] Wed Nov 7 10:19:22 2012 [INFO] Cert check interval: 1.0 minute(s) [60 second(s)] Wed Nov 7 10:19:22 2012 [INFO] Waiting 120 second(s) [2.0 minute(s)] before running updates. Wed Nov 7 10:20:22 2012 [WARN] (Cert Check) Update failed (255), retry will occur on next run. Wed Nov 7 10:21:22 2012 [WARN] (Healing) Update failed (255), retry will occur on next run. Wed Nov 7 10:21:23 2012 [WARN] (Cert Check) Update failed (255), retry will occur on next run. Wed Nov 7 10:21:23 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-0350.html |