"KeyError during shutdown" has returned



Cloud Services
Server: Token
4 years ago
3 years ago


(Reporter: rfkelly, Unassigned)


Firefox Tracking Flags

(Not tracked)


(Whiteboard: [qa+])



4 years ago
Per Bug 1040396 Comment 6:

Related to that:
Exception KeyError: KeyError(22260464,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored

So, the Key Error shows up in the hekad logs and the token error logs...

This is a janky python thing caused by some bad module shutdown ordering.  I thought we had a fix in place for it but it seems to be back.  Not a high priority but it would be good not to crowd the logs.
Whiteboard: [qa+]

Comment 1

3 years ago
Apparently this is a known bad interaction with gevent, caused by incorrect import order:


We should put some hooks in place to detect it and error out early rather than getting into this state that gives errors on shutdown.
You need to log in before you can comment on or make changes to this bug.