Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1553994

Summary: [RFE] Notification for subscriptions expiring soon
Product: Red Hat Satellite Reporter: Satellite Program <pm-sat>
Component: Content ManagementAssignee: Daniel Lobato Garcia <dlobatog>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: adahms, bkearney, bmidwood, ehelms
Target Milestone: 6.4.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-16 15:30:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Satellite Program 2018-03-10 14:22:33 UTC

The notifications drawer should show a warning when some subscription is about to expire. "expiring_soon?" defined in the subscriptions.rb code says this is 120 days before it expires.

Comment 1 Satellite Program 2018-03-10 14:22:39 UTC
Created from redmine issue http://projects.theforeman.org/issues/19314

Comment 2 Satellite Program 2018-03-10 14:22:44 UTC
Upstream bug assigned to dlobatog

Comment 4 Daniel Lobato Garcia 2018-03-13 14:33:46 UTC
The 'expire soon' time interval is now 120 days. This https://github.com/Katello/katello/pull/7234 would be a nice addition to this fix, it allows people to configure this interval. Otherwise the notification will always show up 120 days before the subscriptions are about to expire.

Comment 5 Satellite Program 2018-03-22 22:02:02 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/19314 has been resolved.

Comment 8 jcallaha 2018-09-18 17:55:06 UTC
Verified in Satellite 6.4 Snap 22.

Satellite now supports subscription expiration notifications.
Additionally, there is a new setting called "Expire soon days" that allows a user to set how many days ahead they want to be notified about an expiring subscription.

Comment 10 errata-xmlrpc 2018-10-16 15:30:28 UTC
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://access.redhat.com/errata/RHSA-2018:2927