tremplin: Add a fallback way to start LXD is now the second issue where the
backup.yaml ends up out-of-sync with the filesystem state resulting in
an unbootable container. Now been fixed upstream but we still need to
handle this case until we're back in sync with upstream.
Previously we manually updated the backup.yaml file, now that we've seen
two cases let's use a more general approach.
We first try the lxd import way of loading container state, since that's
been the faster and more reliable approach, if that fails we fall back
to loading from the dqlite database.

TEST=Deploy on a broken image, verify that it starts the container

Change-Id: I0a0cd438dccf5eedab6ef8c75933068f1fe0b2d7
Reviewed-by: Nicholas Verne <>
Reviewed-by: David Munro <>
Commit-Queue: David Munro <>
Tested-by: David Munro <>
4 files changed
tree: 55949f9f79ed15b23eda83631f0d73b40a0a1956
  1. .gitignore
  4. src/


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