Files
snapd/overlord
Maciej Borzecki def4d29bc2 o/snapstate: avoid setting up single reboot when update includes base, kernel and gadget
* o/snapstate: avoid setting up single reboot when update includes base, kernel and gadget

Otherwise there is a circular dependency between base, kernel and gadget, where
the kernel waits for gadget (to handle gadget assets update), gadget waits for
the base, and the base waits for some of the kernel tasks.

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* o/snapstate: procure circular dependency and verify abort untangles the state

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* overlord/state: add helper for aborting unready lanes

A helper for aborting all lanes that aren't ready in a given change. An unready
lane is one that carries tasks which have not reached a final status yet.

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* overlord/state: drop unused lanes field

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* overlord: wait for up to 3 days before automatically aborting a change

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* overlord/state: use AbortUnreadyLanes when pruning

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* overlord: managers test to verify self healing via abort-unready-lanes in prune

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* overlord: leave a comment about the scenario being tested, test tweaks

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2022-03-21 15:48:58 +01:00
..