Actions
Bug #12758
closedBug #12754: No reports on dsc only techniques on a Linux Node
Invalid policies generated when using an ncf Technique with generic method non compatible with the agent
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Technique editor
Target version:
Pull Request:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
If I generate a Technique with only generic method for DSC, and apply it on node with a classic agent, I get the following error message
⇨ Policy update error for process '16' at 2018-06-07 15:59:21 ⇨ Cannot write configuration node ⇨ Exit code=1 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/10-cf-promise-check'. stdout: stderr: '/var/rudder/cfengine-community/inputs.new/rudder-directives.cf:41:0: error: Undefined bundle DSC_only_rudder_reporting with type usebundle ' ; Exit code=1 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/10-cf-promise-check'. stdout: stderr: '/var/rudder/share/84bf5c73-5566-45a5-8953-b6552f482288/rules.new/cfengine-community/rudder-directives.cf:41:0: error: Undefined bundle DSC_only_rudder_reporting with type usebundle '
Indeed, there is no such bundle in generated policies, but it does exists in /var/rudder/configuration-repository/techniques/ncf_techniques/DSC_only/1.0/rudder_reporting.cf
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from New to In progress
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/1964
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|e3542cf8dd1e9e0c4a5860f95a0053c74eb470a4.
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.2.7 and 4.3.3 which were released today.
- 4.2.7: Announce Changelog
- 4.3.3: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions