Details
-
Type:
Task
-
Status: Done
-
Priority:
(None)
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: DBus Update flow control API
-
Labels:
-
Sprint:MEN Sprint 137
-
Story Points:13
-
Epic Link:
-
Backlog:yes
-
Days in progress:6
Description
Acceptance criteria:
- Upon entering the following states (before state scripts are run), new logic must be implemented:
- ArtifactInstall_Enter
- ArtifactReboot_Enter
- ArtifactCommit_Enter
- Using the query function from
MEN-4548, one of three possible values will be returned:- continue - Do the same as today, continue.
- pause - Wait, do not proceed.
- fail - Fail immediately
- There must be a channel by which updates to the maps (
MEN-4547) is announced. When this happens, spin the loop again, and do whatever the next query result says.- Expirations must happen in real time and are also counted as map updates that must be announced.
- Expirations must be atomic with respect to the pool, like the rest of the operations.
- Revert this commit.
- Unit tests.
- Feature branch: feature-dbus_update_control
Attachments
Release management
Issue Links
- blocks
-
MEN-4550 Acceptance tests for local Update Flow Control
-
- Done
-
-
MEN-4618 Sample UI application, written in Python, using the DBUS API to control (pause/continue) the update process
-
- Done
-
-
MEN-4624 Client: Make calls to deployments/status when pausing in any state
-
- Done
-
- is blocked by
-
MEN-4548 Implement Update Control Map query logic
-
- Done
-