Project

General

Profile

Actions

User story #24238

closed

Rudder-package should log the package scripts outputs and errors

User story #24238: Rudder-package should log the package scripts outputs and errors

Added by Félix DALLIDET almost 2 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Plugin manager cli
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
Checked
Regression:
No

Description

Currently, the plugin manager redirects the package scripts execution output to its stdout.
This is not easily manageable as package scripts are not always well written and may display debug unwanted debug information in their output.

This ticket will instead log the package scripts stdout/stderr as a serialized json and put in the dedicated script folder of the plugin (/var/rudder/packages<plugin-name>) and display a message redirecting to the log file in case of an error.
We do not have to care about the log rotation since this folder is cleanup at package upgrade and removal.


Subtasks 3 (0 open3 closed)

User story #24241: 8.1 version of parent ticketReleasedVincent MEMBRÉActions
User story #24483: rudder package log the package scripts in the wrong filesReleasedAlexis MoussetActions
User story #24250: Typos in parent ticketReleasedVincent MEMBRÉActions

Updated by Félix DALLIDET almost 2 years ago Actions #1

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET

Updated by Félix DALLIDET almost 2 years ago Actions #2

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/5409

Updated by Félix DALLIDET almost 2 years ago Actions #3

  • Subtask #24241 added

Updated by Félix DALLIDET almost 2 years ago Actions #4

  • Status changed from Pending technical review to Pending release

Updated by Félix DALLIDET almost 2 years ago Actions #5

  • Subtask #24250 added

Updated by Félix DALLIDET almost 2 years ago Actions #6

  • Fix check changed from To do to Checked

Updated by Vincent MEMBRÉ almost 2 years ago Actions #7

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

Updated by Vincent MEMBRÉ almost 2 years ago Actions #8

  • Status changed from Pending release to Released
Actions

Also available in: PDF Atom