commit | 89974c6f9e4f81d6d819d041a7f5286772df7124 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Wed Jun 14 22:15:10 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Thu Jun 15 10:02:31 2023 +0000 |
tree | db0e768e42262a04ddb11fa3c1a85420e54b4796 | |
parent | 6d563cac226b327d41d95bf0219b3ff972ab6952 [diff] |
m/n/c/cluster: set StorageSecurity in bootstrap path Currently this is only set properly in the register path, causing the configuration of the bootstrap node to be inconsistent. This causes bootup to fail with `Node startup failed: sealed configuration has invalid node unlock key (wanted 32 bytes, got 0)`. Fix this by also persisting the chosen storage security option in the node configuration when bootstrapping. Change-Id: I93bf75d412c9aa7c09b5a739ce65b6873d947fd5 Reviewed-on: https://review.monogon.dev/c/monogon/+/1815 Tested-by: Jenkins CI Reviewed-by: Serge Bazanski <serge@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 //...