oxidecomputer / oxidecomputer/omicron

Add "simulate maintenance" facility for instances

Open
#6,174 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

api enhancement
Dominant language
Rust
Stars
572
Forks
97
Avg merge
2d 12h
Merged PRs (30d)
96

Description

Once #6173 lands, users need a way to be able to test what happens to their system if an instance's sled is vacated for servicing. For example, if an instance's disposition is to migrate on host maintenance, the "simulate maintenance" API will schedule a migration of the sort that the control plane would schedule if it were actually vacating the instance's host sled. If the disposition is instead to stop the instance, the control plane will do that instead.

See RFD 494 for more information.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with RFD 494 and issue #6173, then trace the control-plane API entry point for instance operations. The facility is done when it can simulate host-sled maintenance by scheduling migration for instances with that disposition and stopping instances with the stop disposition.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.