Project

General

Profile

Actions

Bug #4837

closed

Copy of ncf files on the Policy Server leave removed files, resulting in duplicate promises if we rename or move files

Added by Nicolas CHARLES almost 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
1
Category:
System techniques
Target version:
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

Also available in: Atom PDF