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

[bitnami/kuberay] Missing clusterrole verb 'deletecollection' #32538

Open
vanveele opened this issue Mar 20, 2025 · 4 comments · May be fixed by #32829
Open

[bitnami/kuberay] Missing clusterrole verb 'deletecollection' #32538

vanveele opened this issue Mar 20, 2025 · 4 comments · May be fixed by #32829
Assignees
Labels
kuberay tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@vanveele
Copy link

vanveele commented Mar 20, 2025

Name and Version

bitnami/kuberay

What architecture are you using?

amd64

What steps will reproduce the bug?

Deleting a kuberay raycluster resource using the latest kuberay-operator will attempt and fail to delete pods using the verb deletecollection.

Are you using any custom parameters or values?

N/A

What is the expected behavior?

Operator should have appropriate role to cleanup pods.

What do you see instead?

Reconciler error attempting to use "deletecollection"

{
  "level":"error",
  "ts":"2025-03-20T16:48:00.693Z",
  "logger":"controllers.RayCluster",
  "msg":"Reconciler error",
  "RayCluster":{
    "name":"sample-cluster",
    "namespace":"ray-1-asb"
  },
  "reconcileID":"82fa6a06-d86c-4f42-87b3-5e941c7d12bf",
  "error": "pods is forbidden: User \"system:serviceaccount:kuberay:kuberay-operator\" cannot deletecollection resource \"pods\" in API group \"\" in the namespace \"ray-1-asb\"",
  "stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(* Controller).reconcileHandler\n\t/bitnami/blacksmith-sandox/kuberay-1.3.0/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.5/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/bitnami/blacksmith-sandox/kuberay-1.3.0/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.5/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/bitnami/blacksmith-sandox/kuberay-1.3.0/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.5/pkg/internal/controller/controller.go:227"
}

Additional information

The upstream clusterrole by kuberay team includes the verb here

@vanveele vanveele added the tech-issues The user has a technical issue about an application label Mar 20, 2025
@github-actions github-actions bot added the triage Triage is needed label Mar 20, 2025
@carrodher
Copy link
Member

Thank you for bringing this issue to our attention. We appreciate your involvement! If you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.

Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.

Copy link

github-actions bot commented Apr 6, 2025

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

@github-actions github-actions bot added the stale 15 days without activity label Apr 6, 2025
@vanveele vanveele linked a pull request Apr 6, 2025 that will close this issue
4 tasks
@vanveele
Copy link
Author

vanveele commented Apr 6, 2025

PR submitted for this issue.

@github-actions github-actions bot removed the stale 15 days without activity label Apr 7, 2025
@javsalgar javsalgar changed the title Missing clusterrole verb 'deletecollection' [bitnami/kuberay] Missing clusterrole verb 'deletecollection' Apr 7, 2025
@javsalgar
Copy link
Contributor

Thank you so much for the PR! The team will take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kuberay tech-issues The user has a technical issue about an application triage Triage is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants