Project

General

Profile

Feature #36902

Updated by Ian Ballou 7 months ago

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. 

 <pre> 

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

 </pre>

Back