Project

General

Profile

Actions

Bug #20986

closed

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

Added by Nicolas CHARLES over 2 years ago. Updated over 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 #1

Updated by Nicolas CHARLES over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Nicolas CHARLES over 2 years ago

  • Status changed from New to In progress
Actions #3

Updated by Nicolas CHARLES over 2 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1759
Actions #4

Updated by Nicolas CHARLES over 2 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ over 2 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.3 which was released today.

Actions

Also available in: Atom PDF