Michal Privoznik
2016-Oct-13 00:57 UTC
Re: [libvirt-users] Fwd: Problems connecting to the libvirtd server
On 12.10.2016 19:16, Stefano Ricci wrote:> I checked with qmp and your consideration was correct, the status of > qemu process is in prelaunch and running equals false. > But I do not understand why[Please don't top post on technical lists] Well, I don't have any idea either. I mean, the daemon logs you provided are from the second run of libvirtd. Maybe this is qemu or kernel bug? If you kill the stalled process and then start libvirtd again, can you connect then or does it still hang? Michal
Stefano Ricci
2016-Oct-13 16:08 UTC
Re: [libvirt-users] Fwd: Problems connecting to the libvirtd server
it does still hang. The strange thing is that I launched qemu, without libvirtd, independently creating a linux virtual machine, functions regularly and reading the state with qmp is regularly running. Stefano 2016-10-13 2:57 GMT+02:00 Michal Privoznik <mprivozn@redhat.com>:> On 12.10.2016 19:16, Stefano Ricci wrote: >> I checked with qmp and your consideration was correct, the status of >> qemu process is in prelaunch and running equals false. >> But I do not understand why > > [Please don't top post on technical lists] > > Well, I don't have any idea either. I mean, the daemon logs you provided > are from the second run of libvirtd. Maybe this is qemu or kernel bug? > If you kill the stalled process and then start libvirtd again, can you > connect then or does it still hang? > > Michal
Stefano Ricci
2016-Oct-13 16:48 UTC
Re: [libvirt-users] Fwd: Problems connecting to the libvirtd server
I did more tests and if kill the qemu process without stopping libvirtd and relaunching it with the following command /usr/bin/qemu-system-x86_64 -S --no-user-config -nodefaults -nographic -M none -qmp unix: /var /lib /libvirt /qemu /capabilities.monitor.sock,server, nowait -pidfile /var/lib/libvirt/qemu/capabilities.pidfile -daemonize, then virsh working correctly and connects. The command used to launch qemu is used by libvirtd automatically taken by the ps -a | grep qemu. However checking the status of qemu process with qmp is always in prelaunch and running is false, even when it works. When restart libvirtd back does it still hangs. 2016-10-13 18:08 GMT+02:00 Stefano Ricci <sfn.rcc@gmail.com>:> it does still hang. > The strange thing is that I launched qemu, without libvirtd, > independently creating a linux virtual machine, functions regularly > and reading the state with qmp is regularly running. > > Stefano > > 2016-10-13 2:57 GMT+02:00 Michal Privoznik <mprivozn@redhat.com>: >> On 12.10.2016 19:16, Stefano Ricci wrote: >>> I checked with qmp and your consideration was correct, the status of >>> qemu process is in prelaunch and running equals false. >>> But I do not understand why >> >> [Please don't top post on technical lists] >> >> Well, I don't have any idea either. I mean, the daemon logs you provided >> are from the second run of libvirtd. Maybe this is qemu or kernel bug? >> If you kill the stalled process and then start libvirtd again, can you >> connect then or does it still hang? >> >> Michal
Reasonably Related Threads
- Re: Fwd: Problems connecting to the libvirtd server
- Re: Fwd: Problems connecting to the libvirtd server
- Re: Fwd: Problems connecting to the libvirtd server
- Re: Fwd: Problems connecting to the libvirtd server
- Re: Fwd: Problems connecting to the libvirtd server