task is indempotent, but problem is with libvird init script. So this case should be reassigned to mos team. They should prepare fix for it.
Problem description:
# service libvirtd start; service libvirtd status; virsh net-list --all
libvirtd start/running, process 32555
libvirtd start/running, process 32555
error: failed to connect to the hypervisor
error: no valid connection
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
So, fix is for it is init script to wait until the service is ready for connections.
task is indempotent, but problem is with libvird init script. So this case should be reassigned to mos team. They should prepare fix for it.
Problem description:
# service libvirtd start; service libvirtd status; virsh net-list --all libvirt/ libvirt- sock': No such file or directory
libvirtd start/running, process 32555
libvirtd start/running, process 32555
error: failed to connect to the hypervisor
error: no valid connection
error: Failed to connect socket to '/var/run/
So, fix is for it is init script to wait until the service is ready for connections.