-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Volumes stuck in Released state #9833
Comments
First change may be introducing new opt:
In that case I don't get
|
TLDR from above link where I encountered this issue while testing the latest COMMIT_ID for v1.28 branch $ kg pv -A
|
is this resolved already? |
nope. issue is still open and PR is not merged. Waiting for end of code freeze. |
Hi, I've just tested #9964 with Local path config: local-storage.yaml. While PV creates, it cannot be deleted, the helper pod fails. helper-pod-create-pvc-v0.24.yaml I think, the main difference is v0.26 doesn't use
Volume permissions (v0.24):
Volume permissions (v0.26):
Should I file a separate issue? |
yes, that sounds like a separate issue. I don't see any difference in the volume permissions or contexts between the two versions though? It is expected that the numeric portion at the end will differ. |
##Environment Details Infrastructure
Node(s) CPU architecture, OS, and version: Linux 5.14.21-150500.53-default x86_64 GNU/Linux Cluster Configuration:
Config.yaml:
Reproduction
Results: No dangling leftover volume claims, they're reclaimed appropriately. $ cat pvc.yaml
$ cat pv-pod.yaml
|
Environmental Info:
K3s Version: v1.29.3+k3s1
Local path provisioner: v0.0.26
Node(s) CPU architecture, OS, and Version:
Linux 5.14.0-362.24.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Mar 20 04:52:13 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
3 servers, embedded etcd
Describe the bug:
After deploying new 1.29.3 cluster I noticed that PVs doesn't delete and stuck in
released
state, even though they havepersistentVolumeReclaimPolicy: Delete
.Steps To Reproduce:
local-path-provisioner.log
Expected behavior:
Persistent volume deletes, there are no errors in Local path provisioner, there are no failed
helper-pod-delete-pvc-*
Pods.Actual behavior:
Persistent volume doesn't delete, but stuck in
released
state, there are errors in Local path provisioner's logs and failedhelper-pod-delete-pvc-*
pods appear.Additional context / logs:
helper-pod-delete-pvc-3f2233a9-795e-4ba0-a52f-e4bf335979a4.yml
Workaround:
If downgrade Local path provisioner to v0.0.24, then previously stuck in
released
state PVs automatically get deleted.The text was updated successfully, but these errors were encountered: