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.
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
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.
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
- Priority changed from 0 to 52
- Effort required set to Small
- Priority changed from 52 to 55
Let's grep output to manage 90% of cases.
- Target version changed from 3.1.22 to 3.1.23
- Target version changed from 3.1.23 to 3.1.24
- Priority changed from 55 to 54
- Subject changed from Rudder agent update ruturns 0 even if update fails to Rudder agent update returns 0 even if update fails
- Priority changed from 54 to 53
- Has duplicate Bug #9673: "rudder agent update" always ays "ok" even when it could not update the promises added
- Target version changed from 3.1.24 to 3.1.25
- Has duplicate Bug #11622: "rudder agent update" always displays success message, even if update failed added
- Priority changed from 53 to 64
- Target version changed from 3.1.25 to 4.1.9
- Target version changed from 4.1.9 to 4.1.10
- Priority changed from 64 to 63
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
- Priority changed from 63 to 61
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-agent/pull/151
- Has duplicate User story #9580: Add detection of CFEngine return code and display an error message when it is not zero added
- Status changed from Pending technical review to Pending release
- Priority changed from 61 to 60
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.10 and 4.2.4 which were released today.
Also available in: Atom
PDF