Project

General

Profile

Actions

Bug #20641

open

Status generation in error after fresh install

Added by Félix DALLIDET 7 months ago. Updated 24 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Server components
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:

Description

On a debian11, after a fresh install of a 7.0.1 the generation status is broken. Forcing the generation does fix the issue.
The webapp logs:

[2022-01-25 09:19:40+0000] DEBUG explain_compliance - Updated node configuration ids: [root:???->20220125-091940-45db19b]
[2022-01-25 09:19:41+0000] INFO  policy.generation.timing - Policy generation failed after:        1 s
[2022-01-25 09:19:41+0000] 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:   error: Can't stat file '/var/rudder/ncf//bin/sh: 0: cannot open /var/rudder/ncf/common/10_ncf_internals/list-compatible-inputs: No such file' for parsing. (stat: No such file or directory)
][stderr:] (for node(s) root)
[2022-01-25 09:19:41+0000] ERROR policy.generation.manager - Policy update error for process '3' at 2022-01-25 09:19:41: 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:   error: Can't stat file '/var/rudder/ncf//bin/sh: 0: cannot open /var/rudder/ncf/common/10_ncf_internals/list-compatible-inputs: No such file' for parsing. (stat: No such file or directory)
][stderr:] (for node(s) root)

Actions #1

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.0.1 to 7.0.2
Actions #2

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 7.0.2 to 7.0.3
Actions #3

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 7.0.3 to 7.0.4
Actions #4

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 7.0.4 to 7.0.5
Actions #5

Updated by Vincent MEMBRÉ 24 days ago

  • Target version changed from 7.0.5 to 7.0.6
Actions

Also available in: Atom PDF