This repository has been archived by the owner on Oct 20, 2022. It is now read-only.
Failing Nifi cluster downscale because missing configmap #131
Labels
Projects
Milestone
Bug Report
What did you do?
Created nifi cluster in K8S. The cluster was successfully initialized and UI accessible. After that I added 1 node which succeeded too. After that I tried to scale it down by removing 1 node.
What did you expect to see?
The node to me disconnected, offloaded, deleted from the cluster and the pod to be deleted from K8S
What did you see instead? Under which circumstances?
The pod was deleted from K8S, but Nifi UI showed that the deleted node is in Disconnected state, and nifikop logs were showing that it is trying to delete a configmap connected to the deleted node, but it is not present("name"-config-"node_id"). There are no configmaps created in the namespace after the cluster is deployed. What is this configmap used for and why it wasn't created?
ERROR LOG:
Environment
v0.6.0-release
1.16
EKS
1.12.1
Possible Solution
Check if configmap is present, before trying to delete it ?
Additional context
I'm using podpreset to inject additional volumes to the pods, but I don't think it is connected to the issue. I tried deploying without any prop overrides, but still the operator is not creating this configmap. The operator is using same roles as in your helm chart
The text was updated successfully, but these errors were encountered: