Actions
Bug #20641
closedStatus generation in error after fresh install
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
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