Creating volume snapshot with Ceph CSI driver fails in OpenShift 4

Solution In Progress - Updated -

Issue

Every time a volumeSnapshot is being created the csi-snapshotter container shows the following logs:

I0804 13:54:16.842445       1 request.go:1017] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Operation cannot be fulfilled on volumesnapshotcontents.snapshot.storage.k8s.io \"snapcontent-9046fc53-c316-41cb-b088-6ee2da4088c3\": the object has been modified; please apply your changes to the latest version and try again","reason":"Conflict","details":{"name":"snapcontent-9046fc53-c316-41cb-b088-6ee2da4088c3","group":"snapshot.storage.k8s.io","kind":"volumesnapshotcontents"},"code":409}
I0804 13:54:16.842552       1 snapshot_controller.go:200] updating VolumeSnapshotContent[snapcontent-9046fc53-c316-41cb-b088-6ee2da4088c3] error status failed Operation cannot be fulfilled on volumesnapshotcontents.snapshot.storage.k8s.io "snapcontent-9046fc53-c316-41cb-b088-6ee2da4088c3": the object has been modified; please apply your changes to the latest version and try again
E0804 13:54:16.842573       1 snapshot_controller.go:139] createSnapshot [create-snapcontent-9046fc53-c316-41cb-b088-6ee2da4088c3]: error occurred in createSnapshotWrapper: failed to take snapshot of the volume, pvc-27da380d-caa8-4d2d-ae9b-06b152bd8815: %!q(<nil>)
E0804 13:54:16.842610       1 goroutinemap.go:150] Operation for "create-snapcontent-9046fc53-c316-41cb-b088-6ee2da4088c3" failed. No retries permitted until 2020-08-04 13:54:17.842584822 +0000 UTC m=+3721.127509318 (durationBeforeRetry 1s). Error: "failed to take snapshot of the volume, pvc-27da380d-caa8-4d2d-ae9b-06b152bd8815: %!q(<nil>)"

Environment

  • OpenShift Container Platform (OCP) 4.x
  • Ceph Luminous (v12.2.13)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content