[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
Is this bug still unresolved? ** Changed in: libvirt (Ubuntu) Status: Confirmed = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
Thanks very much for the update ** Changed in: libvirt (Ubuntu) Status: Incomplete = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
Thanks very much for the update ** Changed in: libvirt (Ubuntu) Status: Incomplete = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
After my last comment here over two years ago I haven't had the time and resources to debug this any more than I already had at that point. We have since switched to using unencrypted Libvirt connections (qemu+tcp:///) which is good enough since all virtualisation hosts are on a separate and secure management subnet and VLAN. But I just tried the qemu+tls:/// connections again just now, to six different virtualisation hosts and I *can't* reproduce this problem any more. The hosts are all running Ubuntu 12.04.5, some with the Trusty HWE kernel (e.g. 3.13.0-40-generic), some with the original Precise kernel (e.g. 3.2.0-74-generic). Libvirt is installed in version 0.9.8-2ubuntu17.20. The Libvirt client in all cases is also a Ubuntu 12.04.5 machine, also running Libvirt 0.9.8-2ubuntu17.20. We currently also leverage our Puppet CA and use the issued certificates not only for Puppet but also for Libvirt and other services. I don't think this makes a difference but two years ago when I ran into this problem we were using keys and certificates issued by our own internal CA. So to me this looks resolved but since I have no idea what caused the problem originally and what exactly has changed in Libvirt since then in that regard I can only really say WORKSFORME. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
Testing some combinations - using a quantal server, a quantal client can do virsh -c qemu+tls://guest/server list just fine. A precise client usually works, but occasionally gives a warning as shown below. (Will try a precise server now, as I believe that's the real problem) ubuntu@server-17191:~$ virsh -c qemu+tls://10.55.60.186/session list Id Name State -- ubuntu@server-17191:~$ virsh -c qemu+tls://10.55.60.186/session list Id Name State -- ubuntu@server-17191:~$ virsh -c qemu+tls://10.55.60.186/session list Id Name State -- 2012-09-27 16:24:33.223+: 18600: info : libvirt version: 0.9.8 2012-09-27 16:24:33.223+: 18600: warning : virNetClientIncomingEvent:1660 : Something went wrong during async message processing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
It's funny. I have three machines where I can always reproduce the behaviour in my original description and two machines where I can connect and list just fine. All running Precise. The two where it works are slightly newer, i.e. have been set up some time in the last two months, whereas the others are from May or so. Otherwise the machines are identical PowerEdge R710s. Around the same number of VMs, same CPUs, amount of RAM, network configuration, etc. I don't know if it makes any difference in these tests, but it seems you have no VMs running on your virtualisation host. Maybe add some? It may also be noteworthy that our VMs' disks are all LVM-based, which is why we are also bitten by bug #1027987. I wouldn't want to presume anything but maybe there is some relation between this bug and that. Unfortunately I still need some time before I can test any of this out on some spare machines running Quantal. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
Sorry, comment on wrong bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
@Andreas, I ran that test case on precise for 3.5 hours, with virtio network bridged with eth0 and without the vhost_net kernel module loaded, but network never hung. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
I have the same problem. Can't connect to 12.04 libvirtd server from either ubuntu 12.04 or gentoo (libvirt 0.9.3) with tls. ssh works. Any update? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
Thanks. In your case, is the client also 12.04? An incompatibility between oneiric guests and precise hosts has been reported recently (hence marking this confirmed). If precise guests also cause a problem, that is new to me and good to know. ** Changed in: libvirt (Ubuntu) Status: New = Confirmed ** Changed in: libvirt (Ubuntu) Importance: Undecided = Medium ** Changed in: libvirt (Ubuntu) Importance: Medium = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
In my case, the client was indeed 12.04, but I just tested with a 10.04 client (0.9.2-5ubuntu0+dnjl0~lucid0, from https://launchpad.net/~dnjl/+archive/virtualization) and the problem is the same. So what I can say is this: * 12.04 virsh client via TLS to 12.04 libvirt host doesn't work * 10.04 virsh client via TLS to 12.04 libvirt host doesn't work * 12.04 virsh client via TLS to 10.04 libvirt host works * 10.04 virsh client via TLS to 10.04 libvirt host works * All virsh clients to all libvirt hosts work with TCP or SSH Anything else I can do? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
Quoting Andreas Ntaflos (d...@pseudoterminal.org): In my case, the client was indeed 12.04, but I just tested with a 10.04 client (0.9.2-5ubuntu0+dnjl0~lucid0, from https://launchpad.net/~dnjl/+archive/virtualization) and the problem is the same. So what I can say is this: * 12.04 virsh client via TLS to 12.04 libvirt host doesn't work * 10.04 virsh client via TLS to 12.04 libvirt host doesn't work * 12.04 virsh client via TLS to 10.04 libvirt host works * 10.04 virsh client via TLS to 10.04 libvirt host works * All virsh clients to all libvirt hosts work with TCP or SSH Thanks very much. Anything else I can do? No, thanks much. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
** Attachment added: Libvirt daemon debug logs of a failed/hung remote connection attempt https://bugs.launchpad.net/bugs/1001798/+attachment/3154335/+files/libvirt-debug-hang.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
** Attachment added: Libvirt daemon debug logs of a successful remote connection attempt https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+attachment/3154337/+files/libvirt-debug-works.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
** Attachment added: Libvirt daemon strace of failed/hung remote connection attempt https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+attachment/3154338/+files/libvirt-strace-hangs.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001798] Re: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression)
** Attachment added: Libvirt daemon strace of successful remote connection attempt https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+attachment/3154339/+files/libvirt-strace-works.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001798 Title: Remote TLS connection to Libvirt 0.9.8 hangs (possibly a race condition and very possibly a regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1001798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs