Project

General

Profile

Actions

Bug #5330

closed

When using several times a generic_method on same file with class_prefix based on filename, reports will be in "Unknown" and "No answer" status

Added by Nicolas PERRON about 8 years ago. Updated about 8 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Compliance & node report
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Regression:

Description

With several generic_method on same file with class_prefix based on filename, the expected reports generated will be OK but Rudder will not be able to analyze them correctly. The state will be 'Unknown' and 'No Answer' as Rudder will consider them as one unique report.

An example is the use of generic_method 'file_ensure_line_present_in_ini_section' twice on a file /tmp/foo.


Related issues 4 (0 open4 closed)

Related to Rudder - Bug #4806: When two techniques generated with ncf-builder use the same generic method with same parameters, reporting cannot dinstinguish them, and reports "Unknown"ReleasedBenoît PECCATTEActions
Related to Rudder - Bug #4797: When using multiple times the same generic method on the same object, the reporting will be broken for all of themRejectedActions
Related to Rudder - Bug #5389: When two techniques generated with ncf-builder use the same generic method with same parameters, reporting cannot dinstinguish them, and reports "Unknown"ReleasedFrançois ARMAND2015-01-16Actions
Has duplicate Rudder - Bug #4674: When modifying a directive based on a meta-technique with multivalued section with same component key, the duplicated component keys are removedReleased2014-03-26Actions
Actions #1

Updated by Nicolas PERRON about 8 years ago

  • Project changed from 41 to Rudder
  • Category set to Web - Compliance & node report

This is more a Rudder problem than a ncf one.

Actions #2

Updated by Nicolas CHARLES about 8 years ago

  • Target version changed from 2.11.2 to 2.10.4

Metadata.xml and expected reports are correct, something inside Rudder must fail.
I guess this should happen on Rudder 2.10 also

Actions #3

Updated by Nicolas CHARLES about 8 years ago

  • Status changed from New to Pending technical review
  • Assignee set to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/591
Actions #4

Updated by Nicolas CHARLES about 8 years ago

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

Updated by Matthieu CERDA about 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.4, which was released today.
Check out:

The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-August/000106.html
The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog210
Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Actions

Also available in: Atom PDF