Re: [libvirt-users] Libvirt newer than 2.1.0 doesnt start up
On 10/22/2016 05:33 AM, Rene Pasing wrote: Hi all, thanks so far for your time and ideas. Please find the gdb output and also the debug-output of libvirt (as requested by Michal Privoznik and Laine Stump) here: https://paste.xinu.at/m-gPSHl/ On 10/19/2016 01:58 AM, Michal Privoznik wrote: Those "Network is already in use by interface virbr1" error messages worry me. Is the bridge active before you start libvirtd? If so we might be losing netowrk state XML (or fail to parse it) and thus think network is not started and because of autostart we try to start it again (which fails). [...] Before you start libvirt, are there any files under /var/run/libvirt/network/ ? If so, what's their content? Laine was already correct about that, this error message only appears when I manually try to restart libvirt after it already hung up. Maybe I should've made that more clear. Additionaly, no, there are no files in that directory, also I am pretty sure that I only got one instance of libvirt running According to the GDB log, the libvirt process is endlessly iterating over [1]. Any ideas what could be wrong? Sigh. I am currently hanging my head in shame :-( See: https://www.redhat.com/archives/libvir-list/2016-October/msg01281.html My only excuse is that the task was too simple, and I've come to rely on reviewers too much so I was lazy and inattentive. Again, :-( [1] = https://github.com/libvirt/libvirt/blob/master/src/network/bridge_driver.c#L1420 ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
Re: [libvirt-users] Libvirt newer than 2.1.0 doesnt start up
On Oct 28, 2016 7:24 PM, "Rene Pasing"wrote: > > On 10/28/2016 05:59 PM, Laine Stump wrote: > > Sigh. I am currently hanging my head in shame :-( > > > > See: > > https://www.redhat.com/archives/libvir-list/2016-October/msg01281.html > > > > My only excuse is that the task was too simple, and I've come to rely > > on reviewers too much so I was lazy and inattentive. > > > > Again, :-( > > Just to give short feedback: I just applied your patch to the official > 2.3.0 release, built it, installed it and yeah: That fixed my problem! > It works like a charm now. I pushed the patch upstream earlier today, so it will be in 2.4.0, which will be released next week. > > Thank you very much :) And thanks for taking the time to report the problem, and test the patch. ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
Re: [libvirt-users] Libvirt newer than 2.1.0 doesnt start up
On 10/28/2016 05:59 PM, Laine Stump wrote: > Sigh. I am currently hanging my head in shame :-( > > See: > https://www.redhat.com/archives/libvir-list/2016-October/msg01281.html > > My only excuse is that the task was too simple, and I've come to rely > on reviewers too much so I was lazy and inattentive. > > Again, :-( Just to give short feedback: I just applied your patch to the official 2.3.0 release, built it, installed it and yeah: That fixed my problem! It works like a charm now. Thank you very much :) ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
Re: [libvirt-users] Libvirt newer than 2.1.0 doesnt start up
Hi all, thanks so far for your time and ideas. Please find the gdb output and also the debug-output of libvirt (as requested by Michal Privoznik and Laine Stump) here: https://paste.xinu.at/m-gPSHl/ On 10/19/2016 01:58 AM, Michal Privoznik wrote: > Those "Network is already in use by interface virbr1" error messages > worry me. Is the bridge active before you start libvirtd? If so we might > be losing netowrk state XML (or fail to parse it) and thus think network > is not started and because of autostart we try to start it again (which > fails). > [...] > Before you start libvirt, are there any files under > /var/run/libvirt/network/ ? If so, what's their content? Laine was already correct about that, this error message only appears when I manually try to restart libvirt after it already hung up. Maybe I should've made that more clear. Additionaly, no, there are no files in that directory, also I am pretty sure that I only got one instance of libvirt running According to the GDB log, the libvirt process is endlessly iterating over [1]. Any ideas what could be wrong? Thanks in advance Regards Rene [1] = https://github.com/libvirt/libvirt/blob/master/src/network/bridge_driver.c#L1420 ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
Re: [libvirt-users] Libvirt newer than 2.1.0 doesnt start up
On 10/19/2016 01:58 AM, Michal Privoznik wrote: On 17.10.2016 22:32, Rene Pasing wrote: Hi all, I have some problems with libvirt >2.1.0 (so 2.2.0 and 2.3.0): I have a working environment using libvirt 2.1.0 with 1 domain (called "mail") and one network (called "default6"), both are autostarted. I have no problems with this environment using libvirt 2.1.0, everything works great. But after (testwise) updating to libvirt 2.2.0 or 2.3.0, libvirt doesn't start up anymore. Some investigations showed that apparently my "default6" network is the problem. Libvirt is starting correctly after disabling all autostarts. When I then virsh' into the system daemon and type "net-start default6", then nothing happens and that command just hangs infinitely. Further information, relevant log entries and e.g. the used default6.xml configuration file can be found here, as I first thought it would be a configuration error from my side: https://bbs.archlinux.org/viewtopic.php?pid=1653221 Do you maybe have an idea what could be going on? Or do you maybe need more information, and if yes, which exactly? Those "Network is already in use by interface virbr1" error messages worry me. Is the bridge active before you start libvirtd? If so we might be losing netowrk state XML (or fail to parse it) and thus think network is not started and because of autostart we try to start it again (which fails). My suspicion was that error happens during a 2nd attempt to start the network when libvirtd has already hung once while trying to start the network, and was killed, thus preventing proper cleanup of a half-started network. ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
Re: [libvirt-users] Libvirt newer than 2.1.0 doesnt start up
On 17.10.2016 22:32, Rene Pasing wrote: > Hi all, > > I have some problems with libvirt >2.1.0 (so 2.2.0 and 2.3.0): I have a > working environment using libvirt 2.1.0 with 1 domain (called "mail") > and one network (called "default6"), both are autostarted. I have no > problems with this environment using libvirt 2.1.0, everything works great. > > But after (testwise) updating to libvirt 2.2.0 or 2.3.0, libvirt doesn't > start up anymore. > > Some investigations showed that apparently my "default6" network is the > problem. Libvirt is starting correctly after disabling all autostarts. > When I then virsh' into the system daemon and type "net-start default6", > then nothing happens and that command just hangs infinitely. > > Further information, relevant log entries and e.g. the used default6.xml > configuration file can be found here, as I first thought it would be a > configuration error from my side: > https://bbs.archlinux.org/viewtopic.php?pid=1653221 > > Do you maybe have an idea what could be going on? Or do you maybe need > more information, and if yes, which exactly? Those "Network is already in use by interface virbr1" error messages worry me. Is the bridge active before you start libvirtd? If so we might be losing netowrk state XML (or fail to parse it) and thus think network is not started and because of autostart we try to start it again (which fails). Also, can you please share debug logs (apart from what Laine already requested) http://wiki.libvirt.org/page/DebugLogs Before you start libvirt, are there any files under /var/run/libvirt/network/ ? If so, what's their content? Michal ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
Re: [libvirt-users] Libvirt newer than 2.1.0 doesnt start up
On 10/17/2016 10:32 AM, Rene Pasing wrote: Hi all, I have some problems with libvirt >2.1.0 (so 2.2.0 and 2.3.0): I have a working environment using libvirt 2.1.0 with 1 domain (called "mail") and one network (called "default6"), both are autostarted. I have no problems with this environment using libvirt 2.1.0, everything works great. But after (testwise) updating to libvirt 2.2.0 or 2.3.0, libvirt doesn't start up anymore. Some investigations showed that apparently my "default6" network is the problem. Libvirt is starting correctly after disabling all autostarts. When I then virsh' into the system daemon and type "net-start default6", then nothing happens and that command just hangs infinitely. Further information, relevant log entries and e.g. the used default6.xml configuration file can be found here, as I first thought it would be a configuration error from my side: https://bbs.archlinux.org/viewtopic.php?pid=1653221 Do you maybe have an idea what could be going on? Or do you maybe need more information, and if yes, which exactly? Nothing seems unusual about your config, and your troubleshooting so far eliminates some common problems. I've just tried starting an IPv6 network with a libvirtd built from the latest sources (but on Fedora 24) and don't experience your problem. I guess at this point what's most likely to get closer to the root of the problem would be to attach gdb to the hung libvirtd process and run "thread apply all bt". Presumably one of the threads will be waiting on a system call to return and that may give a further clue. ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
[libvirt-users] Libvirt newer than 2.1.0 doesnt start up
Hi all, I have some problems with libvirt >2.1.0 (so 2.2.0 and 2.3.0): I have a working environment using libvirt 2.1.0 with 1 domain (called "mail") and one network (called "default6"), both are autostarted. I have no problems with this environment using libvirt 2.1.0, everything works great. But after (testwise) updating to libvirt 2.2.0 or 2.3.0, libvirt doesn't start up anymore. Some investigations showed that apparently my "default6" network is the problem. Libvirt is starting correctly after disabling all autostarts. When I then virsh' into the system daemon and type "net-start default6", then nothing happens and that command just hangs infinitely. Further information, relevant log entries and e.g. the used default6.xml configuration file can be found here, as I first thought it would be a configuration error from my side: https://bbs.archlinux.org/viewtopic.php?pid=1653221 Do you maybe have an idea what could be going on? Or do you maybe need more information, and if yes, which exactly? Thanks in advance Regards Rene ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users