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
Describe the bug:
While creating bunch of PVCs on a single node k8s (k0s) some PVCs creation fails and stays in Pending status.
Logs from openebs-localpv-provisioner shows, that the error is
'ProvisioningFailed' failed to provision volume ... already exists
Actual reason happens because during the initial start openebs-localpv-provisioner does the PVC provision, and then fails with
request.go:690] Waited for 1.142520792s due to client-side throttling, not priority and fairness, request: GET:https://__.__.__.__:443/api/v1/namespaces/openebs/pods/init-pvc-b857cbe4-a291-4ce3-ae53-83d0a43a9a8f
leaderelection.go:330] error retrieving resource lock openebs/openebs.io-local: Get "https://__.__.__.__:443/api/v1/namespaces/openebs/endpoints/openebs.io-local": context deadline exceeded
leaderelection.go:283] failed to renew lease openebs/openebs.io-local: timed out waiting for the condition
event.go:285] Event(v1.ObjectReference{Kind:"Endpoints", Namespace:"", Name:"", UID:"", APIVersion:"v1", ResourceVersion:"", FieldPath:""}): type: 'Normal' reason: 'LeaderElection' openebs-localpv-provisioner-587f54796-pkj8v_0acbfa99-4e8b-424a-a000-57c3983d0b79 stopped leading
controller.go:889] leaderelection lost
It seems like the provisioned issued a provision request, failed to get response and then tried to provision the same PVS which leads to the error.
Expected behaviour:
Provisioner checks, that PVC exists before trying to create and fails.
Steps to reproduce the bug:
Configure a single node k8s cluster with ~20 PVCs, try to create it couple of times. You would need a bit of luck, for us it happens not very often.
The output of the following commands will help us better understand what's going on:
kubectl get pods -n <openebs_namespace> --show-labels
Describe the bug:
While creating bunch of PVCs on a single node k8s (k0s) some PVCs creation fails and stays in
Pending
status.Logs from
openebs-localpv-provisioner
shows, that the error isActual reason happens because during the initial start
openebs-localpv-provisioner
does the PVC provision, and then fails withIt seems like the provisioned issued a provision request, failed to get response and then tried to provision the same PVS which leads to the error.
Expected behaviour:
Provisioner checks, that PVC exists before trying to create and fails.
Steps to reproduce the bug:
Configure a single node k8s cluster with ~20 PVCs, try to create it couple of times. You would need a bit of luck, for us it happens not very often.
The output of the following commands will help us better understand what's going on:
kubectl get pods -n <openebs_namespace> --show-labels
kubectl logs <upgrade_job_pod> -n <openebs_namespace>
I don't see
upgrade_job_pod
.Anything else we need to know?:
Same issue was reported here openebs/openebs#3131
Environment details:
kubectl get po -n openebs --show-labels
): see abovekubectl version
):cat /etc/os-release
): Oracle Linux 8.10uname -a
):The text was updated successfully, but these errors were encountered: