You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provisioning of GCE PDs with CMEK enable sometimes fails with disk already exists with same name
Type Reason Age From Message
---- ------ ---- ---- -------
Warning ProvisioningFailed 14s (x2 over 15s) pd.csi.storage.gke.io_gke-cluster-1-default-pool-4cede575-43h6_de91f0bc-68b9-451d-826a-43e526adc6a1 failed to provision volume with StorageClass "csi-gce-pd-cmek": rpc error: code = DeadlineExceeded desc = context deadline exceeded
Normal ExternalProvisioning 8s (x3 over 16s) persistentvolume-controller waiting for a volume to be created, either by external provisioner "pd.csi.storage.gke.io" or manually created by system administrator
Normal Provisioning 4s (x5 over 16s) pd.csi.storage.gke.io_gke-cluster-1-default-pool-4cede575-43h6_de91f0bc-68b9-451d-826a-43e526adc6a1 External provisioner is provisioning volume for claim "default/pvc-demo"
Warning ProvisioningFailed 4s (x3 over 14s) pd.csi.storage.gke.io_gke-cluster-1-default-pool-4cede575-43h6_de91f0bc-68b9-451d-826a-43e526adc6a1 failed to provision volume with StorageClass "csi-gce-pd-cmek": rpc error: code = AlreadyExists desc = CreateVolume disk already exists with same name and is incompatible: actual disk KMS key name projects/test-project/locations/us-central1/keyRings/TestKeyRing/cryptoKeys/test-key/cryptoKeyVersions/8 did not match expected param projects/test-project/locations/us-central1/keyRings/TestKeyRing/cryptoKeys/test-key
Repro Steps
Deploy GCE PD CSI Driver with csi-provisioner sidecar parameter --timeout=1s
Problem
Provisioning of GCE PDs with CMEK enable sometimes fails with
disk already exists with same name
Repro Steps
csi-provisioner
sidecar parameter--timeout=1s
Proposed Fixes
There are two fixes for this:
external-provisioner
sidecar, this won't fix the issue, but it will reduce the likelihood of this happening.CreateVolume
call does not fail for CMEK if operation is retried/assign
The text was updated successfully, but these errors were encountered: