Actions
Bug #4837
closedCopy of ncf files on the Policy Server leave removed files, resulting in duplicate promises if we rename or move files
Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
System techniques
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
On the policy server, the copy of ncf files from /var/rudder/configuration-repository/ncf to /var/rudder/ncf/local (and same with copy to /var/rudder/ncf/common is made ithout purge
So if someone experiments in the repo, and decides to rename a file, this file will exist once in the /var/rudder/configuration-repository/ncf directory, but twice on the /var/rudder/ncf/local
Every host will then download multiple copies of this files, resulting in duplicate bundles or bodies, invalid promises, and broken rudder
This copy should e made with purge to avoid this issue
Actions