commit | 4599aa2dfa42a7b694ad295bc700db03de96d7f5 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Wed Jun 28 13:09:32 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Wed Jun 28 12:20:57 2023 +0000 |
tree | 411035d2b647dcb1adc68db8f22c4384befa8294 | |
parent | 6f5995153827f2b191cc2faebe21ca58764af33b [diff] |
m/n/k8s: fix start after unclean shutdown Both the kvmdevice as well as the CSI runnables listen on Unix sockets. These are normally removed on close (this is actually the default for sockets opened wiht ListenUnix, thus drop setting this), but when an unclean shutdown occurs they persist. Since one cannot listen on an already-existing socket, opportunistically remove them before listening. Change-Id: I11d986a2816fde3d7ffef0817ae3bbf39bba4faf Reviewed-on: https://review.monogon.dev/c/monogon/+/1867 Tested-by: Jenkins CI Reviewed-by: Leopold Schabel <leo@monogon.tech>
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later!
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm
(if you want to run tests).Our docs assume that Bazelisk is available as bazel
on your PATH.
Refer to SETUP.md for detailed instructions.
Build CLI and node image:
bazel build //metropolis/cli/dbg //:launch -c dbg
Launch an ephemeral test node:
bazel test //:launch -c dbg --test_output=streamed
Run a kubectl command while the test is running:
bazel-bin/metropolis/cli/dbg/dbg_/dbg kubectl describe node
Run full test suite:
bazel test -c dbg //...