Skip to content

Commit 78472a8

Browse files
authored
Continue node remediation when volume not found
1 parent 17ccd23 commit 78472a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/crd/trident_node_remediation_utils.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ func (n *nodeRemediationUtils) GetPvcToTvolMap(
113113
for _, volumeName := range tridentVolumesOnNode {
114114
tvol, err := n.orchestrator.GetVolume(ctx, volumeName)
115115
if err != nil {
116-
return nil, fmt.Errorf("could not get volume %s: %v", volumeName, err)
116+
Logc(ctx).WithError(err).Warnf("Could not get volume %s.", volumeName)
117+
continue
117118
}
118119
pvcName := tvol.Config.RequestName
119120
if pvcName == "" { // Sanity check, should never be empty

0 commit comments

Comments
 (0)