Actions
Bug #26897
openrudder server reload-techniques should work even if webapp is stopped
Status:
Pending technical review
Priority:
1 (highest)
Assignee:
Category:
Packaging
Target version:
Pull Request:
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
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.
Updated by François ARMAND 15 days ago
- Priority changed from To review to 1 (highest)
P1 because short.
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