Project

General

Profile

Actions

Bug #11048

closed

Bug #11047: rudder agent update -q bad exit code

Rudder agent update returns 0 even if update fails

Added by Benoît PECCATTE over 7 years ago. Updated over 6 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Small
Priority:
60
Name check:
Fix check:
Regression:

Description

Even if cfengine fails to return properly, we should be able to communicate the error with the caller.
For example with specific line in the output.


Related issues 3 (0 open3 closed)

Has duplicate Rudder - Bug #9673: "rudder agent update" always ays "ok" even when it could not update the promisesRejectedActions
Has duplicate Rudder - Bug #11622: "rudder agent update" always displays success message, even if update failedRejectedActions
Has duplicate Rudder - User story #9580: Add detection of CFEngine return code and display an error message when it is not zeroRejectedActions
Actions

Also available in: Atom PDF