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 over 8 years ago. Updated over 8 years ago.

Status:
Released
Priority:
1
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
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 #1

Updated by Nicolas CHARLES over 8 years ago

  • Status changed from New to Pending technical review
  • Assignee set to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/361
Actions #2

Updated by Nicolas CHARLES over 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset policy-templates:commit:05c18a6ee5c88b3d796053b132c8111ec06b62cd.

Actions #3

Updated by Jonathan CLARKE over 8 years ago

Applied in changeset policy-templates:commit:6264dfdf28ca718bf8df84223e2f90320b72ea9e.

Actions #4

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.9.5 (announcement , changelog) and 2.10.1 (announcement , changelog), which were released today.

Actions

Also available in: Atom PDF