Project

General

Profile

Bug #14918

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

Added by Nicolas CHARLES 7 months ago. Updated 7 months ago.

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

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

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

Associated revisions

Revision a22fd83c (diff)
Added by François ARMAND 7 months ago

Fixes #14918: \"Dynamic group update time-outed (waited for 10 secondes to finish)\"

History

#1

Updated by Nicolas CHARLES 7 months ago

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

Updated by François ARMAND 7 months 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.

#3

Updated by François ARMAND 7 months ago

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

Updated by François ARMAND 7 months 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
#5

Updated by Rudder Quality Assistant 7 months ago

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

Updated by François ARMAND 7 months ago

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

Updated by Vincent MEMBRÉ 7 months 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
#8

Updated by Vincent MEMBRÉ 7 months 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.

Also available in: Atom PDF