Project

General

Profile

Actions

Bug #18942

open

Non understandable policy generation error with dependant groups when a static depends on a dynamic and are out of sync

Added by Nicolas CHARLES almost 4 years ago. Updated 5 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Config management
Target version:
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


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #18952: Static group which depends on dynamic subgroup must be forbidenReleasedVincent MEMBRÉActions
Actions #1

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
Actions #2

Updated by Nicolas CHARLES over 3 years ago

  • Related to Bug #18952: Static group which depends on dynamic subgroup must be forbiden added
Actions #3

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.10 to 6.1.11
Actions #4

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.11 to 6.1.12
Actions #5

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.12 to 6.1.13
Actions #6

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.13 to 6.1.14
Actions #7

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #8

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #9

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #10

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #11

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #12

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.19 to 6.1.20
Actions #13

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.20 to 6.1.21
Actions #14

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.21 to old 6.1 issues to relocate
Actions #15

Updated by François ARMAND about 1 year ago

  • Target version changed from old 6.1 issues to relocate to 7.3.10
Actions #16

Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 7.3.10 to 7.3.11
Actions #17

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.3.11 to 7.3.12
Actions #18

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 7.3.12 to 7.3.13
Actions #19

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 7.3.13 to 7.3.14
Actions #20

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 7.3.14 to 7.3.15
Actions #21

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.15 to 7.3.16
Actions #22

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 7.3.16 to 7.3.17
Actions

Also available in: Atom PDF