Project

General

Profile

Actions

Bug #26897

open

rudder server reload-techniques should work even if webapp is stopped

Added by Nicolas CHARLES 16 days ago. Updated 8 days ago.

Status:
Pending technical review
Priority:
1 (highest)
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

This command is used during some plugin upgrades, when webapp can be down, and break upgrades - it could also cause problems during policy synchronisation
We have a dedicated flag file for this use case: /opt/rudder/etc/force_technique_reload

So we should detect if webapp is running, and if not, touch the flag file and not fail

Actions #1

Updated by François ARMAND 15 days ago

  • Assignee set to Benoît PECCATTE

Idea: the command needs to check if rudder is live or not.
- if rudder is live, then do as today (call the api),
- else touch the file flag.

We can do the same as rudder server trigger-policy-generation which does almost that.

Actions #2

Updated by François ARMAND 15 days ago

  • Priority changed from To review to 1 (highest)

P1 because short.

Actions #3

Updated by Benoît PECCATTE 8 days ago

  • Status changed from New to In progress
Actions #4

Updated by Benoît PECCATTE 8 days 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-agent/pull/417
Actions

Also available in: Atom PDF