Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

services \"simplenifi-headless\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>" #192

Open
nnachefski opened this issue Feb 10, 2022 · 0 comments

Comments

@nnachefski
Copy link

nnachefski commented Feb 10, 2022

Attempting to deploy simplenificluster.yaml on Openshift 4.8 and am hitting this error in the operator pod:

{"reconciler group": "nifi.orange.com", "reconciler kind": "NifiCluster", "name": "simplenifi", "namespace": "nifi", "error": "failed to reconcile resource: creating resource failed: services \"simplenifi-headless\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>"

 # kubectl get role
NAME      CREATED AT
nifikop   2022-02-10T09:59:01Z

# kubectl get rolebindings
NAME                        ROLE                                    AGE
nifikop                     Role/nifikop                            30m

# kubectl get sa nifikop
NAME      SECRETS   AGE
nifikop   2         30m

# kubectl get deploy nifikop -o 'jsonpath={.spec.template.spec.serviceAccountName}'
nifikop

Any ideas on why this might be happening on Openshift kube?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant