Bug 797202 - No module named faulthandler
Summary: No module named faulthandler
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: imagefactory
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: rc
Assignee: Ian McLeod
QA Contact: Martin Kočí
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-24 14:45 UTC by Dave Johnson
Modified: 2012-03-12 16:20 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-12 16:20:12 UTC


Attachments (Terms of Use)

Description Dave Johnson 2012-02-24 14:45:14 UTC
Description of problem:
====================================
Seeing this at the top of imagefactory.log while using imagefactory-1.0.0rc6-1.el6.noarch from the aeolus puddle

2012-02-23 16:51:03,398 DEBUG root thread(MainThread) Message: Unable to start faulthandler - multi-thread tracebacks will not be available
Traceback (most recent call last):
  File "/usr/bin/imagefactory", line 160, in main
    import faulthandler
ImportError: No module named faulthandler
2012-02-23 16:51:03,703 DEBUG paste.httpserver.


Version-Release number of selected component (if applicable):
================================================================
imagefactory-1.0.0rc6-1.el6.noarch

Comment 1 Brad P. Crochet 2012-02-27 13:42:15 UTC
This is an optional module. Perhaps the stack trace should be suppressed so as not to raise alarms and clean it up?

Comment 2 Dave Johnson 2012-02-27 14:08:16 UTC
Me personally, I like clean logs so I am in favor of suppressing the stack trace of an optional module.

Comment 3 Aziza Karol 2012-03-07 14:40:43 UTC
I also got this:

012-03-06 22:28:41,897 INFO root thread(MainThread) Message: Launched as daemon...
2012-03-06 22:29:00,865 DEBUG root thread(MainThread) Message: Unable to start faulthandler - multi-thread tracebacks will not be available
Traceback (most recent call last):
  File "/usr/bin/imagefactory", line 160, in main
    import faulthandler
ImportError: No module named faulthandler


Version-Release number of selected component (if applicable):
================================================================
imagefactory-1.0.0rc8-1.el6.noarch

Comment 4 Ian McLeod 2012-03-12 16:20:12 UTC
This is an optional module that we only try to load if we are started in debug mode.  In debug mode our log is the opposite of "clean".  It is extremely wordy and dirty.

The message itself is non-fatal and is just letting people know that, although they have asked for extra debugging, they may not get all of it, since we were unable to load the faulthandler module and hence:

"multi-thread tracebacks will not be available"

If you don't like the message you can turn off debug.

Closing as NOTABUG based on this.  If anyone disagrees please reopen with further justification.


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