martin f krafft
2013-Apr-03 14:06 UTC
[libvirt-users] virt-manager slow to connect, hangs on new host dialog
Hello, I am using virt-manager 0.9.4 on a Debian unstable system (libvirt 0.9.12) to connect to a libvirtd via SSH running on a Debian testing system (also version 0.9.12), and I have a problem using virt-manager, which first takes ages to connect, then freezes. The SSH connection is top-quality, the hosts are next to each other and connected by Gigabit Ethernet. virsh connections work fine. Unfortunately, when I run virt-manager and connect to the host, the host's capabilities are fetched very quickly (according to virt-manager's debug output), but it then takes 20?30 seconds until the connection is established. Logging libvirtd with log_level=2 produces nothing useful. Hence I tried with log_level=1, which is mayhem. Attached is the log output from the moment I told virt-manager to connect until shortly after the connection has been established. Maybe someone can figure out what's going on? I cannot? The next problem is that when I then try to create a host, I am shown the dialog and can enter one or two characters into the name field, then the GUI completely freezes, and so does libvirtd on the other system (ctrl-c does not work anymore). I have also captured this part of the session in a second log file, which provides no clues for me. Does anyone else know what might be going on? Thanks, -- martin | http://madduck.net/ | http://two.sentenc.es/ "es ist immer etwas wahnsinn in der liebe. es ist aber auch immer etwas vernunft im wahnsinn." - friedrich nietzsche spamtraps: madduck.bogus at madduck.net -------------- next part -------------- A non-text attachment was scrubbed... Name: libvirtd.stderr.connected.xz Type: application/octet-stream Size: 153516 bytes Desc: not available URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130403/9f7ab324/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: libvirtd.stderr.new-host.xz Type: application/octet-stream Size: 38708 bytes Desc: not available URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130403/9f7ab324/attachment-0001.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: digital_signature_gpg.asc Type: application/pgp-signature Size: 1124 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current) URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130403/9f7ab324/attachment.sig>
Javi Legido
2013-Apr-03 14:59 UTC
[libvirt-users] virt-manager slow to connect, hangs on new host dialog
Hi Martin. Can you please share the string that you use to invoke virt-manager? I use this one: virt-manager -c qemu+ssh://user at kvm/system?netcat=netcatsocket And in the KVM hypervisor server I edited /bin/netcatsocket with below content: #!/bin/bash socat - unix-client:$2 2013/4/3 martin f krafft <madduck at madduck.net>> Hello, > > I am using virt-manager 0.9.4 on a Debian unstable system (libvirt > 0.9.12) to connect to a libvirtd via SSH running on a Debian testing > system (also version 0.9.12), and I have a problem using > virt-manager, which first takes ages to connect, then freezes. > > The SSH connection is top-quality, the hosts are next to each other > and connected by Gigabit Ethernet. virsh connections work fine. > > Unfortunately, when I run virt-manager and connect to the host, the > host's capabilities are fetched very quickly (according to > virt-manager's debug output), but it then takes 20?30 seconds until > the connection is established. > > Logging libvirtd with log_level=2 produces nothing useful. Hence > I tried with log_level=1, which is mayhem. Attached is the log > output from the moment I told virt-manager to connect until shortly > after the connection has been established. Maybe someone can figure > out what's going on? I cannot? > > The next problem is that when I then try to create a host, I am > shown the dialog and can enter one or two characters into the name > field, then the GUI completely freezes, and so does libvirtd on the > other system (ctrl-c does not work anymore). > > I have also captured this part of the session in a second log file, > which provides no clues for me. > > Does anyone else know what might be going on? > > Thanks, > > -- > martin | http://madduck.net/ | http://two.sentenc.es/ > > "es ist immer etwas wahnsinn in der liebe. > es ist aber auch immer etwas vernunft im wahnsinn." > - friedrich nietzsche > > spamtraps: madduck.bogus at madduck.net > > _______________________________________________ > libvirt-users mailing list > libvirt-users at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130403/1276f80b/attachment.htm>
martin f krafft
2013-Apr-03 18:55 UTC
[libvirt-users] virt-manager slow to connect, hangs on new host dialog
also sprach martin f krafft <madduck at madduck.net> [2013.04.03.1606 +0200]:> Unfortunately, when I run virt-manager and connect to the host, the > host's capabilities are fetched very quickly (according to > virt-manager's debug output), but it then takes 20?30 seconds until > the connection is established.This isn't fixed, but?> The next problem is that when I then try to create a host, I am > shown the dialog and can enter one or two characters into the name > field, then the GUI completely freezes, and so does libvirtd on the > other system (ctrl-c does not work anymore).This was apparently due to my definition of a default network (172.27.0.0/24) on the "any physical interface" using NAT. Once I removed this network, I could create test machines. This may or may not be due to the fact that one of my interfaces is slave to a bridge (eth0 slaves to the "wan" bridge). However, in the interfaces dropdown of the network creation dialog, only eth0 shows up. -- martin | http://madduck.net/ | http://two.sentenc.es/ a bachelor is a man who never made the same mistake once. spamtraps: madduck.bogus at madduck.net -------------- next part -------------- A non-text attachment was scrubbed... Name: digital_signature_gpg.asc Type: application/pgp-signature Size: 1124 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current) URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130403/6bf00b2f/attachment.sig>