Bug #11583
closedRudder creates DSC based group and rules and breaks policy generation
Description
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:
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]
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
Updated by François ARMAND about 7 years ago
- Project changed from Rudder tools to Rudder
- Category set to Web - Config management
- Target version set to 4.2.1
Updated by François ARMAND about 7 years ago
- Related to Bug #11168: Search believe that CFEngine agents with "dsc" in their keys are also DSC agent added
Updated by François ARMAND about 7 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND about 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/1756
Updated by Alexis Mousset about 7 years ago
- Subject changed from Rudder create DSC based group and rules and brokes policy generation to Rudder creates DSC based group and rules and breaks policy generation
Updated by François ARMAND about 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|89806998b9608745865c8c5ffdbb44157e2880dd.
Updated by François ARMAND about 7 years ago
- Description updated (diff)
Make workaround more findable
Updated by Vincent MEMBRÉ about 7 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.2.1 which was released today.
- 4.2.1: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/