Skip to content

DiskTest: send full sled config to sim-sled-agent instead of just datasets (PR 2/4)#10881

Merged
jgallagher merged 4 commits into
mainfrom
john/sim-sa-cleanup-2
Jul 22, 2026
Merged

DiskTest: send full sled config to sim-sled-agent instead of just datasets (PR 2/4)#10881
jgallagher merged 4 commits into
mainfrom
john/sim-sa-cleanup-2

Conversation

@jgallagher

Copy link
Copy Markdown
Contributor

Now that sim-sled-agent keeps a full OmicronSledConfig, update DiskTest to use that instead of going through the shim datasets_ensure().

There is a behavior change here, but it didn't cause any failing tests: DiskTest now appends disks and datasets to the config instead of replacing the datasets (and leaving the disks untouched). Since the nexus-test stack at least kinda sorta tries to be faithful in adding zone datasets for the services it starts, appending seems slightly more correct?

This is several yaks deep from a problem I was poking at: this PR
addresses a few TODOs inside sim-sled-agent where it was still using /
exposing the legacy triple of separate disks / datasets / zones configs.
As of this PR it uses `OmicronSledConfig` internally, although for now
it still exposes separate disk/dataset configs (to avoid too much churn
in one change).
@jgallagher
jgallagher requested review from jmpesp and smklein July 21, 2026 17:54
Comment thread nexus/test-utils/src/resource_helpers.rs Outdated
Base automatically changed from john/sim-sa-cleanup-1 to main July 22, 2026 14:09
@jgallagher
jgallagher merged commit 2d0f73a into main Jul 22, 2026
19 checks passed
@jgallagher
jgallagher deleted the john/sim-sa-cleanup-2 branch July 22, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants