Description of problem: As a result of the --heal-interval change to --attach-interval from bug 876753, we should finish the job... 1. change --cert-interval to --cert-check-interval > [root@jsefler-6 ~]# rhsmcertd --help | grep -- --cert > -c, --cert-interval=MINUTES interval to run cert check (in minutes) ^^^^^^^^^^^^^^^ --cert-check-interval 2. change the message logging in /var/log/rhsm/rhsmcertd.log > Fri Nov 30 23:15:03 2012 [INFO] Cert check interval: 240.0 minute(s) [14400 second(s)] > Fri Nov 30 23:15:03 2012 [INFO] Healing interval: 1440.0 minute(s) [86400 second(s)] ^^^^^^^^^^^^^^^^ Auto-attach interval 3. change the /etc/rhsm/rhsm.conf parameter for [rhsmcertd] *Frequency [root@jsefler-6 ~]# grep Frequency /etc/rhsm/rhsm.conf > # Frequency of certificate refresh (in minutes): > certFrequency = 240 > # Frequency of autoheal check (1440 min = 1 day): > healFrequency = 1440 # Interval to run cert check (in minutes): certCheckInterval = 240 # Interval to run auto-attach (in minutes): autoAttachInterval = 1440 4. change the corresponding options for subscription-manager config > [root@rhsm-compat-rhel63 ~]# subscription-manager config --help | grep frequency > --server.certfrequency=SERVER.CERTFREQUENCY > Section: server, Name: certfrequency > --server.healfrequency=SERVER.HEALFREQUENCY > Section: server, Name: healfrequency > --rhsm.certfrequency=RHSM.CERTFREQUENCY > Section: rhsm, Name: certfrequency > --rhsm.healfrequency=RHSM.HEALFREQUENCY > Section: rhsm, Name: healfrequency > --rhsmcertd.certfrequency=RHSMCERTD.CERTFREQUENCY > Section: rhsmcertd, Name: certfrequency > --rhsmcertd.healfrequency=RHSMCERTD.HEALFREQUENCY > Section: rhsmcertd, Name: healfrequency --server.certcheckinterval=SERVER.CERTCHECKINTERVAL Section: server, Name: certcheckinterval --server.autoattachinterval=SERVER.AUTOATTACHINTERVAL Section: server, Name: autoattachinterval --rhsm.certcheckinterval=RHSM.CERTCHECKINTERVAL Section: rhsm, Name: certcheckinterval --rhsm.autoattachinterval=RHSM.AUTOATTACHINTERVAL Section: rhsm, Name: autoattachinterval --rhsmcertd.certcheckinterval=RHSMCERTD.CERTCHECKINTERVAL Section: rhsmcertd, Name: certcheckinterval --rhsmcertd.autoattachinterval=RHSMCERTD.AUTOATTACHINTERVAL Section: rhsmcertd, Name: autoattachinterval Version-Release number of selected component (if applicable): [root@jsefler-6 ~]# rpm -q subscription-manager subscription-manager-1.1.10-1.el6.x86_64
subscription manager commit 6bccd83f0066073433b983a7937a0c5ed7108de2 python-rhsm commit 8e73f4a848b0cf8d925c88e3caadb76d6b4d3669
Testing version... [root@jsefler-7 ~]# rpm -q subscription-manager subscription-manager-1.8.2-1.git.13.3fdfb73.el7.x86_64 Following the lead of https://bugzilla.redhat.com/show_bug.cgi?id=876753#c3 we should also deprecate --cert-interval as follows... [root@jsefler-7 ~]# rhsmcertd --help Usage: rhsmcertd [OPTION...] Help Options: -h, --help Show help options Application Options: -c, --cert-check-interval=MINUTES interval to run cert check (in minutes) --heal-interval=MINUTES deprecated, see --auto-attach-interval -i, --auto-attach-interval=MINUTES interval to run auto-attach (in minutes) -n, --now run the initial checks immediately, with no delay -d, --debug show debug messages [root@jsefler-7 ~]# Expected another option like this... --cert-interval=MINUTES deprecated, see --cert-check-interval
*** Bug 859557 has been marked as a duplicate of this bug. ***
main commit f7ec84c902e61319a384a18f0a8d75686c3716c1
# rpm -qa | egrep "subscription-manager|python-rhsm" subscription-manager-firstboot-1.8.4-1.el7.x86_64 python-rhsm-1.8.7-1.el7.x86_64 subscription-manager-gui-1.8.4-1.el7.x86_64 subscription-manager-migration-1.8.4-1.el7.x86_64 subscription-manager-1.8.4-1.el7.x86_64 subscription-manager-debuginfo-1.8.4-1.el7.x86_64 # rhsmcertd --help | grep -- --cert --cert-interval=MINUTES deprecated, see --cert-check-interval <=== Option added -c, --cert-check-interval=MINUTES interval to run cert check (in minutes) # grep -i frequency /etc/rhsm/rhsm.conf <== No matches # grep -i interval /etc/rhsm/rhsm.conf # Interval to run cert check (in minutes): certCheckInterval = 100 # Interval to run auto-attach (in minutes): autoAttachInterval = 1440 # subscription-manager config --help | grep -i frequency <== No matches # subscription-manager config --help | grep -i interval --server.certcheckinterval=SERVER.CERTCHECKINTERVAL Section: server, Name: certcheckinterval --server.autoattachinterval=SERVER.AUTOATTACHINTERVAL Section: server, Name: autoattachinterval --rhsm.certcheckinterval=RHSM.CERTCHECKINTERVAL Section: rhsm, Name: certcheckinterval --rhsm.autoattachinterval=RHSM.AUTOATTACHINTERVAL Section: rhsm, Name: autoattachinterval --rhsmcertd.certcheckinterval=RHSMCERTD.CERTCHECKINTERVAL Section: rhsmcertd, Name: certcheckinterval --rhsmcertd.autoattachinterval=RHSMCERTD.AUTOATTACHINTERVAL Section: rhsmcertd, Name: autoattachinterval # rhsmcertd --helpUsage: rhsmcertd [OPTION...] Help Options: -h, --help Show help options Application Options: --cert-interval=MINUTES deprecated, see --cert-check-interval <==== Option added -c, --cert-check-interval=MINUTES interval to run cert check (in minutes) --heal-interval=MINUTES deprecated, see --auto-attach-interval -i, --auto-attach-interval=MINUTES interval to run auto-attach (in minutes) -n, --now run the initial checks immediately, with no delay -d, --debug show debug messages Verified
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.
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-1332.html