You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Activity
smklein commentedon Apr 3, 2024
Although we haven't exposed an API for it directly yet, the intent is that operators will be able to control the
policyfor 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
statefield of physical disk lags behind, as it's controlled by Nexus. The common case here will be:There will be more states later with graceful removal, but I expect that'll be the typical flow.
david-crespo commentedon Apr 3, 2024
Ok, great. So we definitely want both columns in the table.