Restore from backup with Commvault failed with the following error message: "Cannot attach Virtual Disk because the VM is in Image Locked status"
Issue
Performing the restore from backup whit Commvault software is failing when the VM was configured as a High Available and with a VM Lease in the Storage Domain.
The message from the engine.log:
2020-03-04 14:41:05,133+01 WARN [org.ovirt.engine.core.bll.storage.disk.AttachDiskToVmCommand] (default task-41) [e39840b9-c1a4-410d-8ab3-95122e845bce] Validation of action 'AttachDiskToVm' failed for user commvault@internal-authz. Reasons: VAR__ACTION__ATTACH_ACTION_TO,VAR__TYPE__DISK,ACTION_TYPE_FAILED_VM_STATUS_ILLEGAL,VAR__VM_STATUS__IMAGE_LOCKED
Environment
Red Hat Virtualization 4.1 (RHV 4.1)
Commvault Complete Backup & Recovery
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.