SC host removal fails due to stale file system entries
Applies to
SnapCenter Server
Issue
The below error message is logged in the SnapManagerWeb.log during a failed host removal
2021-01-13T15:58:06.9509557-06:00 ERROR SnapManagerWeb_###### PID=[10344] TID=[19] System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at SnapManager.SMSDAL.HostManageDAL.RemoveFileSystemStaleEntries(SmSnapManagerDBEntities dbEntities, List`1 storageFootPrintIds, List`1 storageFileSystemIds, Int64 hostId, List`1 hostNodeIds)