PersistenceVolumeClaim - I am getting error waiting for first consumer to be created before binding

Asking for help? Comment out what you need so we can get more information to help you!

Hi, I am using Glusterfs storageclass and trying to create a Jupyterhub Pod but Persistencevolumeclaim is going into pending state.
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
glusterfs (default) kubernetes.io/glusterfs Delete WaitForFirstConsumer

currently PVC with accessModes:
- ReadWriteOnce is not running whereas ReadWriteMany accessMode PVC is running.

Due to this multiple issues are faced simultaneously.

  1. PersistenceVolumeClaim -waiting for first consumer to be created before binding
  2. Calico -calico-node-is-not-ready-bird-is-not-ready-bgp-not-established
  3. ETCD -“error”:“rpc error: code = DeadlineExceeded desc = latest balancer error: all SubConns are in TransientFailure, latest connection error: connection closed”}
    Error: context deadline exceeded.

4.Docker error - level=error msg=“stream copy error: reading from a closed fifo” and level=error msg="Error running exec aec458f73060a3ee2e5d3b9b33d8f3fe4c81bf5d5488a3a138d76be1394a411b in container: OCI runtime exec failed: exec failed: container_linux>

Please help me to solve cluster level issue

Cluster information:

2 Master and 2 worker node with HAPROXY Load Balancer
Kubernetes version:v1.21.0
Cloud being used: (put bare-metal if not on a public cloud) Pure bare metal
Installation method: kubeadm
Host OS: Ubuntu 20.04.1 LTS
CNI and version: calico/cni - v3.14.2
CRI and version: Docker version 20.10.7, build 20.10.7-0ubuntu1~20.04.2

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.