hpe-storage / csi-driver

A Container Storage Interface (CSI) driver from HPE
https://scod.hpedev.io
Apache License 2.0
57 stars 53 forks source link

Unbounded PVCs on OpenShift v4.6.58 / v2.1.3 #317

Open ondrejlinha opened 2 years ago

ondrejlinha commented 2 years ago

After upgrading the driver to version v2.1.3 on OpenShift v4.6.58 it is no longer possible to bound PVCs from the volumesnapshots:

E0624 08:53:57.887054 1 controller.go:957] error syncing claim "1038e006-977b-44f5-9be9-7930bd1ce984": failed to provision volume with StorageClass "block": error getting handle for DataSource Type VolumeSnapshot by Name backup.202206240651: error getting snapshot backup.202206240651 from api server: the server could not find the requested resource (get volumesnapshots.snapshot.storage.k8s.io backup.202206240651)

datamattsson commented 2 years ago

@ondrejlinha which storage backend are you using? I don't think it matters in this case as there might've been an CSI Snapshot API version change between 2.0.0 to 2.1.3 that makes old snapshots unusable.