feat: Fix harvester bootstrap command - #43
Merged
Merged
Conversation
- Install python3.11, python3.11-libs, python3.11-devel, sqlite-devel via dnf - Copy _sqlite3 module to /usr/local/lib/python3.11/lib-dynload/ - Install rucio-clients, apsw, docker via pip - Use system Python 3.11 (/usr/local/bin/python3.11) which has _sqlite3 module - Add /usr/local/lib/python3.11/site-packages to PYTHONPATH for rucio-clients
The bootstrap rewrite replaced the backgrounded master.py plus 'echo $! > panda_harvester.pid' with a bare 'exec', so the PID file was never created. The healthcheck reads that file, so it could never report healthy and the container sat in 'starting' until CI gave up. Record the shell PID before exec (exec preserves the PID). This replaces a dead PYTHONPATH assignment that was never exported and is already supplied via the environment: block. Also raise the healthcheck start_period from 30s to 120s, since the dnf/pip bootstrap takes ~40s and so overran the old grace window.
veprbl
force-pushed
the
pr/harvester_boot
branch
from
September 15, 2026 18:04
cd8fc48 to
50851af
Compare
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The added HTTP configuration command fails during PanDA server startup.
Get a fresh assessment by requesting another Copilot review.
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Balanced
wdconinc
reviewed
Sep 16, 2026
wdconinc
approved these changes
Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.