-
Notifications
You must be signed in to change notification settings - Fork 13
Handle serial console close
event properly
#2246
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This is almost there, except @benjaminleonard @paryhin I need something to show here when the connection has closed. (Right now we show this for any state other than Removing the spinner without replacing it with some kind of icon doesn't work very well because you see the spinner briefly while it tries to connect. ![]() |
I suppose we don't have any serial console history in any other state than connected? We'd probably want to include something that takes the user to a screen where they can start the instance, or let them start the instance directly here. But that might get a bit complicated if we need to handle the instance not coming up. Do we want any docs here? We don't have any guides around the serial console, but we could include something around troubleshooting images ... or our requirements (https://docs.oxide.computer/guides/architecture/os-hypervisor-storage#_guest_workload_support). |
That’s interesting! We do have a serial console history endpoint, I wonder if it stores it outside the instance and can therefore return something even when the instance is stopped. I kinda doubt it, but I’ll check. |
The history endpoint does not work for a stopped instance: it returns an error saying the instance is stopped and has no active serial console server. On the other points:
|
Aaaagh whoops |
oxidecomputer/console@a228b75...69ba87b * [69ba87b7](oxidecomputer/console@69ba87b7) oxidecomputer/console#2246 * [13d46e8f](oxidecomputer/console@13d46e8f) oxidecomputer/console#2272 * [13ce748f](oxidecomputer/console@13ce748f) oxidecomputer/console#2269 * [ab2939bf](oxidecomputer/console@ab2939bf) oxidecomputer/console#2262 * [c9f2bba3](oxidecomputer/console@c9f2bba3) oxidecomputer/console#2252 * [9b7ea533](oxidecomputer/console@9b7ea533) oxidecomputer/console#2261 * [bf97ebc2](oxidecomputer/console@bf97ebc2) oxidecomputer/console#2259 * [a18c7a8f](oxidecomputer/console@a18c7a8f) don't need to exclude IE 11 anymore
oxidecomputer/console@a228b75...7fa8e6d * [7fa8e6d1](oxidecomputer/console@7fa8e6d1) oxidecomputer/console#2274 * [69ba87b7](oxidecomputer/console@69ba87b7) oxidecomputer/console#2246 * [13d46e8f](oxidecomputer/console@13d46e8f) oxidecomputer/console#2272 * [13ce748f](oxidecomputer/console@13ce748f) oxidecomputer/console#2269 * [ab2939bf](oxidecomputer/console@ab2939bf) oxidecomputer/console#2262 * [c9f2bba3](oxidecomputer/console@c9f2bba3) oxidecomputer/console#2252 * [9b7ea533](oxidecomputer/console@9b7ea533) oxidecomputer/console#2261 * [bf97ebc2](oxidecomputer/console@bf97ebc2) oxidecomputer/console#2259 * [a18c7a8f](oxidecomputer/console@a18c7a8f) don't need to exclude IE 11 anymore
oxidecomputer/console@a228b75...a9b325e * [a9b325e9](oxidecomputer/console@a9b325e9) forgot to revert tweak for testing * [7fa8e6d1](oxidecomputer/console@7fa8e6d1) oxidecomputer/console#2274 * [69ba87b7](oxidecomputer/console@69ba87b7) oxidecomputer/console#2246 * [13d46e8f](oxidecomputer/console@13d46e8f) oxidecomputer/console#2272 * [13ce748f](oxidecomputer/console@13ce748f) oxidecomputer/console#2269 * [ab2939bf](oxidecomputer/console@ab2939bf) oxidecomputer/console#2262 * [c9f2bba3](oxidecomputer/console@c9f2bba3) oxidecomputer/console#2252 * [9b7ea533](oxidecomputer/console@9b7ea533) oxidecomputer/console#2261 * [bf97ebc2](oxidecomputer/console@bf97ebc2) oxidecomputer/console#2259 * [a18c7a8f](oxidecomputer/console@a18c7a8f) don't need to exclude IE 11 anymore
…es) (#5871) oxidecomputer/console@a228b75...a9b325e * [a9b325e9](oxidecomputer/console@a9b325e9) forgot to revert tweak for testing * [7fa8e6d1](oxidecomputer/console@7fa8e6d1) oxidecomputer/console#2274 * [69ba87b7](oxidecomputer/console@69ba87b7) oxidecomputer/console#2246 * [13d46e8f](oxidecomputer/console@13d46e8f) oxidecomputer/console#2272 * [13ce748f](oxidecomputer/console@13ce748f) oxidecomputer/console#2269 * [ab2939bf](oxidecomputer/console@ab2939bf) oxidecomputer/console#2262 * [c9f2bba3](oxidecomputer/console@c9f2bba3) oxidecomputer/console#2252 * [9b7ea533](oxidecomputer/console@9b7ea533) oxidecomputer/console#2261 * [bf97ebc2](oxidecomputer/console@bf97ebc2) oxidecomputer/console#2259 * [a18c7a8f](oxidecomputer/console@a18c7a8f) don't need to exclude IE 11 anymore
Closes #2169
This is what it looks like when you try to connect to a stopped instance.
The error state is quite ugly, but I'm going to merge this and get design notes later because a) I think this is rarely seen, and b) overall this is an important fix.