Bug 683968 - leftover DEBUG statements from development are being logged to stderr - should be removed
Summary: leftover DEBUG statements from development are being logged to stderr - shoul...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: python-rhsm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 568421
TreeView+ depends on / blocked
 
Reported: 2011-03-10 19:46 UTC by John Sefler
Modified: 2013-01-10 10:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:35:26 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0608 0 normal SHIPPED_LIVE new package: python-rhsm 2011-05-18 17:56:26 UTC

Description John Sefler 2011-03-10 19:46:24 UTC
Description of problem:
After subscribing to a subscription that has "requiredTags" in the granted entitlement's contentNamespace, running yum repolist will throw a DEBUG message when there is not enough installed product certs that "provides" all of the required tags. 


Version...
[root@jsefler-onprem03 ~]# rpm -q python-rhsm
python-rhsm-0.95.4-1.git.0.1189f1a.el6.noarch

ssh root.redhat.com yum repolist enabled
--disableplugin=rhnplugin
Stdout:
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
repo id repo name status
always-enabled-content always-enabled-content 0
content-label content 0
repolist: 0
Stderr:
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG1', skipping content:
tagged-content
DEBUG:rhsm-app.repolib:Missing required tag 'TAG2', skipping content:
tagged-content
INFO:rhsm-app.repolib:repos updated: 12
https://cdn.redhat.com/foo/path/always/repodata/repomd.xml: [Errno 14] HTTP
Error 403 : https://cdn.redhat.com/foo/path/always/repodata/repomd.xml
Trying other mirror.
ExitCode: 0

Comment 2 James Bowes 2011-03-21 13:50:58 UTC
applied to master and RHEL6

Comment 4 John Sefler 2011-03-21 20:05:36 UTC
VERIFYING VERSION...
[root@jsefler-onprem-server ~]# rpm -q subscription-manager
subscription-manager-0.95.5-1.git.24.5ce95d1.el6.x86_64
[root@jsefler-onprem-server ~]# rpm -q python-rhsm
python-rhsm-0.95.4-1.git.1.7bf4128.el6.noarch


[root@jsefler-onprem-server ~]# subscription-manager register --username=testuser1 --password=password
cb33582d-8ac7-4a18-97c8-c37b69ba024e jsefler-onprem-server.usersys.redhat.com
[root@jsefler-onprem-server ~]# subscription-manager list --available


ProductName:       	Awesome OS with up to 4 virtual guests
ProductId:         	awesomeos-virt-4         
PoolId:            	8a90f8b42ed9ca4c012ed9cae68d0136
Quantity:          	40                       
Expires:           	2012-03-19    

[root@jsefler-onprem-server ~]# subscription-manager subscribe --pool=8a90f8b42ed9ca4c012ed9cae68d0136
[root@jsefler-onprem-server ~]# 
[root@jsefler-onprem-server ~]# openssl x509 -text -in /etc/pki/entitlement/3963435792298502355.pem | egrep -A1 1.3.6.1.4.1.2312.9.2...1.2
            1.3.6.1.4.1.2312.9.2.2.1.2: 
                ..tagged-content
--
            1.3.6.1.4.1.2312.9.2.1.1.2: 
                ..always-enabled-content
--
            1.3.6.1.4.1.2312.9.2.0.1.2: 
                ..never-enabled-content

[root@jsefler-onprem-server ~]# openssl x509 -text -in /etc/pki/entitlement/3963435792298502355.pem | egrep -A1 1.3.6.1.4.1.2312.9.2...1.10
            1.3.6.1.4.1.2312.9.2.2.1.10: 
                ..TAG1,TAG2


[root@jsefler-onprem-server ~]# yum repolist enabled 
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
https://cdn.redhat.com/foo/path/always/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403"
Trying other mirror.
repo id                                                               repo name                                                              status
always-enabled-content                                                always-enabled-content                                                 0
content-label                                                         content    


^^^ VERIFIED - DEBUG statements have been removed from stderr

Comment 5 errata-xmlrpc 2011-05-19 13:35:26 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0608.html


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