Operator continuously logs in "Cluster expected, found SINGLE server"
Operator version is v1.2.15
Using 2 singles, Both ArangoDeployment objects clearly state mode: Single
However, the following line keeps showing in the log:
2022-07-24T11:08:25Z INF Health of the cluster is missing error="Cluster expected, found SINGLE server" name=leader namespace=kube-arangodb operator-id=cht6q section=members
and it shows for the follower as well.
2022-07-24T11:08:26Z INF Health of the cluster is missing error="Cluster expected, found SINGLE server" name=follower namespace=kube-arangodb operator-id=cht6q section=members
I guess this shows due to a missing health check, however, there are no issues with the singles.
This part of the the code clearly state that it is not meant to be used with Singles. https://github.com/arangodb/go-driver/blob/48efb9f1148f9d7b3e38d3cd2f50743188a744e6/client_cluster_impl.go#L39
Thanks!
Hello!
We will skip this check in ClusterState. This shouldn't be logged on the Info level.
Best Regards, Adam.
Fixed on master
Thank you @ajanikow 👍