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

virtctl console hang all the time #11792

Open
CharlesQQ opened this issue Apr 25, 2024 · 3 comments
Open

virtctl console hang all the time #11792

CharlesQQ opened this issue Apr 25, 2024 · 3 comments
Labels

Comments

@CharlesQQ
Copy link

What happened:
After vm running more than 30 days, command virtctl console hang all the time

image

What you expected to happen:
hope virtctl console can login to vm

How to reproduce it (as minimally and precisely as possible):
Steps to reproduce the behavior.

Additional context:
Add any other context about the problem here.

Environment:

  • KubeVirt version (use virtctl version): v1.0.1
  • Kubernetes version (use kubectl version): v1.23.17
  • VM or VMI specifications: N/A
  • Cloud provider or hardware configuration: N/A
  • OS (e.g. from /etc/os-release): N/A
  • Kernel (e.g. uname -a): N/A
  • Install tools: N/A
  • Others: N/A
@alicefr
Copy link
Member

alicefr commented Apr 26, 2024

@CharlesQQ have you tried to connect to vnc? Like virtctl vnc <vm>. Could be that your VM haven't booted correctly

@CharlesQQ
Copy link
Author

Could be that your VM haven't booted correctly

But I can login via ssh

@victortoso
Copy link
Member

Without more information is a hard guess. Could be a problem in virtctl's AttachConsole, in virt-handler's bridge between websocket and unix socket and QEMU itself.

Does it happen consistently after long periods or do you have a simple/quicker way to reproduce it?
It would be lovely to have kubevirt.io/libvirt-log-filters annotation set which would help on host side, but setting now would need long time to reproduce.

Do you happen to have virt-handler logs available? The interesting part is to see if something shows when console is hanging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants