Project

General

Profile

Actions

Feature #36902

closed

Support Pulpcore 3.39 installations

Added by Ian Ballou 7 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

Also available in: Atom PDF