Skip to content

Good-enough (mvp) tool for rack health checks to support automated updates #4745

Closed
3 of 4 issues completed

Description

@askfongjojo

(updated title and scope base on 7/1/2025 control plane sync discussion)
Delivering self-service update introduces a new support problem: we’ll no longer be running the healthcheck script or doing any of the other checks we currently do when we update customers’ systems. If something non-fatal goes wrong during the update (like #7668), how will a customer know? Presumably we need to build some basic health reporting into the external API and deliver that in R17 or shortly after? We haven’t been tracking this work or planning for this in the self-service update project.

  • Need a plan on what minimum thing we can deliver for R17
  • This is a tool an operator would use as part of the automated update process
  • Initially, have user triggers/downloads a support bundle to get health check reports
  • Next, ability to interpret the health checks and alerts
  • Failures / problems could be “active problems” and use the existing FMA reporting api
  • Also, can incorporate cockroachdb SMF status in inventory (along with other data points such as under-replicated ranges) and use that to generate active problems

(original 1/2/2040 request replaced with the discussion above)
This is intended to be an inexpensive stop-gap that can be used in the field before we have adequate fault management feature coverage. Anything that is better than a rolled-up bash script of the manual health checks would already be an improvement. If we manage to identify/build reusable long-term technician API during the process, it's even better but not a requirement.

Sub-issues

Sub-issues

3 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. askfongjojo commented on Jan 2, 2024

    @askfongjojo
    Author

    This can be a non-productized tool (i.e. something along the lines of omdb).

  2. changed the title [-]Good-enough technician tool for rack overall health checks[/-] [+]Good-enough (mvp) tool for rack health checks to support automated updates[/+] on Jul 1, 2025
  3. added this to the 17 milestone on Jul 1, 2025
  4. modified the milestones: 17, 18 on Sep 30, 2025
  5. askfongjojo commented on Nov 4, 2025

    @askfongjojo
    Author

    https://github.com/oxidecomputer/meta/blob/master/engineering/dogfood/overview.adoc#health-check describes the four things that would cause us to pause a rack update:

    1. presence of core files and vmdump files that require someone to investigate first
    2. disappearing sleds (i.e., sleds missing from pilot host ls)
    3. SMF service exceptions (i.e., svcs -xZ output that’s not "ok")
    4. unhealthy zpools

    That's the minimum set. There are probably more guard rails to add for a customer system.

  6. self-assigned this
    on Nov 5, 2025
  7. askfongjojo commented on Nov 7, 2025

    @askfongjojo
    Author

    There is already prior art for performing checks via sled-agents for support bundles. This may be a better starting point to leverage that work.

  8. modified the milestones: 18, 19 on Feb 17, 2026
  9. modified the milestones: 19, 20 on Apr 28, 2026
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