Project

General

Profile

Actions

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 almost 11 years ago. Updated almost 11 years ago.

Status:
Released
Priority:
1
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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.

Actions #1

Updated by Dennis Cabooter almost 11 years ago

I also had to enable all faulty rules again, one by one.

Actions #2

Updated by Nicolas CHARLES almost 11 years ago

  • 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
  • Target version set to 2.6.2

I'm investigating on the cause of this issue, which looks very bad

Actions #3

Updated by Dennis Cabooter almost 11 years ago

[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
Actions #4

Updated by Nicolas CHARLES almost 11 years ago

Indeed, deleting a group leads to broken Rules

Actions #5

Updated by Nicolas CHARLES almost 11 years ago

  • 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
Actions #6

Updated by Nicolas CHARLES almost 11 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #7

Updated by Anonymous almost 11 years ago

Actions #8

Updated by Nicolas PERRON almost 11 years ago

  • 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
Actions #9

Updated by Nicolas PERRON almost 11 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF