Project

Profile

Help

Issue #1655

pulp task workers connect to mongo before forking

Added by semyers over 5 years ago. Updated over 2 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

When celery task workers start up, the connect to mongo before forking off the process that actually works tasks. I've isolated the current known locations where the forked workers connect to mongo and wrapped them with a context manager to suppress them[0], but the initial connection(s) that happen(s) before the worker is still not found.

My debugging method used to find the post-fork connections was to rpdb.set_trace() immediately after pymongo raises the connect before fork warning; a similar method may be helpful in finding connections created pre-fork.

[0]: https://pulp.plan.io/issues/1580


Related issues

Related to Pulp - Issue #1580: Cannot Download Published RPMsCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by semyers over 5 years ago

  • Related to Issue #1580: Cannot Download Published RPMs added

#2 Updated by bmbouter over 5 years ago

  • Priority changed from Low to Normal
  • Triaged changed from No to Yes

#4 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

#5 Updated by dkliban@redhat.com over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

This is not going to be fixed for pulp 2. Pulp 3 does not rely on Mongo.

Please register to edit this issue

Also available in: Atom PDF