Bug #3621
closed
Removing a Group don't remove it from its related Rule and lead to error messages until a cache clearing
Added by Dennis Cabooter over 11 years ago.
Updated over 11 years ago.
Category:
Web - Nodes & inventories
Description
After removing a (dynamic) group I got the following error. After clearing the dynamic group cache the error was gone.
Deployment error for process '310' at 2013/06/03 10:56:57
- Cannot build target configuration node
- Error when retrieving the entry for NodeGroup 'NodeGroupId(9183c372-0da9-484a-8355-b0f5671e9efb)'
In the Rules section I got errors as well - even while the group was removed from those rules. Re-saving the rules, rule by rule, make the errors disappear.
I also had to enable all faulty rules again, one by one.
- Project changed from 24 to Rudder
- Category set to Web - Nodes & inventories
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
- Priority changed from N/A to 1 (highest)
- Target version set to 2.6.2
I'm investigating on the cause of this issue, which looks very bad
[2013-06-03 10:56:27] INFO com.normation.rudder.services.workflows.CommitAndDep
loyChangeRequestServiceImpl - Saving and deploying change request 14
[2013-06-03 10:56:28] ERROR com.normation.rudder.batch.AsyncDeploymentAgent$Depl
oyerAgent - Error when doing deployment, reason Cannot build target configuration node <- Error when retrieving the entry for NodeGroup 'NodeGroupId(9183c372-0da9-484a-8355-b0f5671e9efb)'
[2013-06-03 10:56:28] ERROR com.normation.rudder.batch.AsyncDeploymentAgent - Deployment error for process '308' at 2013/06/03 10:56:28: Cannot build target configuration node
Indeed, deleting a group leads to broken Rules
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/221
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Subject changed from Removing group leads to errors to Removing a Group don't remove it from its related Rule and lead to error messages until a cache clearing
- Status changed from Pending release to Released
Also available in: Atom
PDF