PVC stopped mounting

0

Good afternoon!

We are facing this problem, we are trying to create in Kubernetes (not EKS) a volume via storage class (provisioner: ebs.csi.aws.com) , volume is created but not attached to workers Could you help me with the solution of the problem?

We start to have this problem suddenly few days ago after service restart (before few years everything was OK). Here some logs from Kubernetes events:

"Multi-Attach error for volume "pvc-##########" Volume is already exclusively attached to one node and can't be attached to another"

"Unable to attach or mount volumes: unmounted volumes=[data], unattached volumes=[kube-api-access-#### data config]: timed out waiting for the condition"

Kubernetes Version 1.21.14

Description of Storage Class:

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: gp2
  labels:
    app: ebs-csi-driver
    app.kubernetes.io/managed-by: Helm
    heritage: deckhouse
    module: cloud-provider-aws
  annotations:
    meta.helm.sh/release-name: cloud-provider-aws
    meta.helm.sh/release-namespace: d8-system
    storageclass.kubernetes.io/is-default-class: 'true'
  selfLink: /apis/storage.k8s.io/v1/storageclasses/gp2
provisioner: ebs.csi.aws.com
parameters:
  type: gp2
reclaimPolicy: Delete
allowVolumeExpansion: true
volumeBindingMode: WaitForFirstConsumer
Nadyka
asked 8 months ago218 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions