Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1479353

Summary: [RFE] subscription-manager list should provide an easier means to show subscriptions which start in the future
Product: [Community] Candlepin (Migrated to Jira) Reporter: Rich Jerrido <rjerrido>
Component: candlepinAssignee: William Poteat <wpoteat>
Status: CLOSED CURRENTRELEASE QA Contact: John Sefler <jsefler>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.3CC: csnyder, redakkan, skallesh, wpoteat
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: candlepin-2.3.1-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-26 18:57:40 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:

Description Rich Jerrido 2017-08-08 12:15:34 UTC
Description of problem:

As a user of subscription-manager, I would like a means to show ALL subscriptions which start in the future. 

Today, subscription-manager has the '--ondate' option, which provides (from the manual)


"Sets the date to use to search for active and available subscriptions. The default (if not explicitly passed) is today's date; using a later date looks for subscriptions which will be active then. This is only used with the --available option."


as a user there may be multiple subscriptions with differing start dates in the future, and I'd like to be able to show them all without needing to know an exact date that the subscription begins on . 

I am envisioning a command similar to 

subscription-manager list --all --available --after=YYYY-MM-DD


which would show all subscriptions which have a start date after the user-specified date. 

This would allow a user the easy means to show (for instance) 'any subs that start _after_ a renewal'

Comment 2 Chris Snyder 2017-12-21 21:39:49 UTC
Adding a PR with changes to implement this in subman.

Comment 3 John Sefler 2018-04-17 22:45:28 UTC
This candlepin feature will be consumable by subscription-manager-1.21.2-1