Skip to content

feat: Fix harvester bootstrap command - #43

Merged
veprbl merged 5 commits into
PanDAWMS:mainfrom
veprbl:pr/harvester_boot
Sep 16, 2026
Merged

veprbl merged 5 commits into
PanDAWMS:mainfrom
veprbl:pr/harvester_boot

Conversation

@veprbl

@veprbl veprbl commented Sep 6, 2026 •

Copy link
Copy Markdown
Collaborator
  • Install python3.11, python3.11-libs, python3.11-devel, sqlite-devel via dnf
  • 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

Hermes Agent and others added 4 commits September 6, 2026 15:07
- 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
veprbl requested a balanced review from Copilot September 15, 2026 18:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

Comment thread docker-compose.yml
@veprbl
veprbl requested a review from wdconinc September 15, 2026 18:28
Comment thread docker-compose.yml Outdated
Comment thread docker-compose.yml
Comment thread docker-compose.yml
@veprbl
veprbl merged commit 486f18a into PanDAWMS:main Sep 16, 2026
1 check passed
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.

3 participants