Skip to content

release: link /etc/pegasus/pegasus.properties into the planner's sysconfdir - #677

Merged
kthare10 merged 2 commits into
mainfrom
develop
Nov 11, 2026
Merged

kthare10 merged 2 commits into
mainfrom
develop

Conversation

@kthare10

Copy link
Copy Markdown
Contributor

Promotes the following, merged into develop after #674, to main.

Closes #675

Included (reviewed and merged into develop):

  • fix(build): link /etc/pegasus/pegasus.properties into the planner's sysconfdir #676: at image build, docker/pegasus/link-system-properties.sh asks the packaged planner which sysconfdir it uses (Pegasus.cli._java.get_system_properties(), which is <venv>/.../Pegasus/data/etc). It then symlinks /etc/pegasus/pegasus.properties there, so the JSON monitord encoding and the AMQP workflow catalog apply to runs planned in the image. It does nothing once Pegasus reports /etc/pegasus. The Dockerfile and the EL9 OOD image both run it.

Merging this publishes :main, which production pulls on the next pod restart.

Not covered: hosted runs are planned and monitored on the AP, so AMQP for them also needs the same link on the AP (salt, studio-system).
Not yet checked by hand on :develop: whether pegasus.properties exists as a link in /usr/lib/pegasus/venv/lib/python3.13/site-packages/Pegasus/data/etc in a fresh pod.

…ysconfdir

The packaged Pegasus 6.0 planner reads pegasus.properties only from
<venv>/.../Pegasus/data/etc, so the image's system properties (JSON
monitord encoding, AMQP workflow catalog) were never applied. At build,
ask Pegasus.cli._java.get_system_properties() where it looks and symlink
the system file there; no-op once that is /etc/pegasus. Shared by the
Dockerfile and the EL9 OOD image.

Closes #675
fix(build): link /etc/pegasus/pegasus.properties into the planner's sysconfdir
@kthare10
kthare10 merged commit cc4475e into main Nov 11, 2026
3 of 4 checks passed
@kthare10
kthare10 deleted the develop branch November 11, 2026 18:42
@kthare10
kthare10 restored the develop branch November 11, 2026 18:42
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.

Packaged Pegasus ignores /etc/pegasus/pegasus.properties (AMQP and JSON monitord settings never applied)

1 participant