Project

General

Profile

Bug #10969

Unhelpful error message when applying a tehcnique with invalid agent type to a node

Added by Nicolas CHARLES 6 months ago. Updated 6 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:
13

Description

I got the following error when adding a dsc agent:

[2017-06-21 15:42:30] ERROR com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent - Error when updating policy, reason Cannot write configuration node <- Node with id 'eb0472bb-446e-4c69-a4ec-6ded12ff9cc2' is configured with agent type='dsc' but technique 'genericVariableDefinition/2.0' is not compatible with that agent type.

this is super unhelpful, as a a 50 genericVariableDefinition techniques
We'd need the directinve name (or id) at least

Associated revisions

Revision 3e19316a
Added by Nicolas CHARLES 6 months ago

Fixes #10969: Unhelpful error message when applying a tehcnique with invalid agent type to a node

Revision 55ae8fbe
Added by Nicolas CHARLES 6 months ago

Fixes #10969: Unhelpful error message when applying a tehcnique with invalid agent type to a node

History

#1 Updated by Nicolas CHARLES 6 months ago

  • Status changed from New to In progress

#2 Updated by Nicolas CHARLES 6 months 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/1675

#3 Updated by François ARMAND 6 months ago

  • Target version changed from 4.2.0~prototype to 4.2.0~beta1

#4 Updated by Nicolas CHARLES 6 months ago

  • Pull Request changed from https://github.com/Normation/rudder/pull/1675 to https://github.com/Normation/rudder/pull/1676

#5 Updated by Nicolas CHARLES 6 months ago

  • Status changed from Pending technical review to Pending release

#7 Updated by Alexis MOUSSET 6 months ago

  • Status changed from Pending release to Released
  • Priority changed from 0 to 13

This bug has been fixed in Rudder 4.2.0~beta1 which was released today.

Also available in: Atom PDF