oxidecomputer / omicron

Omicron: Oxide control plane
Mozilla Public License 2.0
241 stars 36 forks source link

Dataset accounting: VMM zone filesystems should be explicitly requested #6108

Open smklein opened 1 month ago

smklein commented 1 month ago

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.

smklein commented 1 month ago

See also: https://github.com/oxidecomputer/omicron/issues/6109