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

Hypervisor becomes unresponsive when visor dmsgpty connection is interrupted #1321

Closed
0pcom opened this issue Jul 25, 2022 · 1 comment
Closed
Labels
bug Something isn't working
Milestone

Comments

@0pcom
Copy link
Collaborator

0pcom commented Jul 25, 2022

While attempting to troubleshoot the issue of potential IP conflicts with skybian, I was working to reproduce the wrongly configured state and so was switching some visors away from the current hypervisor to one of the other visors connected to the hypervisor via the dmsgpty UI terminal for that visor

The procedure for this is to simply run

skywire-autoconfig <new-hypervisor-public-key>

the script will defer the restarting of the process to the user at that point; the user is prompted to run:

systemctl restart skywire 2> /dev/null

What actually happens a this point is that the whole hypervisor ui becomes unresponsive

image

image

Jul 25 12:15:05 orangepiprime skywire[1392]: [2022-07-25T12:15:05Z] WARN getVisors [hypervisor]: Failed to obtain summary via RPC.02a915069601423b502a80284d7477fcc3c8c5d7331d29363daf7b306075721a36 RequestID="orangepiprime/Y02qWMJ9qf-000227" error="connection is shut down" visor_addr=02a915069601423b502a80284d7477fcc3c8c5d7331d29363daf7b306075721a36:49153
Jul 25 12:15:11 orangepiprime skywire[1392]: [2022-07-25T12:15:11Z] WARN getVisors [hypervisor]: Failed to obtain summary via RPC.02a915069601423b502a80284d7477fcc3c8c5d7331d29363daf7b306075721a36 RequestID="orangepiprime/Y02qWMJ9qf-000228" error="connection is shut down" visor_addr=02a915069601423b502a80284d7477fcc3c8c5d7331d29363daf7b306075721a36:49153

and so on..

The only quick solution for the user at that point is to restart the hypervisor board.

I suspect that it is the fact that the connection is being terminated during the dmsgpty session which is actually being used.

a rather inconvenient workaround for this is to recommend only access the visors via ssh session from the current hypervisor dmsgpty UI

@0pcom 0pcom added the bug Something isn't working label Jul 25, 2022
@jdknives jdknives added this to the Milestone 8 milestone Jul 25, 2022
@0pcom
Copy link
Collaborator Author

0pcom commented Aug 1, 2022

fixed with #1323

@0pcom 0pcom closed this as completed Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants