can't open remote virt-viewer connections
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
netcat-openbsd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Opening a remote virt-viewer connection hangs before getting the vnc connection.
Steps to reproduce:
- Create an account on a remote machine
- add it to libvirtd group
- define some ssh key to connect to it
- start a virtual machine installation from iso
- on the remote machine: virt-viewer -c qemu+ssh://<email address hidden>
--> connection hangs indefinitely without ever providing a VNC screen
Comment from soren:
As you pointed out yourself, it first connects to the hypervisor to figure out where to look for the vnc display..
after that, it connects again and starts the vnc session.
The problem is that the hypervisor connection hangs.
I've seen this before, but have yet to track it down. It's on my list (libvirt will only accept a set number of connections, so at some point it becomes unavailable, so it's a quite important bug).
Workaround from soren:
What I do to make it work anyway is run virt-viewer, wait for it to hang, log on to your server, kill the nc process, and then I get the vnc connection.
Aha! Tracked it down to a netcat issue. Will upload a fix in a little
bit.
affects ubuntu/ netcat- openbsd
status inprogress
affects ubuntu/libvirt
status invalid
-- www.ubuntu. com/
Soren Hansen |
Virtualisation specialist | Ubuntu Server Team
Canonical Ltd. | http://