Created attachment 1331921 [details]
Description of problem:
Libvirt hang if the pool defined in it is not active. It was checked on iSCSI and NFS storages. GDB hang too, if you try to connect to the process.
Version-Release number of selected component (if applicable):
libvirtd (libvirt) 3.2.0
virsh -v 3.2.0
Reproduced in the same way on version 3.7.0
Steps to Reproduce:
1. virsh pool-create define
2. Turn off the physical machine on which the storage is located.
3. virsh pool-refresh NFS
After that, any actions with pools in the virsh are not available. Other actions like virsh list is available.
After the storage is turned on, the libvirtd continues its normal operation
Libvirtd log at the time of the problem is attached.