Skip to content

Make the minted atlpilo2 VOMS proxy readable by the atlpan Apache user - #328

Merged
EdwardKaravakis merged 1 commit into
mainfrom
refresh-atlpilo2-voms-proxy
Nov 18, 2026
Merged

EdwardKaravakis merged 1 commit into
mainfrom
refresh-atlpilo2-voms-proxy

Conversation

@EdwardKaravakis

Copy link
Copy Markdown
Member

Summary

  • Follow-up to panda-k8s#327, which introduced a bug live-verified on testbed today: voms-proxy-init in the new refresh loop runs as root, but Apache (which actually serves get_proxy over HTTP) runs as atlpan. voms-proxy-init -out defaults to mode 600, so every real get_proxy request since the fresh proxy landed crashed the WSGI worker handling it instead of returning a clean error - confirmed via panda_server_access_log (every request 500) and panda_server_error_log (the daemon process dying and restarting on each one).
  • This caused three consecutive JEDI job retries for a real test task to fail with the same pilot error 1177, even though the proxy's own VOMS content was correct (verified separately via voms-proxy-info).
  • Fix: chmod 644 the proxy file right after voms-proxy-init writes it.

Test plan

  • helm lint passes.
  • Applied the equivalent chmod live on testbed's panda-server-0 as an immediate hotfix and confirmed it resolves the issue; watching the next JEDI job retry to confirm get_proxy now returns 200 end-to-end.

panda-k8s#327's voms-proxy-init runs as root (the container's startup
script), but Apache - which actually serves get_proxy over HTTP - runs
as atlpan. voms-proxy-init's -out defaults to mode 600, so every real
get_proxy request since the fresh proxy landed crashed the WSGI worker
trying to open() a file it had no permission to read, rather than
returning a clean error - every single request failed with HTTP 500
and took down and restarted its daemon process. Found live on testbed:
every atlpilo2 pilot request failed with the same pilot error 1177
across three straight JEDI job retries after panda-server-0 picked up
#327's change, even though the proxy's own VOMS content was correct.

Add a chmod 644 right after voms-proxy-init writes the file.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@EdwardKaravakis
EdwardKaravakis merged commit 5e4127a into main Nov 18, 2026
4 checks passed
EdwardKaravakis added a commit that referenced this pull request Nov 19, 2026
Make the minted atlpilo2 VOMS proxy readable by the atlpan Apache user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant