oxidecomputer / oxidecomputer/console

MVP Inventory Flow

Open
#1,451 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
228
Forks
22
Avg merge
19h 42m
Merged PRs (30d)
32

Description

MVP Inventory Flow

Figma document

This is a draft proposed flow for the MVP Inventory pages. At this time, feedback should be focused on inventory over sled reboot and migration as the process for this is still to be determined in RFD 378.

image

Here we see a list of sleds, their status, running & stopped VMs, allocation, and version.

Are we assuming that a stopped VM no longer contributes to the allocated resources on a sled?

But if the instance is stopped and doesn't exist on any sled, this will try to create the instance on the sled on which it most recently ran, which might not have capacity for it (even though some other sled might). This function should distinguish the "instance already incarnated" and "instance stopped" cases and select a new sled in the latter case.
https://github.com/oxidecomputer/omicron/issues/2315#issue-1568898455

We're showing the allocated resources as a fuzzy proportion of total resources, since some amount of this is used by the system.

Version here is a version or a version and a target version if a sled is in the middle of updating.

We're showing a banner that is letting the operator know that instances need to be migrated before a sled can reboot and finish the update process. In practice this depends on the outcome of RFD 378#_proposed_solutions as to the level of intervention needed from an operator.

image

Switches are shown for completeness, perhaps in the future we can include further metrics.

image

Here we see a sled detail page. This includes a list of instances, scoped by silo and project since instance names are not unique. Whilst we have started to explore the process of migrating individual instances to other sleds, but this likely change as work on migration progresses.

When our fault management has been developed further we can introduce issues into the sled detail page.

image

The utilization page shows resource utilization for the selected sled.

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 the linked Figma document to review the proposed inventory pages, then read RFD 378 and issue 2315 for the unresolved reboot, migration, and stopped-VM behavior. The issue does not identify implementation files, tests, or a settled acceptance criterion; the flow and required operator behavior must be decided before implementation can be considered done.

Written by the indexing model from the issue text.

Assessment

Tech stack
figma, typescript
Domain
design, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.