Skip to content

Show more data about physical disks #2124

Closed

Description

@david-crespo

In oxidecomputer/omicron#5153, the API added state and policy fields to physical disks. We should probably show at least state in the table, if not also policy. timeModified might also be useful if it reflects when the state last changed. I also think could stand to add a detail view in a side modal that you get to by clicking the ID cell, and which would include more or less all the fields in a properties table.

image

Activity

  1. added this to the 8 milestone on Apr 3, 2024
  2. smklein commented on Apr 3, 2024

    @smklein

    Although we haven't exposed an API for it directly yet, the intent is that operators will be able to control the policy for physical disks. This is the mechanism by which an operator can observe a physical disk, decide it should not be used, and "expunge" it.

    The state field of physical disk lags behind, as it's controlled by Nexus. The common case here will be:

    • Policy: In-Service, State: Active -- (Normal operating conditions)
    • Policy: Expunged, State: Active -- (Operator requests either the disk is no longer used, or does the same for the sled containing this disk)
    • Policy: Expunged, State: Decommissioned -- (Follow-up from prior state, where Nexus has finished the necessary clean-up work).

    There will be more states later with graceful removal, but I expect that'll be the typical flow.

  3. david-crespo commented on Apr 3, 2024

    @david-crespo
    CollaboratorAuthor

    Ok, great. So we definitely want both columns in the table.

  4. self-assigned this
    on Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions