Bug 1394970

Summary: event_queue bombs with traceback on EL6
Product: Red Hat Satellite Reporter: Chris Roberts <chrobert>
Component: InstallationAssignee: Chris Roberts <chrobert>
Status: CLOSED ERRATA QA Contact: Roman Plevka <rplevka>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.4CC: bbuckingham, bkearney, chrobert, jcallaha, mbacovsk, rplevka, zhunting
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
URL: http://projects.theforeman.org/issues/17331
Whiteboard:
Fixed In Version: katello-installer-base-3.0.0.69-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1405508 (view as bug list) Environment:
Last Closed: 2017-01-26 10:45:38 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:
Bug Depends On:    
Bug Blocks: 1405508    

Description Chris Roberts 2016-11-14 22:26:54 UTC
Description of problem:
event queue on rhel 6 explodes with python traceback because '' are not used

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

6.1 -> 6.2

How reproducible:


Steps to Reproduce:
1. install 6.1 on EL6
2. try to upgrade to 6.2
3. watch and enjoy with some popcorn

Actual results:

[root@sat61-rhel6 post]# qpid-stat -q --ssl-certificate=/etc/pki/katello/qpid_client_striped.crt -b amqps://localhost:5671 | grep :event | wc -l
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
  File "/usr/lib64/python2.6/threading.py", line 484, in run
  File "/usr/lib/python2.6/site-packages/qpid/selector.py", line 155, in run
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'time'

Expected results:
event_queue removed

Comment 2 Bryan Kearney 2016-11-15 01:19:45 UTC
Upstream bug component is Installer

Comment 4 Chris Roberts 2016-11-17 18:06:38 UTC
Traceback happens randomly, not just on installer run. But this causes issues for upgrades where it shows the user something went wrong during the queue removal but in reality this is caused by qpid-stat but the queue did get removed ok

https://paste.fedoraproject.org/483909/40169014/

Comment 5 Chris Roberts 2016-11-17 18:07:43 UTC
Each time I have been able to replicate the traceback the queue is removed. So this BZ is to supress the traceback during the installer run

Comment 6 Roman Plevka 2017-01-16 13:48:09 UTC
VERIFIED

- reproduced while upgrading 6.1.11 to 6.2.6 (no popcorn was required)

- verified for satellite-6.2.7-1.0.el6sat.noarch

no qpid-related tracebacks on stderr

Comment 8 errata-xmlrpc 2017-01-26 10:45:38 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.

https://access.redhat.com/errata/RHBA-2017:0197