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

Running Litmus workflows in Openshift throws "cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on:" #405

Closed
sputmayer opened this issue Mar 17, 2022 · 4 comments
Assignees

Comments

@sputmayer
Copy link

Bug

What happened:
I deployed Litmus 2.6 on Openshift in a disconnected environment. While I had issues with RBAC for starting Litmus, I finally got everything working and Litmus seems to be running fine.
Next I wanted to run the workflow to do some chaos experiments in the cluster

What you expected to happen:
I expected the workflow to run or atlesat kickoff

How to reproduce it (as minimally and precisely as possible):
Deploy it in an Openshift cluster

Anything else we need to know?:

When I try to schedule a workflow using Litmus Portal Chaos Hub I can see the following errors in the Workflow Operator.

pods "custom-chaos-workflow-1647427227-1647432738-3411883899" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , " namespace=litmus workflow=custom-chaos-workflow-1647427227-1647432738
Also attaching the logs

LitmusWorkflowLogs.txt

@neelanjan00
Copy link
Member

Thanks for the issue, we're taking a look at this.

@uditgaurav
Copy link
Member

What is the openshift version used?

@uditgaurav
Copy link
Member

We have fixed the permission in RBAC for the same. Refer the release notes: 2.12.0.

@neelanjan00
Copy link
Member

Closing this issue, thanks for this issue!

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