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 6 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 #1

Updated by Nicolas CHARLES over 5 years ago

  • Related to Bug #4480: When restoring archive (full or groups) dynamic groups are created empty added
Actions #2

Updated by Nicolas CHARLES over 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 #3

Updated by Nicolas CHARLES over 5 years ago

  • Related to Bug #14766: When accepting a change request on a group, it's node list should be computed before saving added
Actions #4

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 6.0.0~beta1 to 6.0.0
Actions #5

Updated by Alexis Mousset about 5 years ago

  • Target version changed from 6.0.0 to 6.0.1
Actions #6

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 6.0.1 to 6.0.2
Actions #7

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 6.0.2 to 6.0.3
Actions #8

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 6.0.3 to 6.0.4
Actions #9

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 6.0.4 to 6.0.5
Actions #10

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.5 to 6.0.6
Actions #11

Updated by Benoît PECCATTE over 4 years ago

  • Target version changed from 6.0.6 to 6.2.0~beta1
Actions #12

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.2.0~beta1 to 6.2.0~rc1
Actions #13

Updated by François ARMAND about 4 years ago

This is a bit more complicated because it needs to also take care of the case where already accepted inventories are updated in parallel and they trigger dynamic group computation.

Actually, we are thinking about how to deal with that in 7.0 in a stream-like approach: each time a node is updated (node props, inventory), we only recomputed dynamique groups for it which should be much more quick and does not break everything in the mid-time. Then we handle the next update, and so on.

Actions #14

Updated by François ARMAND about 4 years ago

  • Target version changed from 6.2.0~rc1 to 7.0.0~beta1
Actions #15

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 7.0.0~beta1 to 7.0.0~beta2
Actions #16

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 7.0.0~beta2 to 7.0.0~beta3
Actions #17

Updated by Alexis Mousset about 3 years ago

  • Target version changed from 7.0.0~beta3 to 7.1.0~beta1
Actions #18

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 7.1.0~beta1 to 7.1.0~beta2
Actions #19

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.1.0~beta2 to 7.1.0~rc1
Actions #20

Updated by Alexis Mousset over 2 years ago

  • Target version changed from 7.1.0~rc1 to 7.2.0~beta1
Actions #21

Updated by Alexis Mousset over 2 years ago

  • Target version changed from 7.2.0~beta1 to 7.3.0~beta1
Actions #22

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.3.0~beta1 to 7.3.0~rc1
Actions #23

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.3.0~rc1 to 7.3.0
Actions #24

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.3.0 to 7.3.1
Actions #25

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.3.1 to 7.3.2
Actions #26

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.3.2 to 7.3.3
Actions #27

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.3.3 to 7.3.4
Actions #28

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.3.4 to 7.3.5
Actions #29

Updated by Alexis Mousset over 1 year ago

  • Target version changed from 7.3.5 to 7.3.6
Actions #30

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.3.6 to 7.3.7
Actions #31

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.3.7 to 7.3.8
Actions #32

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.3.8 to 7.3.9
Actions #33

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.3.9 to 7.3.10
Actions #34

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.3.10 to 7.3.11
Actions #35

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 7.3.11 to 7.3.12
Actions #36

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.3.12 to 7.3.13
Actions #37

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.3.13 to 7.3.14
Actions #38

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 7.3.14 to 7.3.15
Actions #39

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 7.3.15 to 7.3.16
Actions #40

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.16 to 7.3.17
Actions

Also available in: Atom PDF