can't read PID from lock file due to exception if gitfs_global_lock is enabled #34114
Labels
Bug
broken, incorrect, or confusing behavior
Core
relates to code central or existential to Salt
File Servers
fixed-pls-verify
fix is linked, bug author to confirm fix
P3
Priority 3
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description of Issue/Question
I've got following error messages in the master log:
Steps to Reproduce Issue
enable gitfs_global_lock (which is default)
Create empty file:
/var/cache/salt/master/gitfs/e46e9d09015aaab557a04b37c7c2cbe61110cb6bb584e625760b5b38fcd8bd60/.git/update.lk
It seems we are missing one corner case, we have https://github.com/saltstack/salt/blob/develop/salt/utils/gitfs.py#L599 call to failhard, and we do failhard if pid == 0.
Versions Report
The text was updated successfully, but these errors were encountered: