Issue #6756
closedPulp celery with Mongodb replica sets
Description
https://pulp.plan.io/issues/956 says that its fixed But I still see this issue when the first mongod in the replica set list is down celery does not reconnect
Loaded: loaded (/usr/lib/systemd/system/pulp_celerybeat.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sun 2020-05-17 00:32:09 PDT; 7min ago Process: 2445 ExecStart=/usr/bin/celery beat --app=pulp.server.async.celery_instance.celery --scheduler=pulp.server.async.scheduler.Scheduler (code=exited, status=1/FAILURE) Main PID: 2445 (code=exited, status=1/FAILURE)
May 17 00:32:09 pulpdr-front-az1. pulp[2445]: celery.beat:CRITICAL: (2445-58848) File "/usr/lib64/python2.7/site-packages/pymongo/pool.py", line 624, in _check May 17 00:32:09 pulpdr-front-az1. pulp[2445]: celery.beat:CRITICAL: (2445-58848) return self.connect() May 17 00:32:09 pulpdr-front-az1. pulp[2445]: celery.beat:CRITICAL: (2445-58848) File "/usr/lib64/python2.7/site-packages/pymongo/pool.py", line 509, in connect May 17 00:32:09 pulpdr-front-az1. pulp[2445]: celery.beat:CRITICAL: (2445-58848) _raise_connection_failure(self.address, error) May 17 00:32:09 pulpdr-front-az1 pulp[2445]: celery.beat:CRITICAL: (2445-58848) File "/usr/lib64/python2.7/site-packages/pymongo/pool.py", line 64, in _raise_co...on_failure May 17 00:32:09 pulpdr-front-az1 pulp[2445]: celery.beat:CRITICAL: (2445-58848) raise AutoReconnect(msg) May 17 00:32:09 pulpdr-front-az1. pulp[2445]: celery.beat:CRITICAL: (2445-58848) AutoReconnect: pulpmongo2:27017: [Errno 111] Connection refused May 17 00:32:09 pulpdr-front-az1. systemd[1]: pulp_celerybeat.service: main process exited, code=exited, status=1/FAILURE May 17 00:32:09 pulpdr-front-az1. systemd[1]: Unit pulp_celerybeat.service entered failed state. May 17 00:32:09 pulpdr-front-az1. systemd[1]: pulp_celerybeat.service failed. Hint: Some lines were ellipsized, use -l to show in full.
Pulp version pulp-server-2.21.1-1.el7
Updated by dkliban@redhat.com almost 4 years ago
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 is in maintenance mode at this point. Please try out Pulp 3 which does not use MongoDB.