Bug #18952
closedStatic group which depends on dynamic subgroup must be forbiden
Description
We need to ensure consistency on a group and its subgroup.
Consistency seems to be: a group with subgroup query and that group MUST BE dynamic, other cases seems to be ok:
- dyn parent / dyn subgroup => OK
- dyn parent / static subgroup => OK (subgroup just never change, or if it change with a new save, parent is computed again)
- static parent / static subgroup => actually, perhaps not good, because if a subgroup is changed, parent won't be recalculated (which would mean that actually, the parent group will be dynamic)
- static parent / dyn subgroup => breaks.
The idea is to forbid saving group as static with subgroup with a helpful message + have an other check during policy generation (and breaks ?)
Files
Updated by Nicolas CHARLES over 3 years ago
- Related to Bug #18942: Non understandable policy generation error with dependant groups when a static depends on a dynamic and are out of sync added
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.10 to 6.1.11
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.11 to 6.1.12
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.12 to 6.1.13
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.13 to 6.1.14
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.14 to 6.1.15
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.15 to 6.1.16
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.16 to 6.1.17
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.17 to 6.1.18
Updated by Vincent MEMBRÉ almost 3 years ago
- Target version changed from 6.1.18 to 6.1.19
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.19 to 6.1.20
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.20 to 6.1.21
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.21 to old 6.1 issues to relocate
Updated by François ARMAND about 1 year ago
- Target version changed from old 6.1 issues to relocate to 7.3.10
Updated by Vincent MEMBRÉ 11 months ago
- Target version changed from 7.3.10 to 7.3.11
Updated by François ARMAND 11 months ago
- Status changed from New to In progress
Updated by François ARMAND 11 months ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/5286
Updated by Anonymous 11 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|5f84c91eae21678a87505d7f1f5ea637bd46195f.
Updated by François ARMAND 10 months ago
- File clipboard-202401251803-z4nfh.png clipboard-202401251803-z4nfh.png added
- File clipboard-202401251804-vor3k.png clipboard-202401251804-vor3k.png added
- Fix check changed from To do to Error - Blocking
- Regression set to No
The case:
- changing a sub group of a static group from static to dynamic works well:
- the case: forbid using a dynamic sub-group in a static one does not
Updated by Alexis Mousset 10 months ago
- Fix check changed from Error - Blocking to Error - Fixed
Updated by Vincent MEMBRÉ 10 months ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.3.11 which was released today.