Closed r65535 closed 1 year ago
How does the /nifi-api/flow/cluster/summary
endpoint respond for standalone nodes?
How does the
/nifi-api/flow/cluster/summary
endpoint respond for standalone nodes?
I hadn't thought of that! The above endpoint isn't available to standalone clusters - so maybe an if statement here that uses the above URI if it's clustered, or leaves it as-is if not?
That sounds reasonable!
I've opened #219 as i believe that's a more general solution that can be tailored to specific use cases.
Closing as #219 is a better solution IMO!
What steps will reproduce the bug?
If a node disconnects from a nifi cluster, it'll stay disconnected until I manually delete the pod. I get this error regularly:
Action cannot be performed because there is currently no Cluster Coordinator elected. The request should be tried again after a moment, after a Cluster Coordinator has been automatically elected.
What is the expected behavior?
The pod should be restarted to rejoin the cluster
What do you see instead?
Disconnected nodes that don't recover
Possible solution
Change the pod readiness check to hit
/nifi-api/flow/cluster/summary
?NiFiKop version
v0.14.0-release
Golang version
1.19
Kubernetes version
v1.23.6-rke2r2
NiFi version
1.16.0
Additional context
No response