csi-driver-host-path
csi-driver-host-path copied to clipboard
Snapshot creation times out
I am trying to use this driver to test creation of a volume snapshot from a PVC populated with the state of /var/lib/docker of a pod after pulling a number of Docker images. While this works when I simply write a hello-world file into /var/lib/docker it fails with actual data because the volumesnapshots remains stuck at:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal CreatingSnapshot 3m snapshot-controller Waiting for a snapshot docker-registry/docker-registry-seed-snapshot to be created by the CSI driver.
Eventually Status will show:
Error:
Message: Failed to check and update snapshot content: failed to take snapshot of the volume 08880826-203e-11f0-b740-a28f3b798a11: "rpc error: code = DeadlineExceeded desc = context deadline exceeded"
Time: 2025-04-23T12:36:57Z
Is this to be expected for PVC exceeding several gigabytes in size? What information would I need to be able to debug this further? There are a number of containers for the csi-hostpathplugin-0 pod and I'm not sure what to look for.