Actions
Bug #2855
closedRudder doesn't properly checks the folder name for techniques when writing them
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
If we have another folder in the /var/rudder/configuration-repository with the same file hierarchy than the techniques folders, then when writing promises (not at any other moment), the files read might come from the other folder.
Step to reproduce :- Copy the /var/rudder/configuration-repository/techniques to policies
- Garble completely the content of the files in /var/rudder/configuration-repository/policies
- add the /var/rudder/configuration-repository/policies folder to the git, and commit it
- do a modification (simple) in the /var/rudder/configuration-repository/techniques, and commit it (this step is mandatory for rudder to reload the technique lib)
- reload the technique library
Some files in the generated promises will be garbled (not all)
Note : I'm not sure if it would happen in 2.3.9, but that's most likely
Actions