Open
Description
This issue was reported by our partner Redhat openshift during their testing.
Reproduction steps:
- Create multiple DVs cloning (via VolumeSnapshot) the same PVC (example). Try to increase the number of clone DVs created "concurrently" until you reproduce the issue.
- Some of the DVs will get stuck in PrepClaimInProgress phase and their VolumeSnapshots will report the following error:
Failed to check and update snapshot content: failed to take snapshot of the volume projects//zones/us-central1-c/disks/pvc-: "rpc error: code = Aborted desc = An operation with the given Volume ID projects//zones/us-central1-c/disks/pvc- already exists"
The error seems to be coming from the volume-lock logic here.