oxidecomputer / oxidecomputer/console

Bin packing visibility

Open
#2,002 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Currently it’s possible to have plenty of virtual capacity but end up in a state where the rack still rejects new resource creation because it doesn’t have enough contiguous resources (e.g. enough CPUs on any sled) to be able to place the resource. 

We may wish to add some types of constraints to prevent some silos from exhausting a certain class or size of resource. For instance, we may provide the ability to specify that a silo may only have 1 64 vCPU instance. This is a bit of an arbitrary example, but this would hopefully ensure that for the silos that needed that class of resource they could continue to have access to it.

  1. We need the UI to adequately communicate why an instance cannot be started if there is not sufficient capacity on the available sleds.
  2. We need information represented in the UI about current maximum provisionable resource sizes. E.g. there is a maximum contiguous capacity of CPU to create an instance with 32 vCPUs

Related:

https://github.com/oxidecomputer/omicron/issues/5104#issuecomment-1953522778

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

No file, test, or entry point is named. Start by locating the instance-start and instance-creation UI, then review the related Omicron issue comment for capacity context. Done means the UI explains capacity-related start failures and shows current maximum provisionable resource sizes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
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.