Bug 983250
Summary: | subscription-manager-gui uses a hard-coded WARNING_DAYS = 6 * 7; warning_period from entitlement is ignored | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | John Sefler <jsefler> | ||||
Component: | subscription-manager | Assignee: | Carter Kozak <ckozak> | ||||
Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 5.10 | CC: | bkearney, fsharath | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
No description necessary
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-09-30 23:12:57 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: | 840995 | ||||||
Attachments: |
|
Description
John Sefler
2013-07-10 19:56:09 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. commit eacaa452361e1f716390ad3fd90cf65e9c3f3c76 Author: ckozak <ckozak> Date: Wed Jul 10 11:24:26 2013 -0400 983250: 983281: certs check warning period Created attachment 783957 [details]
warning icon
Version:
# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-gui-1.8.18-1.el5
subscription-manager-migration-data-1.11.3.2-1.git.0.14f9d59.el5
python-rhsm-1.8.16-1.el5
subscription-manager-migration-1.8.18-1.el5
subscription-manager-1.8.18-1.el5
subscription-manager-firstboot-1.8.18-1.el5
python-rhsm-debuginfo-1.8.16-1.el5
subscription-manager-debuginfo-1.8.18-1.el5
Verification:
# grep WARNING_DAYS /usr/share/rhsm/subscription_manager/gui/*.py
/usr/share/rhsm/subscription_manager/gui/widgets.py:WARNING_DAYS = 6 * 7 # 6 weeks * 7 days / week
There is still a hard coded value for WARNING_DAYS but it is not referenced anywhere.
# for f in `ls /etc/pki/entitlement/*.pem | grep -v key`; do rct cat-cert --no-content $f | egrep "Name|Warning Period"; done;
Name: Awesome OS Server Bits
Name: Awesome OS Server Basic (multi-entitlement)
Warning Period: 30
# rct cat-cert /etc/pki/entitlement/8294565152797454133.pem | grep -i "certificate:" -A7
Certificate:
Path: /etc/pki/entitlement/8294565152797454133.pem
Version: 3.2
Serial: 8294565152797454133
Start Date: 2013-07-30 00:00:00+00:00
End Date: 2014-07-30 00:00:00+00:00
Pool ID: 8a8d01e0402f9e3b01402f9f6040049a
Advancing date to within warning period
# date -s "30 JUN 2014 18:00:00"
Warning icon is displayed in "My Subscription" tab (See attachment)
Moving to VERIFIED 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 |