-
Notifications
You must be signed in to change notification settings - Fork 62
[sled-agent] Remove OmicronZonesConfigLocal
#8220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sled-agent] Remove OmicronZonesConfigLocal
#8220
Conversation
|
Results of testing an upgrade from
|
|
Expunging a disk backing a crucible zone and a propolis zone (disk Relevant sled-agent logs after making that blueprint the target - we see the new config ledgered to both internal pools: That immediately triggers the reconciler: First it shuts down the crucible zone: Next we would remove all the datasets on that disk, but we note that we're leaking them instead pending #6177: Next we remove the disk: This wakes up the It also waks up the dump setup task, which now realizes there are only 9 debug datasets left: The rest of the reconciliation proceeds and makes no changes (we didn't add any disks, datasets, or zones). |
|
Followup from the disk expungement testing: maybe it's not right that we note that we're leaking datasets and/or would delete them for an expunged disk - we should probably only try to delete datasets if the disk is still present? |
4b230b3
into
john/sled-agent-config-reconciler-zone-deps
With all the zone start and ledgering moved to
sled-agent-config-reconciler, we can remove this type entirely fromsled-agent. I kept the schema check but moved it to thelegacy_configs.rsmodule in the config reconciler, where the same structs still exist to allow conversion of the old ledgers -> the new combined ledger.Builds on top of #8219.