Red Hat Bugzilla – Bug 1337817
The 'Start-End Date' of expired subscription is not in red status when the subscription expired.
Last modified: 2017-03-21 06:55:12 EDT
Created attachment 1168467 [details] Attached subscription before changing time
Created attachment 1168468 [details] Shows red highlight after changing time on rhel 6.8
Created attachment 1168506 [details] Shows no error in the logs
Created attachment 1168507 [details] shows no error in the logs in RHEL7.3
I installed the latest el6 packages: [root@dhcp129-121 ~]# rpm -qa | grep subscription-manager subscription-manager-migration-data-2.0.28-1.git.0.f34310a.el6.noarch subscription-manager-plugin-container-1.17.7-1.git.14.61c01ac.el6.x86_64 subscription-manager-1.17.7-1.git.14.61c01ac.el6.x86_64 subscription-manager-firstboot-1.17.7-1.git.14.61c01ac.el6.x86_64 subscription-manager-migration-1.17.7-1.git.14.61c01ac.el6.x86_64 subscription-manager-gui-1.17.7-1.git.14.61c01ac.el6.x86_64 and el7: [root@dhcp129-239 ~]# rpm -qa | grep subscription-manager subscription-manager-plugin-container-1.17.7-1.git.14.61c01ac.el7.x86_64 subscription-manager-1.17.7-1.git.14.61c01ac.el7.x86_64 subscription-manager-migration-1.17.7-1.git.14.61c01ac.el7.x86_64 subscription-manager-migration-data-2.0.28-1.git.0.f34310a.el7.noarch subscription-manager-plugin-ostree-1.17.7-1.git.14.61c01ac.el7.x86_64 subscription-manager-gui-1.17.7-1.git.14.61c01ac.el7.x86_64 subscription-manager-initial-setup-addon-1.17.7-1.git.14.61c01ac.el7.x86_64 I first did a normal subscription attachment and showed that the Start - End date field was normal. I then modified the time on the candlepin server and the local machine into the future past the end date. I opened subscription-manager-gui from the console to check if there were any errors (see the "Show no error..." attachments) and there were none. Checked the /var/log/rhsm/rhsm.log file for errors, and did not get any GTK errors.
Accidentally moved to verified state. Moved it back to modified
Created attachment 1242528 [details] Shows red highlight after the subscription expires
Created attachment 1242529 [details] Shows yellow highlight on the day when the subscription expires
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://rhn.redhat.com/errata/RHSA-2017-0698.html