Bug #14828
closederror regenerating policies
Description
In latest nightly (5.0.10 rc1 20190503)
I get error on regeneration of policies
Policy update process was stopped due to an error:
⇨ Policy update error for process '14394' at 2019-05-06 16:20:40
⇨ Cannot write nodes configuration
⇨ 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/cfengine-community/inputs.new/server-roles/1.0/component-check.cf:56:105: error: syntax error
"service[rudder_reports][service]" string => "${postgresql_service_name}"";
...] (for node(s) root)
I am not sure but there seems to be a " too much in component-check.cf
line 56: "service[rudder_reports][service]" string => "${postgresql_service_name}"";
I tried to delete but this file seems to be generated at policy generation.
Updated by Nicolas CHARLES over 5 years ago
- Category set to System techniques
- Status changed from New to Rejected
- Target version set to 5.0.10
Tobias,
This has been fixed in #14808
To correct your system, you need to do the following commands:
cd /var/rudder/configuration-repository/techniques/system/server-roles/1.0 edit component-check.st with your favorite text editor to remove the extra " in ""; at the end of line 54, and save git add component-check.st git commit -m "Correct typo" && rudder server reload-techniques
sorry about that
Updated by Nicolas CHARLES over 5 years ago
- Is duplicate of Bug #14808: Syntax error in techniques/system/server-roles/1.0/component-check.st added