Project

General

Profile

Actions

Bug #20986

closed

when database is not on the root server, policy generation fails

Added by Nicolas CHARLES about 2 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

error is

[2022-04-12 12:17:46+0200] ERROR policy.generation.manager - Error when updating policy, reason was: Cannot write nodes configuration; cause was: Unexpected: 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/cfengine-community/inputs.new/rudder-service-webapp/1.0/bootstrapRudderServer.cf:13:0: error: Undefined bundle system_rudder_postgresql_configuration with type usebundle
] (for node(s) root)
[2022-04-12 12:17:46+0200] ERROR policy.generation.manager - Policy update error for process '207707' at 2022-04-12 12:17:46: Cannot write nodes configuration; cause was: Unexpected: 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/cfengine-community/inputs.new/rudder-service-webapp/1.0/bootstrapRudderServer.cf:13:0: error: Undefined bundle system_rudder_postgresql_configuration with type usebundle
] (for node(s) root)

technique rudder-service-postgresql is filtered is postgresql is not local

Actions

Also available in: Atom PDF