RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 864195 - [RFE] New String: Add string to output of 'subscription-manager subscribe --auto' if can't cover all products
Summary: [RFE] New String: Add string to output of 'subscription-manager subscribe --a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 7.1
Assignee: William Poteat
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel71
TreeView+ depends on / blocked
 
Reported: 2012-10-08 20:20 UTC by Matt Reid
Modified: 2015-03-05 13:14 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 13:14:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0502 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2015-03-05 16:20:39 UTC

Description Matt Reid 2012-10-08 20:20:12 UTC
Description of problem:
If an auto-subscribe through the CLI fails, we don't even mention that we tried, we just say "hey, here's your product, and its not subscribed to anything", which could be a bit confusing as that's exactly what they just tried to fix.

After we list out the status of all of their installed products, it would be nice if we also had a string, saying something like "Unable to find available subscriptions for all of your installed products."

Current:
# subscription-manager subscribe --auto
Installed Product Current Status:
Product Name:      Red Hat Enterprise Linux Server
Status:            Not Subscribed

#[]


Proposed:
# subscription-manager subscribe --auto
Installed Product Current Status:
Product Name:      Red Hat Enterprise Linux Server
Status:            Not Subscribed

Unable to find available subscriptions for all of your installed products.
#[]

Version-Release number of selected component (if applicable):
subscription-manager-1.1.2-1.git

Additional Information:
Instead of doing a blanket statement at the end, we could instead show the message as part of the output for each unsubscribed product and change it to be singular.

Comment 2 William Poteat 2014-02-17 18:46:02 UTC
master commit 40148ff8a1ffba7c5724dd45388aeab3b4a627ab

Comment 3 Bryan Kearney 2014-07-30 19:24:33 UTC
Acking 7.1

Comment 4 Shwetha Kallesh 2014-10-08 06:13:14 UTC
Marking verified!!

[root@localhost product]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.32-1
subscription management rules: 5.11
subscription-manager: 1.13.3-1.el7
python-rhsm: 1.13.2.1-2.el7


[root@localhost product]# subscription-manager attach --auto
Installed Product Current Status:
Product Name: Management Bits
Status:       Subscribed

Product Name: Large File Support Bits
Status:       Subscribed

Product Name: Red Hat Enterprise Linux Server
Status:       Not Subscribed

Product Name: Shared Storage Bits
Status:       Subscribed

Product Name: Awesome OS Server Bits
Status:       Subscribed

Product Name: Load Balancing Bits
Status:       Subscribed

Unable to find available subscriptions for all your installed products.

Comment 6 errata-xmlrpc 2015-03-05 13:14:30 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://rhn.redhat.com/errata/RHBA-2015-0502.html


Note You need to log in before you can comment on or make changes to this bug.