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

Bug 1058871

Summary: patch Cumin to record the traceback in case of internal error
Product: Red Hat Enterprise MRG Reporter: Stanislav Graf <sgraf>
Component: cuminAssignee: Trevor McKay <tmckay>
Status: CLOSED ERRATA QA Contact: Tomáš Nováčik <tnovacik>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.4CC: eerlands, esammons, matt, tmckay, tnovacik
Target Milestone: 2.5Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cumin-0.1.5797-1 Doc Type: Bug Fix
Doc Text:
Cause: Cumin did not record actual traceback information when it experienced an internal failure Consequence: Debugging and assessing causes of failure was more difficult without traceback information. Fix: Traceback was added to cumin's log output. Result: Future internal errors will leave traceback information to improve debugging and assessment.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-28 16:48:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stanislav Graf 2014-01-28 16:46:15 UTC
Description of problem:
Sometimes cumin reports 
'INFO Response 500 Internal Error'
in the web.log. It would help debugging if in such case cumin also record the traceback in the log. Then engineer can evaluate the severity and the cause of the issue.

Version-Release number of selected component (if applicable):
cumin-0.1.5786-2 

How reproducible:
Very low

Steps to Reproduce:
1.Install cumin according to documentation.
2.Log in cumin as administrator.
3.Click on configuration tab.
4.Create new tag.
5.Add host localhost to the created tag and feature NodeAccess.
6.Try to activate wallaby configuration.
7.Activation fails - that's ok.
8.Delete created tag.
9.Create new tag.
10.Add host localhost and feature BaseDBVersion.
11.Activate wallaby configuration.

Actual results:
INFO Response 500 Internal Error

Expected results:
DEBUG Exception in wooly/server.py, generating redirect or Internal Error
Traceback (most recent call last):

Additional info:

Comment 2 Trevor McKay 2014-02-10 16:55:28 UTC
Fixed in revision 5797

Comment 4 Tomáš Nováčik 2014-02-18 09:25:50 UTC
Verified on rhel6i, rhel6x on cumin version cumin-0.1.5797-1.

Comment 7 errata-xmlrpc 2014-04-28 16:48:06 UTC
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/RHSA-2014-0440.html