Project

General

Profile

Actions

User story #13238

closed

Directory where support info are stored must be a parameter

Added by François ARMAND over 6 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
System integration
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

We need to not put support info in /tmp (it doesn't allow several script to be exec, we can't ask for diff between two date point, the naming scheme is extremelly unraliable, https://www.rudder-project.org/redmine/issues/13184 can fail, etc).

So the support script must take an argument for the directory where it stores its information, and in the webapp we must used a conventional naming scheme.

For the webapp action, I propose to store info into: `/var/rudder/support/iso-date-time/`

Of course, the iso-date-time parameter will need to be generated by the webapp and passed around (else we won't know what it the name of the file reliably).

We can also add a default value to support script to create the directory (either in /tmp or /var/rudder/support/xxxx) if the target directory is not given, and to make the script log where its outputs are going.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #13227: Incorrect name of support info file result usedReleasedVincent MEMBRÉActions
Related to Rudder - User story #13213: Bundle support info script into RudderReleasedBenoît PECCATTEActions
Actions

Also available in: Atom PDF