Bug 576223

Summary: rhn-profile-sync do not write errors to stderr
Product: [Community] Spacewalk Reporter: Miroslav Suchý <msuchy>
Component: ClientsAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.9CC: jpazdziora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhn-client-tools-1.6.16-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-22 16:51:32 UTC Type: ---
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:    
Bug Blocks: 723481    

Description Miroslav Suchý 2010-03-23 15:01:20 UTC
Description of problem:
rhn-profile-sync do not write errors to stderr

Version-Release number of selected component (if applicable):
rhn-client-tools-0.9.4-1

How reproducible:
anytime

Steps to Reproduce:
1. make some bug in code
2. run rhn-profile-sync >/tmp/o
3. no output
  
Actual results:
in /tmp/o is error. in my case:
  File "/usr/lib64/python2.6/xmlrpclib.py", line 703, in dump_nil
    raise TypeError, "cannot marshal None unless allow_none is enabled"
<type 'exceptions.TypeError'>: cannot marshal None unless allow_none is enabled


Expected results:
this error should go to stderr and therefore be in on screen. copy should remain in /var/log/up2date as is now.

Additional info:

Comment 1 Jan Pazdziora (Red Hat) 2010-11-19 16:06:00 UTC
Mass-moving to space13.

Comment 2 Miroslav Suchý 2011-04-11 07:34:37 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 3 Miroslav Suchý 2011-04-11 07:37:36 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 4 Jan Pazdziora (Red Hat) 2011-07-20 11:53:17 UTC
Aligning under space16.

Comment 5 Jan Pazdziora (Red Hat) 2011-09-09 14:10:29 UTC
Fixed in Spacewalk master, 977cd77d51c2c4b784d1c899142d39eb3fd99747.

# rhn-profile-sync  > /dev/null
An error has occurred:
exceptions.TypeError
See /var/log/up2date for more information

Comment 6 Milan Zázrivec 2011-12-22 16:51:32 UTC
Spacewalk 1.6 has been released.