tremplin: Mitigation for https://github.com/lxc/lxd/issues/8071

If we hit https://github.com/lxc/lxd/issues/8071 then the user's
container is no longer bootable. Detect if they're in a state that can
trigger this and, if so, skip the LXD DB reset logic as it contains an
`lxd import`.

BUG=chromium:1137712
BUG=chromium:1057869
TEST=Run repro case from crbug/1137712 before and after.

Change-Id: Ic56ce068ca0d4e0fbea2335217a33b59b1d979d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tremplin/+/2491905
Reviewed-by: David Munro <davidmunro@google.com>
Reviewed-by: Fergus Dall <sidereal@google.com>
Reviewed-by: Joel Hockey <joelhockey@chromium.org>
Commit-Queue: David Munro <davidmunro@google.com>
Tested-by: David Munro <davidmunro@google.com>
1 file changed
tree: aae99a74741b9c607e571e9431d5d95de60f6a8b
  1. src/
  2. .gitignore
  3. OWNERS
  4. README.md
README.md

Tremplin

Tremplin is the “springboard” daemon that runs in the Termina VM and exposes a gRPC interface for managing LXD containers.