Project

General

Profile

Bug #11583

Rudder creates DSC based group and rules and breaks policy generation

Added by François ARMAND 2 months ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Target version (plugin):
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
94

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


Related issues

Related to Rudder - Bug #11168: Search believe that CFEngine agents with "dsc" in their keys are also DSC agent Released

Associated revisions

Revision 89806998
Added by François ARMAND 2 months ago

Fixes #11583: Rudder create DSC based group and rules and brokes policy generation

History

#1 Updated by François ARMAND 2 months ago

  • Project changed from Rudder tools to Rudder
  • Category set to Web - Config management
  • Target version set to 4.2.1

#2 Updated by François ARMAND 2 months ago

  • Related to Bug #11168: Search believe that CFEngine agents with "dsc" in their keys are also DSC agent added

#3 Updated by François ARMAND 2 months ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND

#4 Updated by François ARMAND 2 months 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

#6 Updated by Alexis MOUSSET 2 months 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

#7 Updated by François ARMAND 2 months ago

  • Status changed from Pending technical review to Pending release

#8 Updated by François ARMAND about 2 months ago

  • Description updated (diff)

Make workaround more findable

#9 Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.2.1 which was released today.

Also available in: Atom PDF