Project

General

Profile

Actions

Architecture #14767

open

When we accept nodes, dynamic group should be automatically updated at the end of the acceptation, in a synchronized way

Added by Nicolas CHARLES over 5 years ago. Updated 5 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
Effort required:
Name check:
Fix check:
Regression:

Description

When we accept one or more nodes, at the end of the acceptation of all nodes we should recompute all dynamic groups, with a synchronized method, as with #4480, and once its done trigger a policy generation.

It would allow to remove the batch that recompute dynamic groups periodically, and simplify much logic

Note: it should also probably block policy generation while all nodes are not all accepted and groups recomputed


Related issues 3 (1 open2 closed)

Related to Rudder - Bug #4480: When restoring archive (full or groups) dynamic groups are created emptyReleasedNicolas CHARLESActions
Related to Rudder - Bug #14758: Accepting a change request on dynamic group, make the group empty leads an invalid policy generation ReleasedNicolas CHARLESActions
Related to Change validation - Bug #14766: When accepting a change request on a group, it's node list should be computed before savingNewActions
Actions

Also available in: Atom PDF