Task #3430
closed
Document worker commands themselves in install doc
Status:
CLOSED - CURRENTRELEASE
Description
I think we should document the commands a user could run in the foreground when following the PyPI install docs I think the commands would be:
/path/to/python/bin/celery worker -A pulpcore.tasking.celery_app:celery -n resource_manager@%%h -Q resource_manager -c 1 --events --umask 18
/path/to/python/bin/celery worker -A pulpcore.tasking.celery_app:celery -n reserved_resource_worker-1@%%h -Q reserved_resource_worker-1 -c 1 --events --umask 18
/path/to/python/bin/celery worker -A pulpcore.tasking.celery_app:celery -n reserved_resource_worker-2@%%h -Q reserved_resource_worker-2 -c 1 --events --umask 18
- Tracker changed from Issue to Task
- % Done set to 0
- Sprint Candidate changed from No to Yes
I'm hoping to add this to the sprint.
Not that there isn't value in doing this work, but the only distributions I can think of that don't use SystemD are:
- RHEL/CentOS 6 and below
- Debian 7 and below (LTS support for v7 expires in May, post-beta but pre-GA)
- Ubuntu versions from prior to mid-2015, of which 14.04 LTS is the only one still supported (until May 2019)
- Gentoo
- Random "niche" distributions like Devuan, NixOS, Slackware etc. that people would be unlikely to run in production
So, personally, I think it would be fine to assume the presence of systemd and leave a note leading to docs for non-systemd users.
If you think the change would make the docs simpler regardless, then by all means go for it.
- Subject changed from Document worker commands themselves in install doc and move systemd to another area to Document worker commands themselves in install doc
- Description updated (diff)
dalley, thanks for pointing out how systemd is really in all the places. I've removed the changes to the systemd docs, and I'm wanting to add the foreground commands for users who want to run Pulp before configuring systemd. What do others think about this?
This doesn't shorten our install docs any, but we can solve that separately.
- Groomed changed from No to Yes
- Status changed from NEW to ASSIGNED
- Assignee set to dalley
- Status changed from ASSIGNED to POST
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Sprint/Milestone set to 3.0.0
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF
Document worker commands in install doc
closes #3430 https://pulp.plan.io/issues/3430