Bug 1087620 - yum subscription-manager plugin puts non-error information on stderr
Summary: yum subscription-manager plugin puts non-error information on stderr
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.11
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact: John Sefler
URL:
Whiteboard:
Depends On: 1017354
Blocks: rhsm-rhel511
TreeView+ depends on / blocked
 
Reported: 2014-04-14 20:29 UTC by John Sefler
Modified: 2014-09-16 00:22 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1017354
Environment:
Last Closed: 2014-09-16 00:22:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1225 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2014-09-16 04:15:23 UTC

Comment 1 RHEL Program Management 2014-04-14 20:38:26 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 3 John Sefler 2014-05-23 20:52:21 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.

Comment 6 errata-xmlrpc 2014-09-16 00:22: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.

http://rhn.redhat.com/errata/RHBA-2014-1225.html


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