SnapCenter is unable to delete clone(s) which have been removed from storage
Applies to
- SnapCenter Server (SC) 4.1.1 and above
- SnapCenter Plug-in for Oracle (SCO) 4.1.1 and above
- SnapCenter Plug-in for Microsoft SQL Server (SCSQL) 4.1.1 and above
Issue
- Unable to remove clone(s) from SC via the GUI or the PowerShell (PS) command
"Remove-SmClone -CloneName <Clone_Name> -Force"
- The following error is seen in the SnapCenter GUI:
Cannot delete clone as there are clones present for database . Delete clone(s) , <Clone_Name>
- The following error is seen in the SMCore log of the delete clone job:
"ERROR SMCore_<job_ID> PID=[4172] TID=[37] Exception in method: InvokeXML. System.InvalidOperationException: There is an error in XML document (1, 57). ---> System.InvalidOperationException: <SmResponse xmlns=''> was not expected. at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSmCanExecuteResponse.Read21_SmCanExecuteResponse() --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream) at SnapMgrHelper.RestAdapter.InvokeXML[TReq,TRes](TReq request, String methodType, String remoteURL, Boolean xmlSerializer, Boolean removeXMLNamespace, Boolean dataContractDeserializer, Boolean logRequest, Boolean logResponse) : Detailed Exception There is an error in XML document (1, 57). <SmResponse xmlns=''> was not expected. : BaseException System.InvalidOperationException: <SmResponse xmlns=''> was not expected. at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSmCanExecuteR"
- The following errors are seen in the SnapManagerWeb_<JobID> log of the delete clone job:
ERROR SnapManagerWeb_<JobID> PID=[xxxx] TID=[xxx] Can not delete clone as there are clones present for database. Delete clone(s) , <Clone_Name>
DEBUG SnapManagerWeb_<JobID> PID=[xxxx] TID=[xxx] System.Exception: Cannot delete clone as there are clones present for database . Delete clone(s) , <Clone_Name>
ERROR SnapManagerWeb_<JobID> PID=[xxxx] TID=[xxx] ErrorCode (-1), ErrorMessage (Cannot delete clone as there are clones present for database . Delete clone(s) , <Clone_Name>)