-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] failed to delete large pv, thus making node unschedulable. #181
Comments
1 task
bernardgut
changed the title
[bug] failed to delete large pv on Talos, making nodes unschedulable.
[bug] failed to delete large pv, thus making node unschedulable.
May 1, 2024
@niladrih do we need to add toleration for |
I'm getting the same error on
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug:
After You purposefully create a large (80% of the node ephemeral storage)
pvc
to test the behavior of the localpv-provisioner, the provisioner successfully creates it, but fails to delete thepv
after thepvc
is removed, thus leaving the node withdiskPressure=true
and preventing further scheduling of pods on the node. Manual deletion of thepv
on kubernetes leaves the data on disk and persists the issue.On Talos 1.7.0 using Openebs-localpv-provisioner (Helm) and the default Talos deployment instructions in the docs.
Expected behaviour:
The provisioner successfully deletes the
pv
after thepvc
is deleted and/or successfully deletes the data after thepv
is manually deleted, thediskPressure=true
is removed and the node resumes operations.Steps to reproduce the bug:
/var/openebs/local
in the kubelet as per the docsThe output of the following commands will help us better understand what's going on:
These are the logs of the localpv-provisioner container after the deletion. They run a loop of the following
kubectl get pods -n <openebs_namespace> --show-labels
kubectl logs <upgrade_job_pod> -n <openebs_namespace>
Anything else we need to know?:
NA
Environment details:
kubectl get po -n openebs --show-labels
): see abovekubectl version
): Server Version: v1.29.3cat /etc/os-release
): Talos 1.7.0uname -a
):Linux v1 6.6.28-talos #1 SMP Thu Apr 18 16:21:02 UTC 2024 x86_64 Linux
The text was updated successfully, but these errors were encountered: