[libvirt] Call to virDomainIsActive hangs forever

Mathieu Tarral mathieu.tarral at gmail.com
Thu Jun 14 13:31:57 UTC 2018


Hi Daniel,

Thanks for your help, i was able to run the libvirt daemon from master,
and after add some debug messages, i understood that the call
to virDomainIsActive was actually hanging from the client.

It never reached the daemon.

Looking back at the call again:
https://gist.github.com/Wenzel/624cb8c0746c05bd824d2b3c04b6b9f9

The call is waiting for pthread_sigmask to return.
Looking into the libvirt source code (3.0.0) at the location of the call:
https://github.com/libvirt/libvirt/blob/v3.0.0/src/rpc/virnetclient.c?utf8=%E2%9C%93#L1659

Is this supposed to be an instant call, or does it wait for specific
conditions/event to return ?

Any idea what might go wrong ?

Thank you.

-- 
Mathieu Tarral




More information about the libvir-list mailing list