Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include humility in the switch zone? #6154

Open
jgallagher opened this issue Jul 25, 2024 · 4 comments
Open

Include humility in the switch zone? #6154

jgallagher opened this issue Jul 25, 2024 · 4 comments

Comments

@jgallagher
Copy link
Contributor

For similar reasoning to #6153, it would smooth over some support operator wrinkles to ship humility in the switch zone. This is a little trickier than faux-mgs from a versioning point of view; we might very well want a humility that's newer than whatever the latest was when a release was cut, but I think most of the time "humility as of the release" would probably be fine?

This probably depends on oxidecomputer/humility#421.

@jclulow
Copy link
Collaborator

jclulow commented Jul 25, 2024

For both this and for the related #6153 it seems like we could solve them by producing an artefact that can be easily loaded in via SSH rather than by shipping them? Then we could also easily load an updated version from outside as part of a support activity.

@jgallagher
Copy link
Contributor Author

I think that's the state we're in today, right? faux-mgs and humility binaries are readily available, but schlepping them around via SSH is annoying.

@jgallagher
Copy link
Contributor Author

FWIW I'm a little less solid on including humility; shipping the version of faux-mgs that matches the version of MGS in the switch zone seems perfectly reasonable. There's an outside shot we could fix a bug in faux-mgs specifically that warranted copying in a newer one as a support operation, but "faux-mgs packaged with the OS matches MGS packaged with the OS" should be fine most of the time, I think?

@leftwo
Copy link
Contributor

leftwo commented Jul 25, 2024

Given that someday we will have sleds with different software versions on them, there is always a chance for a mismatch when trying to use a tool on one sled to talk to another. However, having the version that matches the OS is probably as best we can do.

There could always be bugs that would require an updated/different version of a binary.

Packaging and SSH'ing a binary in is an option, while we can still SSH. This also requires you to find the matching version
of a binary for a specific rack (if it does need a specific version)

I do expect that there could be a problem we have to debug after we have turned off SSH that requires a new
binary, so we will need some solution to "getting a binary into a rack", but I don't know what that is yet :)

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

No branches or pull requests

3 participants