oxidecomputer / oxidecomputer/omicron
Add wicket commands to shut down and start up a rack without erasing data
Open
@sunshowers is already working on this.
Since Aug 2, 2023.
- Dominant language
- Rust
- Stars
- 572
- Forks
- 97
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 96
Description
Add wicket commands to:
- Shut down a rack. Involves asking sled agent (?) to delete zones but not user data.
- Start up a rack.
These commands are going to be required for mupdates that don't erase user data. But they should likely exist independently as well.
We already have rack init and reset defined in https://github.com/oxidecomputer/omicron/blob/7a4d7a79aef4aa16bb11227015c84d1735745beb/sled-agent/src/bootstrap/http_entrypoints.rs#L127-L157. Shutdown and startup are similar but generally do less.
Some notes:
- This should be exposed via the bootstrap interface.
- https://github.com/oxidecomputer/omicron/blob/fe9d1c2bd18c1a5ed97af8eb83b44ecb47806318/sled-agent/src/bootstrap/agent.rs#L763-L772
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.