Actions
Bug #17862
closederror when importing techniques and running reload-techniques in 6.1
Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Web - Config management
Target version:
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:
No
Description
I unziped a full archive in /var/rudder/configuration-repository/ and executed
# rudder server reload-techniques error: Could not reload techniques from files Error: An error occured when updating the Technique library from file system cause:Accumulated: Error when automatically activating technique 'NTP_configuration'; cause was: Consistancy: Can not add a technique with id 'NTP_configuration' in user library. active technique 'activeTechniqueId=0075285c-8da9-4fc9-be46-3a9bf03f5f29,techniqueCategoryId=ncf_techniques,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuration}' is already defined with such a reference technique.
it does work but this is surprising
webapp logs says
[2020-06-29 12:55:45+0000] INFO com.normation.rudder.services.policies.TechniqueAcceptationUpdater - Automatically addi ng technique 'Desactivate_Telnet' in category 'User Techniques (ncf_techniques)' of active techniques library [2020-06-29 12:55:45+0000] INFO com.normation.rudder.services.policies.DeployOnTechniqueCallback - Technique library re loaded from REST API [2020-06-29 12:55:45+0000] ERROR com.normation.rudder.rest.v1.RestTechniqueReload - An error occured when updating the Technique library from file system <- Accumulated: Error when automatically activating technique 'NTP_configuration'; cause was: Consistancy: Can not add a technique with id 'NTP_configuration' in user library. active technique 'activeTechniqueId=0075285c-8da9-4fc9-be46-3a9bf03f5f29,techniqueCategoryId=ncf_techniques,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuration}' is already defined with such a reference technique.
Actions