Skip to main content
NetApp Knowledge Base

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 DeleteFailed to get the LUN mapping information.,  Failed to get the LUN mapping infotmation.,
 
clipboard_e8657723742cdebd04cb62a07d49ba921.png

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.