Deletion of Clone Lifecycle volume clone fails after upgrading SnapCenter and ONTAP
- Views:
- 99
- Visibility:
- Public
- Votes:
- 0
- Category:
- snapcenter
- Specialty:
- snapx
- Last Updated:
- 11/5/2024, 4:15:01 PM
Applies to
- SnapCenter Server (SC) 5.0P1
- SnapCenter Plug-in for Microsoft SQL Server (SCSQL) 5.0P1
- ONTAP 9.14.1P6
Issue
After upgrading SnapCenter to 5.0P1 and ONTAP to 9.14.1P6, deletion of volumes clones during Clone Lifecycle jobs fails with the following errors:
SMCore_<JobID>_<Date_Time>.log:
DEBUG SMCore_<JobID> PID=[xxxx] TID=[xxxx] ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Failed to delete volume "<Volume_Name>" in Vserver "<Vserver_Name>" because it has one or more clones. Use the "volume clone show -parent-vserver <Vserver_Name> -parent-volume <Volume_Name>" command to list clones, and either delete or split the clones and retry the operation. Use "volume clone split start -vserver <vserver name> -flexclone <clone name>" to split clones. Use "volume delete -vserver <vserver name> -volume <clone name>" to delete clones.
DEBUG SMCore_<JobID> PID=[xxxx] TID=[xxxx] No retry condition match found or max retry reached. Throwing error The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Failed to delete volume "<Volume_Name>" in Vserver "<Vserver_Name>" because it has one or more clones. Use the "volume clone show -parent-vserver <Vserver_Name> -parent-volume <Volume_Name>" command to list clones, and either delete or split the clones and retry the operation. Use "volume clone split start -vserver <vserver name> -flexclone <clone name>" to split clones. Use "volume delete -vserver <vserver name> -volume <clone name>" to delete clones.
DEBUG SMCore_<JobID> PID=[xxxx] TID=[xxxx] --PSHelper::RunCommand
DEBUG SMCore_<JobID> PID=[xxxx] TID=[xxxx] --PSHelper::RunCommand
ERROR SMCore_<JobID> PID=[xxxx] TID=[xxxx] Message : Failed to run a command Remove-NcVol
SnapCenter UI:
Storage Resource Clone Delete
> Failed to get the LUN mapping information., Failed to get the LUN mapping infotmation.,
