Project

General

Profile

Actions

Bug #2139

closed

When a componentKey on a policy.xml designates a variable outside the section, you get an erroneous error message in the logs

Added by Matthieu CERDA about 13 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
3
Assignee:
-
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When a componentKey on a policy.xml designates a variable outside the section, you get an erroneous error message in the logs

Example:

<SECTION name="Permission adjustment" component="true" componentKey="GENERIC_FILE_CONTENT_PATH"> (Which was specified before)

Error:

16:03:59.056 [qtp1938822199-72] ERROR c.n.c.s.impl.GitPolicyPackagesReader - Ignoring policy package '/fileDistribution/checkGenericFileContent/2.1/policy.xml' because the descriptor file is malformed
com.normation.cfclerk.exceptions.ParsingException: Section 'Line deletion regular expressions' is multivalued and is component. A componentKey attribute must be specified
Actions #1

Updated by Matthieu CERDA about 13 years ago

DISREGARD THIS BUG: This was indeed what Rudder tried to tell me.

Actions #2

Updated by Nicolas CHARLES about 13 years ago

  • Status changed from New to Rejected

The error message is indeed valid.

Actions #3

Updated by Benoît PECCATTE almost 10 years ago

  • Project changed from 17 to Rudder
  • Category set to Web - Config management
Actions

Also available in: Atom PDF