Commit c41bf04
Fix gunicorn control socket path causing Permission denied on k8s rolling updates
gunicorn 23.x introduced a control socket (gunicornc) that defaults to
gunicorn.ctl relative to the working directory. Since pulpcore-content sets
its CWD to WORKING_DIRECTORY (/var/lib/pulp/tmp by default), the socket
lands on the shared PVC and persists across pod restarts, causing Permission
denied when a new pod tries to recreate it during a rolling update.
Default to /tmp/pulpcore-content.ctl, which is pod-local ephemeral storage.
Users who want a different path can override via gunicorn.conf.py.
fixes: #7574
Assisted-by: Claude Code
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent fc59772 commit c41bf04
2 files changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
0 commit comments