Skip to content

Cache self test fails when drop privs is enabled #2129

Open
@h2zh

Description

@h2zh

Pelican Version: v7.14.2

Pelican Service:

  • Client
  • Plugin
  • Registry
  • Director
  • Origin
  • Cache
  • Other (please give the detail)

To Reproduce
When drop privs is enabled and cache server spins up, cache self test fails, then consequently crashes the cache webUI.

WARNING[2025-03-12T21:52:00Z] Self-test monitoring cycle failed:  self-test failed when generating the file: self-test directory does not exist at /run/pelican/cache/namespace/pelican/monitoring/selfTest: stat /run/pelican/cache/namespace/pelican/monitoring/selfTest: permission denied  

Expected behavior

DEBUG[2025-03-20T22:07:44Z] Self-test monitoring cycle succeeded at Thu Mar 20 22:07:44 UTC 2025 

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions