Closed ananthbh-te closed 4 months ago
I verified the EBS CSI driver policy and it seems fine - https://github.com/kubernetes-sigs/aws-ebs-csi-driver/issues/1140#issuecomment-1094892327
Hi @ananthbh-te , what you're seeing is likely an asynchronous creation failure due to KMS encryption of a volume failing.
If you've confirmed your policy is correct, I would also confirm that the ARN you are passing in your storage class points to a valid and existing KMS key in the same region as your volume.
If that doesn't help, could you provide the StorageClass
parameters that you are using to create the volume?
FWIW Kops' prow k/k e2e testing has seen this same flaky error (see the linked issue above)
Feb 10 20:13:18.720: INFO: At 2024-02-10 20:08:18 +0000 UTC - event for aws46qr4: {persistentvolume-controller } WaitForFirstConsumer: waiting for first consumer to be created before binding
Feb 10 20:13:18.720: INFO: At 2024-02-10 20:08:18 +0000 UTC - event for aws46qr4: {ebs.csi.aws.com_ebs-csi-controller-84d99d85bf-gds8t_2697faee-bf5c-4097-9f9f-d34526ec0feb } Provisioning: External provisioner is provisioning volume for claim "volume-expand-6492/aws46qr4"
Feb 10 20:13:18.720: INFO: At 2024-02-10 20:08:18 +0000 UTC - event for aws46qr4: {persistentvolume-controller } ExternalProvisioning: Waiting for a volume to be created either by the external provisioner 'ebs.csi.aws.com' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered.
Feb 10 20:13:18.720: INFO: At 2024-02-10 20:08:22 +0000 UTC - event for aws46qr4: {ebs.csi.aws.com_ebs-csi-controller-84d99d85bf-gds8t_2697faee-bf5c-4097-9f9f-d34526ec0feb } ProvisioningFailed: failed to provision volume with StorageClass "volume-expand-6492cxrrm": rpc error: code = Internal desc = Could not create volume "pvc-8d24e563-c64c-45df-9f31-e7c3c9b8a994": failed to get an available volume in EC2: InvalidVolume.NotFound: The volume 'vol-029d5b5c03cd79b35' does not exist.
status code: 400, request id: 15206e5b-b1fd-4254-8dea-1f8be92d4cb8
Feb 10 20:13:18.720: INFO: At 2024-02-10 20:08:24 +0000 UTC - event for aws46qr4: {ebs.csi.aws.com_ebs-csi-controller-84d99d85bf-gds8t_2697faee-bf5c-4097-9f9f-d34526ec0feb } ProvisioningFailed: failed to provision volume with StorageClass "volume-expand-6492cxrrm": rpc error: code = AlreadyExists desc = Could not create volume "pvc-8d24e563-c64c-45df-9f31-e7c3c9b8a994": Parameters on this idempotent request are inconsistent with parameters used in previous request(s)
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
/kind bug
**When i try to create a new volume with EBS csi driver installed, i'm facing this issue.
This was not the case before installing EBS CSI driver. **
EBS csi driver should create the volume
PVC events
logs of ebs-csi-controller pod
Environment
kubectl version
): 1.24