Bug #11583
Updated by François ARMAND about 7 years ago
Rudder create DSC based rule and group, even when there is no DSC plugin installed.
The problem is that the Technique dsc-common only comes with the plugin. So we are ending with a directive using a non-existing version of a Techniques, which is an error.
At least on one case, it lead to an user not being able to regenerate policies with the message:
<pre>
Policy update process was stopped due to an error:
⇨ Policy update error for process '932' at 2017-10-04 11:00:20
⇨ Cannot build Rule vals
⇨ Could not find configuration vals
⇨ Version '1.0' of technique 'dsc-common' is not available for directive 'DSC Based agent configuration' [dsc-common-all]
</pre>
I was not able to reproduce that problem on a fresh install, so perhaps the problem only happens if the missing technique is used - which it shouldn't, so perhaps it was in conjunction with #11168.
For now, I'm setting it in "critical", because no generation without workaround is hardcore. We may decrease the severity when we understand the root cause and/or find a workaround.
*** WORAROUND ***
*If your generation is broken because of that one + #11168 and you don't actually have any windows node, you can workaround the problem, see: https://www.rudder-project.org/redmine/issues/11168#note-10*