Actions
Bug #16053
openWhen removing a category of techniques from the git repo, Rudder fails to reload-techniques the next time the script is runned
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
In the ansible-report plugin I tried to remove the category created in the prerm script. Works well but on the next run of "rudder server reload-techniques" I have:
rudder server reload-techniques error: Could not reload techniques from files Error: An error occured when updating the Technique library from file system cause:Error when trying to delete category with ID 'ActiveTechniqueCategoryId(ansible_report)' cause:Can not delete 'techniqueCategoryId=ansible_report,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuration': subordinate objects must be deleted first
If we retrigger the execution, everything will go fine.
Actions