Project

General

Profile

Actions

Bug #14560

closed

On error, rudder-upgrade stops without error message

Added by Nicolas CHARLES almost 5 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
70
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

let's say there is a typo in rudder-upgrade (like what was in #14338) - then the script stops abruptly, without any error

it makes debugging really hard


Files

Capture du 2019-04-01 16-15-45.png (60.2 KB) Capture du 2019-04-01 16-15-45.png Nicolas CHARLES, 2019-04-01 16:15
Actions #1

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 5.0.9 to 5.0.10
Actions #2

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 5.0.10 to 5.0.11
Actions #3

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 5.0.11 to 5.0.12
Actions #4

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.12 to 5.0.13
Actions #5

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.13 to 5.0.14
Actions #6

Updated by François ARMAND over 4 years ago

  • Subject changed from when there is an error in rudder-upgrade, the script stops, without complaining loudly to On error, rudder-upgrade stops without error message
  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Getting started - demo | first install | Technique editor and level 1 Techniques
  • Effort required set to Very Small
  • Priority changed from 0 to 74
Actions #7

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.14 to 5.0.15
  • Priority changed from 74 to 73
Actions #8

Updated by François ARMAND over 4 years ago

  • Assignee set to Benoît PECCATTE

We already have a trap but it is not called. So we would like to have a way to either actually make it catch the "set -e" error, or have a wrapper around the script that observe the error.

Actions #9

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from New to In progress
Actions #10

Updated by Benoît PECCATTE over 4 years ago

  • 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-packages/pull/2107
Actions #11

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from Pending technical review to Pending release
  • Priority changed from 73 to 71
Actions #12

Updated by Vincent MEMBRÉ over 4 years ago

  • Fix check set to To do
Actions #13

Updated by Vincent MEMBRÉ over 4 years ago

  • Name check set to To do
Actions #14

Updated by Alexis Mousset over 4 years ago

  • Name check changed from To do to Reviewed
Actions #15

Updated by Alexis Mousset over 4 years ago

  • Fix check changed from To do to Checked
Actions #16

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released
  • Priority changed from 71 to 70

This bug has been fixed in Rudder 5.0.15 which was released today.

Actions

Also available in: Atom PDF