Actions
Issue #1152
closedPulp's Celery processes uses PLAIN sasl mech unexpectedly with Qpid
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.6.5
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
This bug causes an unexpected, random deadlock condition which can cause pulp_workers, pulp_resource_manager, or pulp_celerybeat to deadlock. This will likely cause tasks to appear stuck in the 'Waiting' state. You can confirm if one of your stuck processes was affected by this if you see a log line like the following when you restart. You may notice restart is also sluggish.
Please enter your password: Please enter your password: Please enter your password:
This is tracking the inclusion of an upstream Kombu fix. https://github.com/celery/kombu/issues/498
Along with the inclusion of the sasl mech selection change in kombu, the default broker string used by the [tasks] section of server.conf needs to have its 'guest@' removed. A Pulp release note needs to be made for this conf file change.
Actions
Adjusts Qpid broker string and includes Kombu SASL fixes.
This includes all the patches from before consolidated into one patch and also includes the fix for https://github.com/celery/kombu/issues/498
The pulp broker string for the [tasks] section is adjusted to not specify 'guest' as the default username. This will force Kombu to use ANONYMOUS auth by default.
https://pulp.plan.io/issues/1152 closes #1152