Error in CSI logs Failed to check and update snapshot content
search cancel

Error in CSI logs Failed to check and update snapshot content

book

Article ID: 393023

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service

Issue/Introduction

Failed snapshot error in csi logs show.

 

I0403 09:06:46.104589       1 snapshot_controller.go:325] createSnapshotWrapper: CreateSnapshot for content snapcontent-<id> returned error: rpc error: code = Internal desc = failed to create snapshot on volume "<volume id>": Snapshot with name "snapshot-<id>" and id "<id>" on volume "<volume id>" is created on CNS, but post-processing failed. You need to manually cleanup this snapshot.

 

 

Environment

 

vSphere 8.0

Cause

Stale snapshot, taken and not cleared up correctly

Resolution

Remove offending  volumesnapshot volumesnapshotcontent

kubectl delete volumesnapshot

kubectl delete volumesnapshotcontents

Resync datastore as per KB 390695