Actions
Bug #17628
closedpolicy generation fails if we put a " in the directive name
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Compliance & node report
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
⇨ Unexpected: Error when executing hooks: Exit code=1 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/10-cf-promise-check'. [stdout:][stderr:/var/rudder/share/94b6d33d-a23e-46b9-b5f8-971751bebcbb/rules.new/cfengine-community/rudder-directives.cf:624:109: error: syntax error "Setup variable for production servers/Other admin packages "" usebundle => rudder_reporting_context("16617aa8-1f02-4e4a-87b6-d0bcdfb4019f","6d03ba08-a109-4d...] (for node(s) 94b6d33d-a23e-46b9-b5f8-971751bebcbb) Exit code=1 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/10-cf-promise-check'. [stdout:][stderr:/var/rudder/share/45e6f9a8-1cf8-47d4-aa52-2a2f7607da3b/rules.new/cfengine-community/rudder-directives.cf:613:109: error: syntax error
Updated by Nicolas CHARLES over 4 years ago
same with trailing backslash
Exit code=1 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/10-cf-promise-check'. [stdout:][stderr:/var/rudder/share/b195b889-3fb2-41f1-b84c-041d9c6d861a/rules.new/cfengine-community/rudder-directives.cf:38:104: error: Unknown attribute '7bcb8a0d' for promise type 'methods' in bundle with type 'agent' "Global configuration for all nodes/plif plouf \" usebundle => rudder_reporting_context...] (for node(s) b195b889-3fb2-41f1-b84c-041d9c6d861a)
Updated by Nicolas CHARLES over 4 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES over 4 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/3049
Updated by Nicolas CHARLES over 4 years ago
note that test ensured that it was invalid
Updated by Nicolas CHARLES over 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|f385180f326f62b646b242bb041a328ee1a0a60f.
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.0.7 and 6.1.1 which were released today.
Actions