commit | 343e6c669294b9eaec72fd63b94f08df01fa5128 | [log] [tgz] |
---|---|---|
author | David Munro <davidmunro@google.com> | Wed Oct 21 08:29:39 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 23 06:33:16 2020 |
tree | aae99a74741b9c607e571e9431d5d95de60f6a8b | |
parent | 2a72eef8dbefbf97e19c54658aa4cc3f1647a06a [diff] |
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>