Bug #14758
closedAccepting a change request on dynamic group, make the group empty leads an invalid policy generation
Description
When we accept a change request on a dynamic group, the group is empty, and policies are generated, with no node in this groupe (see screenshot)
we need to wait for the next dynamic group refresh to correct it.
solution is to force dynamic group update during first phase of deploy
Files
Updated by Nicolas CHARLES over 5 years ago
- extend DynGroupUpdaterService to update all group (this is sync and blocking) - so we know when it's finished. However, if we update all groups during a run of dynamic group update batch, chaos is likely to happen
- trigger a dynamic group update batch, and wait for it to be idel
Updated by Nicolas CHARLES over 5 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES over 5 years ago
Work in progess here: https://github.com/ncharles/rudder/commit/ed4de11c476d99e56a0a2ac067915023857e24b3
Updated by Nicolas CHARLES over 5 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/2202
Updated by Nicolas CHARLES over 5 years ago
pull request fixes the issue, BUT it causes double policy generation (the second not doing anything), as the groups are updated)
Updated by Nicolas CHARLES over 5 years ago
- Related to Bug #4480: When restoring archive (full or groups) dynamic groups are created empty added
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
Updated by Nicolas CHARLES over 5 years ago
- Related to Architecture #14767: When we accept nodes, dynamic group should be automatically updated at the end of the acceptation, in a synchronized way added
Updated by Rudder Quality Assistant over 5 years ago
- Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
Updated by Nicolas CHARLES over 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|f60052eb3f407bd630191e87b8cd2ec04dcb0d63.
Updated by Nicolas CHARLES over 5 years ago
Applied in changeset rudder|bdb04f2623f2221b9409bc7f3ddde769b98bb8ba.
Updated by Vincent MEMBRÉ over 5 years ago
- Subject changed from when accepting a change request on dynamic group, the group is empty, policy generated are so invalid, and it fixes itself only at next dynamic group refresh to Accepting a change request on dynamic group, make the group empty leads an invalid policy generation
Updated by Vincent MEMBRÉ over 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.22, 4.3.12 and 5.0.10 which were released today.
Updated by Nicolas CHARLES over 5 years ago
- Related to Bug #14918: Policy generation fails with if update of dynamic groups takes more than 10 seconds added