You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nifi-cluster chart seems to be installed and starts OK
NifiCluster and NifiRegisttryClient CR were created
zookeeper and nifi-cluster pods are up & running
nifi seems to work - I can access to its UI and work with it
nifi-registry seems to work - I can access to its UI and work create some test bucket
If I create manually a registry client in nifi - I can use it and save a test flow version on it
However these issues occur:
on kubectl I see that cluster has not reconciled yet long after it's up:
$ kubectl nifikop nificluster get -n nifi
NAMESPACE NAME STATE
nifi nifi-cluster-test ClusterRollingUpgrading
The nifi-cluster-test-default-registry-client CR has this error:
Failed to create HTTP client for the referenced cluster: nifi-cluster-test in nifi
And doesn't look like it has been added to nifi
The nifikop pod logs show these errors in repeat , which indicate non of the resources can be reconciled:
"level":"error","time":"2024-12-10T08:16:06.298Z","caller":"controller/controller.go:329","msg":"Reconciler error","controller":"nificluster","controllerGroup":"nifi.konpyutaika.com","controllerKind":"NifiCluster","nifiCluster":{"name":"nifi-cluster-test","namespace":"nifi"},"namespace":"nifi","name":"nifi-cluster-test","reconcileID":"dc91d213-681a-48bb-8462-cba39622658e","error":"Failed to create HTTP client the for referenced cluster: unable to get: / because of unknown namespace for the cache","errorVerbose":"unable to get: / because of unknown namespace for the cache\nFailed to create HTTP client the for referenced cluster\ngithub.com/konpyutaika/nifikop/pkg/resources/nifi.(*Reconciler).Reconcile\n\t/workspace/pkg/resources/nifi/nifi.go:248\ngithub.com/konpyutaika/nifikop/internal/controller.(*NifiClusterReconciler).Reconcile\n\t/workspace/internal/controller/nificluster_controller.go:148\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1700","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227"}
{"level":"info","time":"2024-12-10T08:19:29.362Z","logger":"controller.NifiRegistryClient","caller":"controller/controller_common.go:35","msg":"failed to create HTTP client the for referenced cluster nifi-cluster-test for registry client nifi-cluster-test-default-registry-client"}
{"level":"error","time":"2024-12-10T08:19:29.362Z","caller":"controller/controller.go:329","msg":"Reconciler error","controller":"nifiregistryclient","controllerGroup":"nifi.konpyutaika.com","controllerKind":"NifiRegistryClient","nifiRegistryClient":{"name":"nifi-cluster-test-default-registry-client","namespace":"nifi"},"namespace":"nifi","name":"nifi-cluster-test-default-registry-client","reconcileID":"65216b30-318f-47ca-977a-f015555edb67","error":"unable to get: / because of unknown namespace for the cache","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227"}
{"level":"info","time":"2024-12-10T08:23:26.225Z","logger":"controller.NifiClusterTask","caller":"controller/controller_common.go:35","msg":"unable to get: / because of unknown namespace for the cache"}
{"level":"error","time":"2024-12-10T08:23:26.225Z","caller":"controller/controller.go:329","msg":"Reconciler error","controller":"nificluster","controllerGroup":"nifi.konpyutaika.com","controllerKind":"NifiCluster","nifiCluster":{"name":"nifi-cluster-test","namespace":"nifi"},"namespace":"nifi","name":"nifi-cluster-test","reconcileID":"3ed4b283-236a-4084-8023-98e212950c43","error":"unable to get: / because of unknown namespace for the cache","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227"}
Possible solution
No response
NiFiKop version
v1.11.4-release
Golang version
go version go1.23.4 linux/amd64
Kubernetes version
Client Version: v1.31.3
Kustomize Version: v5.4.2
Server Version: v1.31.2+k3s1
NiFi version
1.28.0
Additional context
No response
The text was updated successfully, but these errors were encountered:
sisrael-dn
changed the title
Can't reconcile any Nifikop CR because of "unable to get: / because of unknown namespace for the cache"
Can't reconcile any Nifikop CR due to "unable to get: / because of unknown namespace for the cache" error
Dec 10, 2024
What steps will reproduce the bug?
nifi
namespacehelm install nifikop helm/nifikop --version 1.11.4 -n nifi -f custom-nifikop.yaml
helm install nifi-cluster helm/nifi-cluster --version 1.11.4 -n nifi -f custom-nifi-cluster.yaml
value files:
custom-nifikop.yaml.txt
custom-nifi-cluster.yaml.txt
What is the expected behavior?
All CR reconciled , no errors in nifikop pod logs
What do you see instead?
However these issues occur:
And doesn't look like it has been added to nifi
Possible solution
No response
NiFiKop version
v1.11.4-release
Golang version
go version go1.23.4 linux/amd64
Kubernetes version
Client Version: v1.31.3
Kustomize Version: v5.4.2
Server Version: v1.31.2+k3s1
NiFi version
1.28.0
Additional context
No response
The text was updated successfully, but these errors were encountered: