Project

General

Profile

Actions

Bug #18530

closed

We don't know which hook timeout when it happens

Added by François ARMAND over 3 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

So, we know that a hook timed out:

[2020-11-09 10:55:16+0100] ERROR policy.generation.manager - Error when updating policy, reason was: Error when executing hooks in directory '/opt/rudder/etc/hooks.d/policy-generation-finished'. <- Inconsistency: Hook ''/opt/rudder/etc/hooks.d/policy-generation-finished' with environment parameters: [[RUDDER_NODE_IDS:] [RUDDER_GENERATION_DATETIME:2020-11-09T09:55:09.633+01:00] [RUDDER_END_GENERATION_DATETIME:2020-11-09T09:55:16.078+01:00] [RUDDER_NODE_IDS_PATH:/var/rudder/policy-generation-info/last-updated-nodeids] [RUDDER_NUMBER_NODES_UPDATED:0] [RUDDER_ROOT_POLICY_SERVER_UPDATED:1]]' timed out after PT1H

We even have details about parameters leading to the timeout. But not WHICH hook timed out. So this is not actionnable and dumb.


Files

clipboard-202012021829-umzwf.png (31.9 KB) clipboard-202012021829-umzwf.png François ARMAND, 2020-12-02 18:29
Actions #1

Updated by François ARMAND over 3 years ago

  • Status changed from New to In progress
Actions #2

Updated by François ARMAND over 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/3348
Actions #3

Updated by François ARMAND over 3 years ago

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

Updated by François ARMAND over 3 years ago

  • Fix check changed from To do to Error - Blocking

It seems that timeout doesn't work anymore

Actions #5

Updated by François ARMAND over 3 years ago

OK, it was working, just that it's timeout per hook, some when you have hundreds of nodes, it's long if you put the test un a "per node hook"

Actions #6

Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF