Project

General

Profile

Actions

User story #24238

closed

Rudder-package should log the package scripts outputs and errors

Added by Félix DALLIDET 2 months ago. Updated 26 days 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
Actions #1

Updated by Félix DALLIDET 2 months ago

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

Updated by Félix DALLIDET 2 months ago

  • 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
Actions #3

Updated by Félix DALLIDET 2 months ago

  • Subtask #24241 added
Actions #4

Updated by Félix DALLIDET 2 months ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Félix DALLIDET 2 months ago

  • Subtask #24250 added
Actions #6

Updated by Félix DALLIDET 2 months ago

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

Updated by Vincent MEMBRÉ 2 months ago

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

Actions #8

Updated by Vincent MEMBRÉ 26 days ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF