Bug 1087620
| Summary: | yum subscription-manager plugin puts non-error information on stderr | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.11 | CC: | alikins, bkearney, dgoodwin, fsharath, kcerny, shughes, xdmoon |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1017354 | Environment: | |
| Last Closed: | 2014-09-16 00:22:28 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: | 1017354 | ||
| Bug Blocks: | 1039651 | ||
|
Comment 1
RHEL Program Management
2014-04-14 20:38:26 UTC
Verifying Version... [root@jsefler-5 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 0.9.10-1 subscription-manager: 1.11.3-4.el5 python-rhsm: 1.11.3-3.el5 When not registered... [root@jsefler-5 ~]# subscription-manager unregister This system is currently not registered. [root@jsefler-5 ~]# yum repolist --disableplugin=* --enableplugin=subscription-manager --enableplugin=product-id 1>/tmp/stdout 2>/tmp/stderr [root@jsefler-5 ~]# cat /tmp/stdout Loaded plugins: product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. repolist: 0 [root@jsefler-5 ~]# cat /tmp/stderr [root@jsefler-5 ~]# VERIFIED: non-error information from yum subscription-manager plugin is printed to stdout. When registered... [root@jsefler-5 ~]# subscription-manager register --serverurl=subscription.rhn.stage.redhat.com:443/subscription Username: qa Password: The system has been registered with ID: c5b41a9b-338b-4b5c-ab0c-00c036eec963 [root@jsefler-5 ~]# yum repolist --disableplugin=* --enableplugin=subscription-manager --enableplugin=product-id 1>/tmp/stdout 2>/tmp/stderr [root@jsefler-5 ~]# cat /tmp/stdout Loaded plugins: product-id, subscription-manager This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions. repolist: 0 [root@jsefler-5 ~]# cat /tmp/stderr [root@jsefler-5 ~]# VERIFIED: non-error information from yum subscription-manager plugin is printed to stdout. When subscribed... [root@jsefler-5 ~]# subscription-manager subscribe --auto Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed [root@jsefler-5 ~]# yum repolist --disableplugin=* --enableplugin=subscription-manager --enableplugin=product-id 1>/tmp/stdout 2>/tmp/stderr [root@jsefler-5 ~]# cat /tmp/stdout Loaded plugins: product-id, subscription-manager repo id repo name status rhel-5-server-cf-tools-1-rpms Red Hat CloudForms Tools for RHEL 5 (RPMs) 35 rhel-5-server-rpms Red Hat Enterprise Linux 5 Server (RPMs) 16,021 rhel-ha-for-rhel-5-server-rpms Red Hat Enterprise Linux High Availability 217 rhel-rs-for-rhel-5-server-rpms Red Hat Enterprise Linux Resilient Storage 227 repolist: 16,500 [root@jsefler-5 ~]# cat /tmp/stderr [root@jsefler-5 ~]# VERIFIED: non-error information from yum subscription-manager plugin is printed to stdout. 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-2014-1225.html |