Failed to delete volume clone error in vSphere
Applies to
- SnapCenter Plug-In for VMWare 5.0P3 (SCV)
- Ontap 9.12.1P7
Issue
SCV can be leveraged to attach and then detach a disk from the SCV backups: when detaching a disk using SCV wizard, SCV unmounts the clone from a host and the admin VM: when that task is running, an error is regularly showing in vSphere client: the vpshere error is the same as the one we see in the detach scv job log, particularly the vmcontrol.log:
c.n.a.s.c.SnapManagerStorageServiceImpl : [JobId:12345] Failed to delete volume clone 10.10.10.10:/vol/datastore1_v0000000000001: Failed to remove export policy. Object reference not set to an instance of an object.
c.n.a.m.AbstractMountStrategy : [JobId:12345] Exception while unmounting nfs datastore:Failed to delete volume clone 10.10.10.10:/vol/datastore1_v0000000000001: Failed to remove export policy. Object reference not set to an instance of an object.