Details
-
Type:
Task
-
Status: Done
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Sprint:MEN Sprint 48, MEN Sprint 50, MEN Sprint 52, MEN Sprint 53, MEN Sprint 54
-
Story Points:13
-
Backlog:yes
Description
Acceptance criteria
All artifact script execution and results must be recorded in persistent storage, so that a reboot will pick up where it left off- All states and transition context must be recorded in persistent storage, so that a reboot will pick up where it left off.
- Upon starting, Mender must check which state it was in and rerun the state if it was not finished
- the only guarantee given by Mender is that the state or transition that was currently in progress when the spontaneous reboot happened, will be rerun.
-> Thus the user will have to guarantee that all the functionality required in one state/transition is capable of operating independently of the other states/transitions. - Time that the script was first executed must also be recorded so that timeout may not be artificially lengthened by rebooting
Attachments
Release management
Issue Links
- blocks
-
MEN-1190 Implement "retry-later" functionality in artifact install scripts
-
- Done
-
- is blocked by
-
MEN-1186 Implement running of event scripts on client state change
-
- Done
-
-
MEN-1188 Force terminate artifact scripts that are hanging
-
- Done
-
- relates to
-
MEN-1429 Planning: Spontaneous reboot requirements
-
- Done
-