Project

Profile

Help

Task #3430

Document worker commands themselves in install doc

Added by bmbouter over 1 year ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Documentation
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 34

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

Associated revisions

Revision ede22e6f View on GitHub
Added by dalley over 1 year ago

Document worker commands in install doc

closes #3430
https://pulp.plan.io/issues/3430

Revision ede22e6f View on GitHub
Added by dalley over 1 year ago

Document worker commands in install doc

closes #3430
https://pulp.plan.io/issues/3430

Revision ede22e6f View on GitHub
Added by dalley over 1 year ago

Document worker commands in install doc

closes #3430
https://pulp.plan.io/issues/3430

History

#1 Updated by bmbouter over 1 year ago

  • Tracker changed from Issue to Task
  • % Done set to 0

#2 Updated by bmbouter over 1 year ago

  • Sprint Candidate changed from No to Yes

I'm hoping to add this to the sprint.

#3 Updated by dalley over 1 year ago

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.

#4 Updated by bmbouter over 1 year ago

  • 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.

#5 Updated by dalley over 1 year ago

  • Groomed changed from No to Yes

#6 Updated by jortel@redhat.com over 1 year ago

  • Sprint set to Sprint 34

#7 Updated by dalley over 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dalley

#8 Updated by dalley over 1 year ago

  • Status changed from ASSIGNED to POST

#9 Updated by dalley over 1 year ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#10 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#11 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF