Project

General

Profile

Actions

Bug #20919

closed

Set a report id for all method called within new 7.1 system techniques

Added by Vincent MEMBRÉ almost 3 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Since we use a common report_id for all method call within a directive/rule we skip some part of methods when we call similar bundle.

In system technique case, we call service_started("apache2") and service_enabled("apache2"), and reporting from service enabled is send with info level, not result level. This is because some parts of the methods are not called and are skipped because cfengine skips things that he thinks he has already done (like enabling again reporting for this tuple method/id, hence we receive a log reportn, and not a resut report)

using method_reporting_context_v4 with specifc ids for each call solves this issues


Subtasks 1 (0 open1 closed)

Bug #20922: wrong bundle named called in system techniquesReleasedAlexis MoussetActions
Actions #1

Updated by Vincent MEMBRÉ almost 3 years ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
Actions #2

Updated by Vincent MEMBRÉ almost 3 years ago

  • Assignee changed from Vincent MEMBRÉ to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1755
Actions #3

Updated by Vincent MEMBRÉ almost 3 years ago

  • Status changed from In progress to Pending release
Actions #4

Updated by Vincent MEMBRÉ over 2 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.1.0~beta2 which was released today.

Actions

Also available in: Atom PDF