Skip to content

Commit

Permalink
Reconfigurator: Decommission cockroach nodes that belong to expunged …
Browse files Browse the repository at this point in the history
…cockroach omicron zones (#5903)

This adds a "decommission a node" endpoint to the `cockroach-admin`
server, and a step to blueprint execution to clean up any expunged zones
(which for now, only does anything for cockroach).
  • Loading branch information
jgallagher authored Jul 2, 2024
1 parent d827789 commit 6179905
Show file tree
Hide file tree
Showing 20 changed files with 968 additions and 57 deletions.
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions cockroach-admin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ nexus-test-utils.workspace = true
omicron-test-utils.workspace = true
openapi-lint.workspace = true
openapiv3.workspace = true
proptest.workspace = true
serde_json.workspace = true
subprocess.workspace = true
test-strategy.workspace = true
url.workspace = true

[lints]
Expand Down
7 changes: 7 additions & 0 deletions cockroach-admin/proptest-regressions/cockroach_cli.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Seeds for failure cases proptest has generated in the past. It is
# automatically read and these particular cases re-run before any
# novel cases are generated.
#
# It is recommended to check this file in to source control so that
# everyone who runs the test benefits from these saved cases.
cc 924830db4b84d94683d81ff27010fec0df19a72155729e60fda503b58460390e # shrinks to input = _NodeDecommissionParseDoesntPanicOnArbitraryInputArgs { input: [10, 10] }
Loading

0 comments on commit 6179905

Please sign in to comment.