Bug 515374

Summary: OSAD Bare Except Makes Debugging Painful
Product: [Community] Spacewalk Reporter: Jonathan Steffan <jonathansteffan>
Component: ServerAssignee: Jan Pazdziora <jpazdziora>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.5CC: jpazdziora
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: 2011-01-27 12:31:39 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: 653453    

Description Jonathan Steffan 2009-08-03 23:07:10 UTC
Description of problem:
There is a bare expect (likely many) that makes debugging osad very painful. Even running with 'osad -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv.... etc' doesn't allow this traceback to be presented.

Version-Release number of selected component (if applicable):
osad-5.2.0-1.el5

How reproducible:
Always.

Steps to Reproduce:
1. Try to debug SSL issues with osad.
  
Actual results:
No useful information.

Expected results:
Useful information ... especially with an elevated debug level.

Additional info:
The bare except that caught most of my SSL issues is: osad.py:153 I had to remove that bare except to diagnose SSL issues.

Comment 1 Jan Pazdziora 2010-11-19 16:02:37 UTC
Mass-moving to space13.

Comment 2 Jan Pazdziora 2010-11-26 15:02:48 UTC
Taking.

Comment 3 Jan Pazdziora 2010-11-26 15:03:25 UTC
Jonathan, could you please attach proposed patch? Thanks, Jan

Comment 4 Jan Pazdziora 2011-01-27 12:31:39 UTC
We don't have patch nor info which would show the intended behaviour. Closing.