Bug #18952
closed
Static group which depends on dynamic subgroup must be forbiden
Added by François ARMAND over 3 years ago.
Updated 10 months ago.
Category:
Web - Config management
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
Related issues
1 (1 open — 0 closed)
- 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
- Target version changed from 6.1.10 to 6.1.11
- Target version changed from 6.1.11 to 6.1.12
- Target version changed from 6.1.12 to 6.1.13
- Target version changed from 6.1.13 to 6.1.14
- Target version changed from 6.1.14 to 6.1.15
- Target version changed from 6.1.15 to 6.1.16
- Target version changed from 6.1.16 to 6.1.17
- Target version changed from 6.1.17 to 6.1.18
- Target version changed from 6.1.18 to 6.1.19
- Target version changed from 6.1.19 to 6.1.20
- Target version changed from 6.1.20 to 6.1.21
- Target version changed from 6.1.21 to old 6.1 issues to relocate
- Target version changed from old 6.1 issues to relocate to 7.3.10
- Target version changed from 7.3.10 to 7.3.11
- Status changed from New to In progress
- 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
- Status changed from Pending technical review to Pending release
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
- Fix check changed from Error - Blocking to Error - Fixed
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.3.11 which was released today.
Also available in: Atom
PDF