oxidecomputer / oxidecomputer/omicron

Add garbage collection for expunged sleds and zones

Open
#5,552 3 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Add/expunge sled Update System
Dominant language
Rust
Stars
572
Forks
97
Avg merge
2d 12h
Merged PRs (30d)
96

Description

Specifically, the blueprint planner needs to:

  • if a zone is expunged, and has no resources attached to it according to the planning input, then remove it from the blueprint
  • if a sled is expunged, and has no zones attached to it, then mark it decommissioned

This should likely be done both at construction time against the parent blueprint, and incrementally.

Resources include:

  • external IPs
  • vNICs
  • for Nexus instances, sagas
  • ???

We've deferred this for release 8 but would like to do this for release 9.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.