Project

General

Profile

Actions

Bug #14918

closed

Policy generation fails with if update of dynamic groups takes more than 10 seconds

Added by Nicolas CHARLES almost 5 years ago. Updated almost 5 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

In #14758, we introduced a check at policy generation start that validate all dynamic groups
The timeout was an optimistic 10 seconds, and a user reported more than 3 minutes for dynamic group update (1000 node, 300 groups)


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #14758: Accepting a change request on dynamic group, make the group empty leads an invalid policy generation ReleasedNicolas CHARLESActions
Actions #1

Updated by Nicolas CHARLES almost 5 years ago

  • Related to Bug #14758: Accepting a change request on dynamic group, make the group empty leads an invalid policy generation added
Actions #2

Updated by François ARMAND almost 5 years ago

So, we are going to remove the timeout since it can totally break a generation. We prefer to have a never ending policy generation than failing because the groupe generation is long for some reason.

Actions #3

Updated by François ARMAND almost 5 years ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #4

Updated by François ARMAND almost 5 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/2226
Actions #5

Updated by Rudder Quality Assistant almost 5 years ago

  • Assignee changed from Nicolas CHARLES to François ARMAND
Actions #6

Updated by François ARMAND almost 5 years ago

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

Updated by Vincent MEMBRÉ almost 5 years ago

  • Subject changed from "Dynamic group update time-outed (waited for 10 secondes to finish)" to Policy generation fails with if update of dynamic groups takes more than 10 seconds
Actions #8

Updated by Vincent MEMBRÉ almost 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.23, 4.3.13 and 5.0.11 which were released today.

Actions

Also available in: Atom PDF