Open lunarfs opened 2 years ago
Are you using Openshift? I also had this issue, the Operator is trying to connect directly to the pod and create a znode. Make sure you have a network policy in a way that the Operator pod will be able to reach the zookeeper pod
I am also facing this issue after restoring the PVC's from a Velero backup. The patch works for me and make total sense to check for node existence if you are going to crash because of node existence on creation.
Description
the operator is stuck in
the cluster status is
Not sure how we ended up. here, but the issue is that
Status.MetaRootCreated
does not reflect the realworld, doing an actual check before creating the node will prevent this failure. the below patch recovered my cluster. I can create a Pullrequest with the changes i you think this makes sense.Importance
should-have
Location
controllers/zookeepercluster_controller.go
Suggestions for an improvement