oxidecomputer / oxidecomputer/omicron

Dataset accounting: VMM zone filesystems should be explicitly requested

Open
#6,108 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

nexus Sled Agent storage
Dominant language
Rust
Stars
572
Forks
97
Avg merge
2d 12h
Merged PRs (30d)
96

Description

Currently, the sled agent picks a random U.2 to hold the zone filesystem for instances:

https://github.com/oxidecomputer/omicron/blob/89b998c1c24e26b9e1161acbbd1b236f40470bdd/sled-agent/src/instance.rs#L1376-L1385

This, unfortunately, leaves nexus out-of-the-loop regarding space allocation within the zone dataset.

Nexus should be aware of where instances are provisioned to manage accounting explicitly.

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 in sled-agent/src/instance.rs at the linked instance provisioning code, then trace how the zone filesystem location is selected and how Nexus receives provisioning information. The work is done when Nexus can explicitly account for the zone filesystem allocation instead of the sled agent choosing a random U.2.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.