Skip to content

Commit a550693

Browse files
authored
nexus: update example configuration (#8787)
Updated Nexus' example configuration to no longer require regions to allocate on distinct sleds. This allows a local simulated Omicron started by `cargo xtask omicron-dev run-all` to successfully create disk resources rather than error with insufficient capacity, allowing us to run acceptance tests for the Go SDK and Terraform provider against this environment. A few OpenAPI generation scripts have also been removed that were deemed unnecessary. OpenAPI generation is handled by `cargo xtask openapi generate` these days.
1 parent e15b5d9 commit a550693

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

nexus/examples/config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ sp_ereport_ingester.period_secs = 30
140140

141141
[default_region_allocation_strategy]
142142
# allocate region on 3 random distinct zpools, on 3 random distinct sleds.
143-
type = "random_with_distinct_sleds"
143+
# type = "random_with_distinct_sleds"
144144

145145
# the same as random_with_distinct_sleds, but without requiring distinct sleds
146-
# type = "random"
146+
type = "random"
147147

148148
# setting `seed` to a fixed value will make dataset selection ordering use the
149149
# same shuffling order for every region allocation.

tools/generate-nexus-api.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

tools/generate-sled-agent-api.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)