Description of problem:
python-saslwrapper is a library that sits on top of sasl. It appears that if this library is installed, we get different errors back from SASL when the "plain" mechanism is not found. This results in python-kombu not skipping the plain mech and trying anonymous, which results in pulp_celerybeat and other services not starting.
Version-Release number of selected component (if applicable): 2.6.0 beta 4, with python-kombu-3.0.24-3.pulp.el7.noarch
How reproducible: every time
Steps to Reproduce:
1. install pulp, and do not set "auth=no" in qpidd.conf
2. install python-saslwrapper
3. attempt to start pulp_celerybeat, log will contain errors
4. yum erase python-saslwrapper and restart pulp_celerybeat, log will not contain errors
lots of errors in pulp log:
celery.beat:ERROR: beat: Connection error: Error in sasl_client_start (-4) SASL(-4): no mechanism available: . Trying again in 32.0 seconds...
This will retry 100 times before attempting to try the ANONYMOUS mechanism.
you should see something like this in the log (normal startup):
kombu.transport.qpid:INFO: Connected to qpid with SASL mechanism ANONYMOUS
pulp 2.6.0 beta 5
Jan 30 21:52:17 ibm-x3550m3-07 pulp: kombu.transport.qpid:INFO: Connected to qpid with SASL mechanism ANONYMOUS
Moved to https://pulp.plan.io/issues/659