Project

General

Profile

Actions

Bug #14828

closed

error regenerating policies

Added by Tobias Ell over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

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.


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #14808: Syntax error in techniques/system/server-roles/1.0/component-check.stReleasedBenoît PECCATTEActions
Actions #1

Updated by Tobias Ell over 5 years ago

sorry, line is 54

Actions #2

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

Actions #3

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
Actions

Also available in: Atom PDF