| Summary: | [RFE] a textural output banner would be nice for subscription-manager release --list | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED ERRATA | QA Contact: | Entitlement Bugs <entitlement-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3 | CC: | bkearney, mreid, mstead |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 08:54:22 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 771481 | ||
[root@jsefler-r63-server ~]# rpm -q subscription-manager subscription-manager-0.99.13-1.el6.x86_64 [root@jsefler-r63-server ~]# subscription-manager register --username stage_test_12 --autosubscribe Password: The system has been registered with id: 6028eea4-1601-43fa-ae97-674248ef09a4 Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed [root@jsefler-r63-server ~]# subscription-manager release --list 5.7 5.8 5Server 6.0 6.1 6.2 6Server [root@jsefler-r63-server ~]# subscription-manager unsubscribe --all [root@jsefler-r63-server ~]# subscription-manager release --list [root@jsefler-r63-server ~]# NOPE. I DO NOT SEE A TEXTURAL BANNER AT THE HEAD OF THE release --list OUTPUT Moving back to NEW WHAT WAS FIXED IN COMMENT 1? Fixed in commit 96428466705b05571cc6a44238dedd00e6456d1a. You should see it in 0.99.13. [root@jsefler-r63-server ~]# rpm -q subscription-manager subscription-manager-0.99.14-1.el6.x86_64 [root@jsefler-r63-server ~]# subscription-manager register --username stage_test_12 --autosubscribe Password: The system has been registered with id: 6404c7da-7e09-4f75-8bbc-d5ab0fa3a3fc Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed [root@jsefler-r63-server ~]# subscription-manager release --list [root@jsefler-r63-server ~]# ^^^ NOPE. No feedback. No banner. No list. Show me that this works for you. Looks like the fix was squashed by this commit: 0057213c40d28217447844dfcfc107b7f01deab8 This bug is still valid. This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4. While there is no banner, we do have a string now instead of no feedback if there aren't any release versions available. # subscription-manager release --list No release versions available, please check subscriptions. That was using 1.0.17-1, but the string has been there for a bit. We should still show the banner when we have to show the string above. Looks like we do have a banner for "service-level --list" now, not sure when that was added. fixed in master at d10b9aa7bf5c58876cbe6183f8524af2ac87970c Verifying Version... [root@jsefler-6 ~]# rpm -q subscription-manager subscription-manager-1.1.9-1.el6.x86_64 [root@jsefler-6 ~]# subscription-manager config --rhsm.baseurl=https://cdn.rcm-qa.redhat.com [root@jsefler-6 ~]# subscription-manager register --serverurl=subscription.rhn.stage.redhat.com:443/subscription Username: stage_test_12 Password: The system has been registered with id: f4ceacaa-2089-40b6-aedd-0e47f89d508f [root@jsefler-6 ~]# [root@jsefler-6 ~]# [root@jsefler-6 ~]# subscription-manager release --list No release versions available, please check subscriptions. <======= VERIFIED [root@jsefler-6 ~]# [root@jsefler-6 ~]# [root@jsefler-6 ~]# subscription-manager attach --auto Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed [root@jsefler-6 ~]# [root@jsefler-6 ~]# [root@jsefler-6 ~]# subscription-manager release --list +-------------------------------------------+ <======= VERIFIED Available Releases <======= VERIFIED +-------------------------------------------+ <======= VERIFIED 6.1 6.2 6.3 6Server [root@jsefler-6 ~]# [root@jsefler-6 ~]# [root@jsefler-6 ~]# subscription-manager service-level --list +-------------------------------------------+ <======= VERIFIED Available Service Levels <======= VERIFIED +-------------------------------------------+ <======= VERIFIED Premium [root@jsefler-6 ~]# 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-0350.html |
Description of problem: To be more consistent with other subscription-manager MODULE --list commands, it would be nice to include a textural banner in the output. Otherwise there is no feedback when not subscribed to a RHEL pool. Version-Release number of selected component (if applicable): subscription-manager-0.99.12-1.el6.s390x How reproducible: Steps to Reproduce: register without subscribing... [root@jsefler-r63-server ~]# subscription-manager release --list [root@jsefler-r63-server ~]# ^^^ NOTICE THAT THERE IS NO FEEDBACK or after subscribed to a RHEL pool... [root@ibm-z10-37 ~]# subscription-manager release --list 5.7 5.8 5Server 6.0 6.1 6.2 6.3 6Server [root@ibm-z10-37 ~]# Expected results: [root@jsefler-r63-server ~]# subscription-manager service-level --list +-------------------------------------------+ Available Releases +-------------------------------------------+ 5.7 5.8 5Server 6.0 6.1 6.2 6.3 6Server