Skip to content
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

unable to delete the helper pod "helper-pod-delete-pvc-XYZ" #438

Open
applike-ss opened this issue Jul 30, 2024 · 6 comments
Open

unable to delete the helper pod "helper-pod-delete-pvc-XYZ" #438

applike-ss opened this issue Jul 30, 2024 · 6 comments

Comments

@applike-ss
Copy link

applike-ss commented Jul 30, 2024

Hello,

i am experiencing the following error quite often:

time="2024-07-30T08:25:22Z" level=error msg="unable to delete the helper pod: pods \"helper-pod-delete-pvc-f02f13f9-7ffd-45bc-ba90-629cf304c9a9\" not found" 

In my use-case, i am creating many (50+) pvcs at almost the same time. Is there maybe a race condition?
After the pod using the pv is terminated, the pvs stay in released state instead of beind removed.

I am using v0.0.27 currently, as i use a different registry that doesn't contain v0.0.28 just yet and docker hub pull limits are just too low for every day production use.

Let me know if you need any more information to track this down.

EDIT: Additional information: for HA reasons i used 3 replicas instead of the default value from the chart. However I do see in the code that there was/is no Leader election enabled (it is set to disabled in the code).

@jan-g
Copy link
Contributor

jan-g commented Aug 16, 2024

Can you check the node name and labels to see if #413 applies?

@applike-ss
Copy link
Author

Can you check the node name and labels to see if #413 applies?

On my end the labels match the nodes name, so i assume your issue is not the same as mine.

It seems more related to quickly creating and removing lots of volumes. In my case i was creating lots of pods with ephemeral volumes using the csi driver.

@derekbit
Copy link
Member

Hello,

i am experiencing the following error quite often:

time="2024-07-30T08:25:22Z" level=error msg="unable to delete the helper pod: pods \"helper-pod-delete-pvc-f02f13f9-7ffd-45bc-ba90-629cf304c9a9\" not found" 

In my use-case, i am creating many (50+) pvcs at almost the same time. Is there maybe a race condition? After the pod using the pv is terminated, the pvs stay in released state instead of beind removed.

I am using v0.0.27 currently, as i use a different registry that doesn't contain v0.0.28 just yet and docker hub pull limits are just too low for every day production use.

Let me know if you need any more information to track this down.

EDIT: Additional information: for HA reasons i used 3 replicas instead of the default value from the chart. However I do see in the code that there was/is no Leader election enabled (it is set to disabled in the code).

@applike-ss
How did you run into the issue? Do you have steps to reproduce?

@applike-ss
Copy link
Author

I have setup my Gitlab with a pipeline that spawns a lot of jobs (say 50) at the same time.
The Gitlab runners are running inside my kubernetes cluster and use the local path provisioner for testing.
Jobs may request new nodes on-demand if the cluster can not fulfill the request immediately.
After some tests i discovered that some of the PVCs are not deleted after the job/pod terminated.

Copy link

github-actions bot commented Nov 2, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Nov 2, 2024
@applike-ss
Copy link
Author

/unstale

@derekbit derekbit removed the stale label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants