Project

General

Profile

Actions

Bug #22059

closed

file_augeas_commands method fails to detect failures and changes

Added by Félix DALLIDET over 1 year ago. Updated about 1 year ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I dislike using that feature
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
54
Name check:
To do
Fix check:
To do
Regression:
No

Description

The method uses the execresult keyword to call augtool and captures its output to the given variable name.
But the method always return a success even when executing augeas commands with syntax errors.
execresult is not able to catch the exit code, we should at least properly document that the method only reports success and try to fix it in 7.3 when we should be able to
better interact with third-party tools using custom resources.


Related issues 1 (1 open0 closed)

Is duplicate of Rudder - Bug #22060: file_augeas_commands method fails to detect failures and changesNewActions
Actions #1

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.2 to 7.2.3
Actions #2

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.3 to 7.2.4
Actions #3

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.2.4 to 7.2.5
  • Priority changed from 56 to 55
Actions #4

Updated by Alexis Mousset about 1 year ago

  • Status changed from New to Rejected
  • Priority changed from 55 to 54
Actions #5

Updated by Alexis Mousset about 1 year ago

  • Is duplicate of Bug #22060: file_augeas_commands method fails to detect failures and changes added
Actions

Also available in: Atom PDF