Bug 991580 - /usr/libexec/rhsmd -s --debug is no longer debugging to stdout
/usr/libexec/rhsmd -s --debug is no longer debugging to stdout
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager (Show other bugs)
5.10
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Carter Kozak
IDM QE LIST
: Regression
Depends On:
Blocks: rhsm-rhel510
  Show dependency treegraph
 
Reported: 2013-08-02 14:49 EDT by John Sefler
Modified: 2013-09-30 19:15 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-30 19:15:51 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Sefler 2013-08-02 14:49:08 EDT
Description of problem:
/usr/libexec/rhsmd has a --debug option that is supposed to "Display debug messages".  This function seems to have regressed from former subscription-manager versions.  Currently no debug information is being displayed.

Steps to Reproduce:
Register system and then...
[root@jsefler-5 ~]# rpm -q subscription-manager python-rhsm
subscription-manager-1.8.15-1.el5
python-rhsm-1.8.15-1.el5
[root@jsefler-5 ~]# /usr/libexec/rhsmd -s --debug
[root@jsefler-5 ~]# 


Actual results:
nothing is being displayed to stdout


Expected results (taken from former version):
[root@rhsm-accept-rhel5 ~]# rpm -q subscription-manager python-rhsm
subscription-manager-1.0.24-1.el5
python-rhsm-1.0.10-1.el5
[root@rhsm-accept-rhel5 ~]# /usr/libexec/rhsmd -s --debug
System has one or more certificates that are not valid
['69']
[]
[root@rhsm-accept-rhel5 ~]# 


Additional info:
I suspect the lack of debug info is related to the new server-side compliance calculations versus the former client-side compliance calculations.
Comment 2 Carter Kozak 2013-08-05 11:18:08 EDT
commit dd9b53c39c27091d9185f9d53e5a3acae3905f7a
Author: ckozak <ckozak@redhat.com>
Date:   Fri Aug 2 15:02:49 2013 -0400

    991580: add rhsmd debug to stdout
Comment 5 Sharath Dwaral 2013-08-07 09:37:55 EDT
Version:

# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-gui-1.8.18-1.el5
subscription-manager-migration-data-1.11.3.2-1.git.0.14f9d59.el5
python-rhsm-1.8.16-1.el5
subscription-manager-migration-1.8.18-1.el5
subscription-manager-1.8.18-1.el5
subscription-manager-firstboot-1.8.18-1.el5
python-rhsm-debuginfo-1.8.16-1.el5
subscription-manager-debuginfo-1.8.18-1.el5

Verification:

System unregistered:

#  /usr/libexec/rhsmd -s --debug
The system is not currently registered.
In order for Subscription Manager to provide your system with updates, your system must be registered with the Customer Portal. Please enter your Red Hat login to ensure your system is up-to-date.

After Registering:

#  /usr/libexec/rhsmd -s --debug
This system is missing one or more subscriptions. Please run subscription-manager for more information.

Moving bug to VERIFIED
Comment 7 errata-xmlrpc 2013-09-30 19:15:51 EDT
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-1332.html

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