-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sled-agent][nexus][RSS] Implement RFD 278: RSS to Nexus Handoff (#1954)
## Overview - Implements https://rfd.shared.oxide.computer/rfd/0278 - This PR moves much of the service configuration from the hard-coded `config-rss.toml` file to RSS itself. - In the future (See: #732) many of these services will be initialized by Nexus. Decoupling their provisioning from the hard-coded versions is the first step in this process. ### What Changed in the Sled Agent - Sled Agent - A new `get_zpools` endpoint is exposed from the Sled Agent. This is invoked by RSS when figuring out where to provision datasets. - The UUID for the sled agent is removed from the config file (it's dynamic, and should not be shared among sleds) ### What Changed in RSS - `HardcodedSledRequest` (and the corresponding entries in `config-rss.toml`) has been removed - A `plan` module was added, where plans for sled generation ("What sleds should get what addresses?") and service generation ("What services should run where?") are generated. - Refactor service and dataset initialization to insert entries into DNS - Invoke the `handoff_to_nexus`, informing it of all previously-owned-by-RSS services. ### What Changed in Nexus - Expand `RackInitializationRequest` to consider both services and datasets - `dataset_put` API removed -- beyond the initialization request, Nexus should be responsible for provisioning new datasets, not the sled agent. Fixes #1148 Part of #732 Part of #824
- Loading branch information
Showing
46 changed files
with
1,637 additions
and
934 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.