Bug #16198
openWhen switching a node managed by the root server to a relay, its policies are not regenerated
Description
I had a Windows node managed by my root server, I switched it under a relay, trigger inventory run, triggers, relay/root runs.
But the policies of the nodes where not regenerated under the relay ones in the /var/rudder/share of the root server.
I had to trigger manually a policy generation, which ended up with some duplicated policies:
/var/rudder/share# find . | grep zip ./b8dcd41d-be6f-40e5-9b4f-f494fdeda113/share/3d478f22-a138-4973-bb1d-9a36132b63e8/rules/dsc/rudder.zip ./3d478f22-a138-4973-bb1d-9a36132b63e8/rules/dsc/rudder.zip
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.15 to 5.0.16
Updated by Alexis Mousset almost 5 years ago
- Target version changed from 5.0.16 to 5.0.17
Updated by François ARMAND almost 5 years ago
It should be taken care of with the next dynamic group update. So it is not "more" broken than it ever was.
The correct, long term solution is:
- we have the full graph (hopefully tree ?) of dependencies in all configuration elements, and in particular we have the reverse dependency from groups to node parameters on which they depends,
- we also have a list of special node properties that are always observed (like policy server),
- when an inventory is updated, we have the exhaustive list of changes compared to previous inventory state,
- with that list and the reverse dependencies, we exactly know what groups/policies were updated and so if a policy generation is needed.
The incorrect, but perhaps more affordable solution:
- make generation node by node. When an inventory arrives, start generation for that node only (and it will check if anything relevant changed).
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.17 to 5.0.18
Updated by Félix DALLIDET over 4 years ago
- Related to Bug #16741: Policies do not seem to be regenerated when a node change its policy server added
Updated by Félix DALLIDET over 4 years ago
- Severity set to Minor - inconvenience | misleading | easy workaround
- User visibility set to Operational - other Techniques | Rudder settings | Plugins
- Effort required set to Very large
- Priority changed from 0 to -11
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.18 to 5.0.19
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.19 to 5.0.20
- Priority changed from -11 to -10
Updated by Alexis Mousset about 4 years ago
- Category changed from Relay server or API to Web - Config management
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 5.0.20 to 797
Updated by Benoît PECCATTE over 3 years ago
- Target version changed from 797 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É over 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É about 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
- Priority changed from -10 to 0
- Regression set to No
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 7.3.10 to 7.3.11
Updated by Vincent MEMBRÉ 11 months ago
- Target version changed from 7.3.11 to 7.3.12
Updated by Vincent MEMBRÉ 10 months ago
- Target version changed from 7.3.12 to 7.3.13
Updated by Vincent MEMBRÉ 10 months ago
- Target version changed from 7.3.13 to 7.3.14
Updated by Vincent MEMBRÉ 8 months ago
- Target version changed from 7.3.14 to 7.3.15
Updated by Vincent MEMBRÉ 7 months ago
- Target version changed from 7.3.15 to 7.3.16
Updated by Vincent MEMBRÉ 6 months ago
- Target version changed from 7.3.16 to 7.3.17