#4201 Celery nodes naming missing(?)
Closed: Fixed 8 months ago by wombelix. Opened 6 years ago by ark74.

When setting multiple celery workers,

  • main worker
  • gitolite
  • ci

I'm looking at,

Jan 14 08:55:32 qemu celery[26037]: 2019-01-14 08:55:32,083 [WARNING] celery.redirected: /opt/pag_01/pag_01-server/venv/lib/python3.5/site-packages/celery/app/control.py:52: DuplicateNodenameWarning: Received multiple replies from node name: celery@qemu.
Jan 14 08:55:32 qemu celery[26037]: Please make sure you give each node a unique nodename using
Jan 14 08:55:32 qemu celery[26037]: the celery worker `-n` option.
Jan 14 08:55:32 qemu celery[26037]:   pluralize(len(dupes), 'name'), ', '.join(sorted(dupes)),
Jan 14 08:55:32 qemu celery[26037]: 2019-01-14 08:55:32,086 [INFO] celery.worker.consumer.mingle: mingle: all alone
Jan 14 08:55:32 qemu celery[26037]: 2019-01-14 08:55:32,132 [INFO] celery.apps.worker: celery@qemu ready.

Maybe using a -n pagure_$name
e.g. -n pagure_ci or -n pagure_gitoline

For the systemd files would be a solution to it.


Metadata Update from @pingou:
- Issue tagged with: RFE, easyfix

5 years ago

Metadata Update from @pingou:
- Issue set to the milestone: Coming 3 months

5 years ago

Is somebody working on this issue? I would like to take it.

Metadata Update from @wombelix:
- Issue assigned to wombelix

2 years ago

I'm working on a FreeBSD Port, used the systemd files as blueprint and came across the same problem, so I guess it's still a thing, I will verify it and add node names to the systemd service files if necessary.

Metadata Update from @wombelix:
- Issue set to the milestone: 5.13 (was: Coming 3 months)

2 years ago

Metadata Update from @wombelix:
- Issue set to the milestone: 6.0 (was: 5.13)

8 months ago

That's part of the master branch in the meantime and I think we also backport it into the upcoming 5.14 release. Fixed.

Metadata Update from @wombelix:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

8 months ago

Log in to comment on this ticket.

Metadata