Skip to content

Add POSC bypass filter for monitoring paths#3297

Merged
h2zh merged 3 commits into
PelicanPlatform:mainfrom
jhiemstrawisc:issue-3294
Apr 1, 2026
Merged

Add POSC bypass filter for monitoring paths#3297
h2zh merged 3 commits into
PelicanPlatform:mainfrom
jhiemstrawisc:issue-3294

Conversation

@jhiemstrawisc

@jhiemstrawisc jhiemstrawisc commented Mar 31, 2026

Copy link
Copy Markdown
Member

For now we're going to bypass the POSC plugin for monitoring paths. I took a small detour to clean up some hard-coded monitoring path strings in favor of the monitoring base namespace variable.

Note that this should NOT be merged until both this PR is merged, and a v0.6.6 of the repo is released (version updates currently staged in this PR)

Replace all scattered "/pelican/monitoring" string literals with the
existing server_utils.MonitoringBaseNs constant so the monitoring
base path is defined in exactly one place.
The POSC (Persist on Successful Close) plugin uses rename(2) to
atomically move files from a staging directory to their final
location. This fails when the source and destination are on
different filesystems, which is the case for monitoring paths in
Kubernetes deployments where the Origin's run location is on a
separate PVC from the storage exports.
@jhiemstrawisc jhiemstrawisc added this to the v7.25 milestone Mar 31, 2026
@jhiemstrawisc jhiemstrawisc requested a review from h2zh March 31, 2026 19:38
@jhiemstrawisc jhiemstrawisc added bug Something isn't working critical High priority for next release origin Issue relating to the origin component labels Mar 31, 2026
@jhiemstrawisc jhiemstrawisc linked an issue Mar 31, 2026 that may be closed by this pull request
@jhiemstrawisc

Copy link
Copy Markdown
Member Author

Okay, the upstream changes are all ready/merged.

@h2zh h2zh 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.

LGTM. Thanks for the cleanup!

@h2zh h2zh merged commit eaf244a into PelicanPlatform:main Apr 1, 2026
45 of 53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working critical High priority for next release origin Issue relating to the origin component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add POSC bypass for pelican monitoring data

2 participants