oxidecomputer / oxidecomputer/omicron

fm: inventory collection should include power shelf PSUs

Open
#11,079 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

fault-management
Dominant language
Rust
Stars
572
Forks
97
Avg merge
2d 12h
Merged PRs (30d)
96

Description

When collecting inventory, we do not currently ask the power shelf controller about what PSUs are present in the system. We should do this.

This will need to include the FRU VPD identity (PMBus serial number, model number, etc) for the PSU, which we do not currently have a way to ask the SP for, so that will require Hubris work (https://github.com/oxidecomputer/hubris/issues/2212).

Once that's done, we will also need to actually ask the PSC for its inventory of PSUs and read the VPD details for the ones that are present. We'll need db tables to represent them in the inventory.

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 Hubris issue #2212 to understand the required SP VPD support, then trace the existing inventory collection path and power shelf controller interaction. The work is complete when PSU presence and FRU VPD details are collected from the PSC and represented in inventory database tables.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend, databases, embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.