Open Zarquan opened 7 years ago
Sort term fix is to filter the list through sort.
virsh --c "${connection:?}" vol-list --pool "${basepool}" > "${tempdat}"
becomes
virsh --c "${connection:?}" vol-list --pool "${basepool}" | sort --unique > "${tempdat}"
An odd bug in libvirt returns multiple duplicates in the list of volumes.
Found a reference to similar behaviour in Redhat bugzilla entry 1176510, but this was from 2014/2015 and no follow up since .
We are now encountering the same issue on an up to date install of Debian 8.6.