Unresolved
Details
Assignee
UnassignedUnassignedReporter
Marcin PasinskiMarcin PasinskiLabels
Epic Name
Epic templateGoals
NonePriority
(None)Backlog
yes
Details
Details
Assignee
Unassigned
UnassignedReporter
Marcin Pasinski
Marcin PasinskiLabels
Epic Name
Epic template
Goals
None
Priority
Backlog
yes
Zendesk Support
Zendesk Support
Zendesk Support
Checklist
Checklist
Checklist
Created November 2, 2018 at 8:41 PM
Updated June 25, 2024 at 12:02 PM
By using update modules (MEN-2000), the device may be left in an inconsistent state if there are any failures during the installation.
We need to flag these devices with failure somehow so that users are aware (both on device, e.g. standalone, and UI/API side).
Users should be allowed to deploy further updates, but they should know about the failure before the next deployment.
User value
Reduce risk of bricking devices by making further deployments on inconsistent devices
Reduce support cost by avoiding scenarios where future deployments succeeds on some devices but fails on others for reasons hard to diagnose (in distant past)
Size (SP)
TBD
Acceptance criteria
Device must report that it is in inconsistent state if an artifact with no rollback has failed, or if an artifact with rollback has failed, and then also failed its rollback
Devices in the inconsistent state must be able to reinstall the same update again (avoiding the usual "already installed" deployment state)
So probably the inconsistent state can not be an inventory attribute, since it must be used in deployment decisions
State must be visible in the GUI
It must be possible to query the state on the device (CLI option or plain file)