Make lxdWaitready cancelable to reduce log spam

Currently runWithRetry spawns an instance of lxdWaitready for every
launch attempt, so if LXD crash-loops before waitready succeeds we
will get 10 copies of this running at once filling the logs with spam.

BUG=chromium:1194406
TEST=manually tested

Disallow-Recycled-Builds: test-failures
Change-Id: Ie18e4df5aa4e5b8a251207c9fbe1bb08559f16af
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tremplin/+/2796832
Tested-by: Fergus Dall <sidereal@google.com>
Auto-Submit: Fergus Dall <sidereal@google.com>
Commit-Queue: David Munro <davidmunro@google.com>
Reviewed-by: David Munro <davidmunro@google.com>
1 file changed
tree: d13171b75806fe6cab35b6b4f497caf45e8774c7
  1. .gitignore
  2. OWNERS
  3. README.md
  4. src/
README.md

Tremplin

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