Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 548751

Summary: "IOError: [Errno 32] Broken pipe" when running `spacewalk-report entitlements | head`
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: New FeatureAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 530   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-07 14:10:56 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: 518257    

Description Jan Hutař 2009-12-18 14:09:24 UTC
Description of problem:
When I run `spacewalk-report entitlements | head` I'm getting traceback.


Version-Release number of selected component (if applicable):
spacewalk-reports-0.7.0-2.el5sat


How reproducible:
always


Steps to Reproduce:
1. # spacewalk-report entitlements | head


Actual results:
organization_id,organization,entitlement_type,entitlement,used,total
1,Red Hat SatTeam,system,RHN Management Entitled Servers,3,8000
[...]
1,Red Hat SatTeam,channel,RHEL Cluster-Storage,0,1000
Traceback (most recent call last):
  File "/usr/bin/spacewalk-report", line 150, in ?
    writer.writerow(outrow)
IOError: [Errno 32] Broken pipe


Expected results:
no traceback

Comment 1 Jan Pazdziora (Red Hat) 2010-01-04 11:30:40 UTC
Fixed in Spacewalk master b9f2bbc46d1d4c11e4f8e1dd1abfbc27920a401d, fixed in SATELLITE-5.3 9bc4f7b3f65a071eed5031f385720e626b0c6633.

Comment 3 Jan Pazdziora (Red Hat) 2010-01-04 14:13:15 UTC
Tagged and built as spacewalk-reports-0.7.1-1.

Comment 4 Jan Hutař 2010-01-07 14:07:49 UTC
Tested using rh-tests-RHN-Satellite-Other-Sanity-reporting-general-1.0-11.

Comment 5 Jan Pazdziora (Red Hat) 2010-01-07 14:10:56 UTC
Released in errata http://rhn.redhat.com/errata/RHEA-2010-0015.html