Currently, the vm-manager only checks whether the block jobs have finished when cloning a VM from a template to determine whether it can "unlink" the VM from the template in the LDAP.
Due to the asynchronous nature of the block jobs, errors are never checked for and we therefore need to at least check the backing chain of the VM image before unlinking the VM from the template in the LDAP.
Currently, the vm-manager only checks whether the block jobs have finished when cloning a VM from a template to determine whether it can "unlink" the VM from the template in the LDAP. Due to the asynchronous nature of the block jobs, errors are never checked for and we therefore need to at least check the backing chain of the VM image before unlinking the VM from the template in the LDAP.