Actions
Bug #17523
closederror when a technique with a directive attached change in 6.1 blocks all technique updates
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
If I change a technique (like motd), commit it, touch flag file /opt/rudder/etc/force_technique_reload and restart, I have the error
[2020-05-26 21:27:06] INFO com.normation.cfclerk.services.impl.TechniqueRepositoryImpl - Reloading technique library, found modified technique(s): ['motdConfiguration': updated (3.3: VersionUpdated)] [2020-05-26 21:27:06] DEBUG com.normation.rudder.services.policies.TechniqueAcceptationUpdater - Update acceptation datetime for: motdConfiguration [2020-05-26 21:27:07] DEBUG git-policy-archive - Archived technique library template: /var/rudder/configuration-repository/directives/systemSettings/systemManagement/motdConfiguration/activeTechniqueSettings.xml [2020-05-26 21:27:07] INFO bootstrap.liftweb.Boot - classpath [2020-05-26 21:27:07] DEBUG org.reflections.Reflections - going to scan these urls: jar:file:/opt/rudder/share/plugins/scale-out-relay/scale-out-relay.jar!/ [2020-05-26 21:27:07] INFO org.reflections.Reflections - Reflections took 46 ms to scan 1 urls, producing 2 keys and 2 values [2020-05-26 21:27:07] DEBUG com.normation.rudder.web.services.Section2FieldService - Is it a new directive ? false [2020-05-26 21:27:07] INFO application.plugin - Initializing plugin 'rudder-plugin-scale-out-relay': 6.1-1.4.0-SNAPSHOT [2020-05-26 21:27:07] INFO scale-out-relay - Checking for plugin status: enabled [2020-05-26 21:27:07] DEBUG com.normation.rudder.web.services.SaveDirectivesOnTechniqueCallback - Technique motdConfiguration changed => saving directive 'MOTD and pre-login banner' [6e1ae8f7-179a-47d7-9307-4eee5796f4e2] [2020-05-26 21:27:07] INFO com.normation.rudder.services.policies.DeployOnTechniqueCallback - Reload Technique library at start up [2020-05-26 21:27:07] DEBUG com.normation.rudder.services.policies.DeployOnTechniqueCallback - Ask for a policy update since technique library was reloaded (git revision tree: ce63ea5053dfee2f93804caa61571630c8b7b6bd [2020-05-26 21:27:07] ERROR bootchecks - Flag file '/opt/rudder/etc/force_technique_reload' but Techniques library reload failed, cause is: An error occured while updating <- Error when saving Active Technique af3745b9-b4f0-4140-a9bc-18c801a3a6a8 for technque motdConfiguration <- Inconsistency: Can not find directive with id '6e1ae8f7-179a-47d7-9307-4eee5796f4e2' in repository but it is viewed as a child of 'af3745b9-b4f0-4140-a9bc-18c801a3a6a8'. This is likely a bug, please report it.
Actions