Skip to content

Conversation

@jgallagher
Copy link
Contributor

In particular, this picks up
oxidecomputer/management-gateway-service#451 and oxidecomputer/management-gateway-service#452, which we'd like for debugging hung sled issues.

To make this easier to backport to the R17 release branch, it makes minimal changes: requesting these new types of component details from MGS proper will return a 400 (albeit one that probably contains all the details we actually want in the error message!), because returning a 200 would require revving the MGS OpenAPI. The control plane has no logic to collect this information yet, so I think this is fine - it'll be available to support via faux-mgs as we'd like, and I'll file an issue for adding proper MGS support at our convenience.

In particular, this picks up
oxidecomputer/management-gateway-service#451 and
oxidecomputer/management-gateway-service#452,
which we'd like for debugging hung sled issues.

To make this easier to backport to the R17 release branch, it makes
minimal changes: requesting these new types of component details from
MGS proper will return a 400 (albeit one that probably contains all the
details we actually want in the error message!), because returning a 200
would require revving the MGS OpenAPI. The control plane has no logic to
collect this information yet, so I think this is fine - it'll be
available to support via `faux-mgs` as we'd like, and I'll file an issue
for adding proper MGS support at our convenience.
Copy link
Contributor

@labbott labbott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as far as code review goes

@jgallagher
Copy link
Contributor Author

The test failure on the original version of the PR is because oxidecomputer/management-gateway-service#457 accidentally broke the sp_component_list() for SPs that have no components (i.e., our simulated sidecar SP). We could fix that by changing MGS to handle an SP with no components or giving the sim sidecar at least one; for now I just backed up to the commit prior to that PR landing (which still picks up the debugging commands we want for R17).

@jgallagher jgallagher merged commit ac4ec36 into main Nov 6, 2025
18 checks passed
@jgallagher jgallagher deleted the john/update-mgs-dep branch November 6, 2025 21:34
iliana pushed a commit that referenced this pull request Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants