Skip to content

Parallel HyperDisk Clones fail with: rpc error: code = Aborted desc = An operation with the given Volume ID <> already exists #1968

Open
@karkunpavan

Description

@karkunpavan

This issue was reported by our partner Redhat openshift during their testing.

Reproduction steps:

  1. 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.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions