Skip to main content
NetApp Knowledge Base

SC fails to delete snapshot during applying retention with remove snapshot error: 102

Views:
448
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

SnapCenter Server (SC) 5.x and above

Issue

  • SC backup jobs attempt to apply retention and fails with error Remove SnapShot failed Error: 102
  • <installation_path>\Program Files\NetApp\SnapCenter\SMCore\SnapDriveSALDebug.log  have the following entries:
Command starts: Remove-NcSnapshot -Volume <volume> -Snapshot <snapshot_name>
Verbose SAL PID=[7152] TID=[4504] ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: entry doesn't exist
Verbose SAL PID=[7152] TID=[4504] Remove Snapshot <snapshot_name> on <volume> is failed. Error: 102
  • May also see the following error in the <installation_path>\NetApp\SnapCenter\App_Data\log\SnapManagerWeb_<id>.log:

ERROR SnapManagerWeb_1576494 PID=[8592] TID=[70] ErrorCode (-1), ErrorMessage (A root ambient transaction was completed before the nested transaction. The nested transactions should be completed first.)
ERROR SnapManagerWeb_1576494 PID=[8592] TID=[70] System.Exception: Unable to delete the backup <backup_name>. Reason : A root ambient transaction was completed before the nested transaction. The nested transactions should be completed first.
   at SnapManager.SMSDAL.BackupDAL.DeleteMainBackups(List`1 backups, SmDeleteBackupsResponse response, SmDeleteBackupContext context, SmSnapManagerDBEntities entities, DbContext pluginSpecificEntities, String objectStorageBackupDeletionResult)
   at SnapManager.SMSDAL.BackupDAL.<>c__DisplayClass41_0.<DeleteBackup>b__0()
DEBUG SnapManagerWeb_1576494 PID=[8592] TID=[70] BackupBiz - DeleteBackup failed with error: The transaction has aborted.

  • These can be logged hundreds of times during backup job and the length of the backup job can grow from a few minutes in duration to as much as few hours.

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.