Project

General

Profile

Actions

Feature #36902

closed

Support Pulpcore 3.39 installations

Added by Ian Ballou 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

The service file needs to change to work with Pulpcore 3.39. There is a new executable. Here is what I changed on my dev machine to make things work:

NOTE: pulpcore-api no longer accepts --max-requests-jitter.


pulpcore-api.service

...
#ExecStart=/usr/libexec/pulpcore/gunicorn pulpcore.app.wsgi:application \
#          --timeout 90 \
#          -w 5 \
#          --access-logfile - \
#          --access-logformat 'pulp [%({correlation-id}o)s]: %(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"'
ExecStart=/usr/local/bin/pulpcore-api --preload --timeout 90 --workers 5 --max-requests 800 --access-logfile - --access-logformat 'pulp [%({correlation-id}o)s]: %(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"'
...

pulpcore-content.service

...
#ExecStart=/usr/libexec/pulpcore/gunicorn pulpcore.content:server \
#          --timeout 90 \
#          --worker-class 'aiohttp.GunicornWebWorker' \
#          -w 9 \
#          --access-logfile -
ExecStart=/usr/local/bin/pulpcore-content  --preload --timeout 90  --workers 5 --access-logfile -
...

Actions #1

Updated by Ian Ballou 6 months ago

  • Description updated (diff)
Actions #2

Updated by Evgeni Golov 6 months ago

NOTE: pulpcore-api no longer accepts --max-requests-jitter.

this seems like a bug to me

Actions #3

Updated by Ian Ballou 6 months ago

I agree, the fact that it's missing is a bug. However it sounds like it isn't strictly necessary, so perhaps not a blocker?

Actions #4

Updated by Ian Ballou 6 months ago

Pulpcore issue for the jitter: https://github.com/pulp/pulpcore/issues/4679

Actions #5

Updated by The Foreman Bot 6 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ian Ballou
  • Pull request https://github.com/theforeman/puppet-pulpcore/pull/315 added
Actions #6

Updated by The Foreman Bot 6 months ago

  • Fixed in Releases 3.9.0 added
Actions #7

Updated by Ian Ballou 6 months ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF