Actions
Bug #18942
openNon understandable policy generation error with dependant groups when a static depends on a dynamic and are out of sync
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
This one is tricky: when a Group Y depends on another group Z, and Y is static while Z is dynamic, if Z changes in such a way that a node from Y is removed from Z, then policy generation will fail in non understable way
First, there is a
Error while building target node configuration for node uuid, which is one of the target of rules. Ignoring it for the rest of the process <- Inconsistency: Error when looking for parent group 'Z' of group 'Y'. Please check criterium for that group
but if doesn't show in the error message displayed which is
=> Cannot write node configuration => Unexpected: Error when executing hooks Exit code=1 for hook '10-cf-promises-check' [stdout: error: Can't stat file '/var/rudder/Share/uuid/rules.new/cfengine-community/promises.cf (stat: no such file or directory)
for every nodes in group Y and not Z
First error should bubble up in error message - i'm even qiute sure it should interrupt policy generation
And it should explain why there is an inconsistency - it was quite hard to identify the issue. Detecting that the group is static might help
Updated by Nicolas CHARLES almost 4 years ago
- Project changed from Rudder tools to Rudder
- Category set to Web - Config management
- Target version set to 6.1.10
Updated by Nicolas CHARLES over 3 years ago
- Related to Bug #18952: Static group which depends on dynamic subgroup must be forbiden 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É 12 months ago
- Target version changed from 7.3.10 to 7.3.11
Updated by Vincent MEMBRÉ 10 months ago
- Target version changed from 7.3.11 to 7.3.12
Updated by Vincent MEMBRÉ 9 months ago
- Target version changed from 7.3.12 to 7.3.13
Updated by Vincent MEMBRÉ 9 months ago
- Target version changed from 7.3.13 to 7.3.14
Updated by Vincent MEMBRÉ 7 months ago
- Target version changed from 7.3.14 to 7.3.15
Updated by Vincent MEMBRÉ 6 months ago
- Target version changed from 7.3.15 to 7.3.16
Updated by Vincent MEMBRÉ 5 months ago
- Target version changed from 7.3.16 to 7.3.17
Actions