Open sgowda97 opened 5 months ago
That sounds like a race-condition for bootstrapping the security.json... How strange. This only happens when creating the cloud for the first time, correct?
@HoustonPutman Yes, happens only for the first time. As a workaround, I added the following code to my solr-cloud yaml, it temporarily fixed the issue.
initContainers: # fix for https://github.com/apache/solr-operator/issues/672#issue-2063779008
- command:
- sh
- -c
- "host=$(printenv | grep ZOOKEEPER_CLIENT_SERVICE_HOST | cut -d= -f2); until echo 'stat' | nc $host 2181 | grep Zookeeper; do echo waiting for zookeeper; sleep 2; done;"
image: library/busybox:1.28.0-glibc
imagePullPolicy: IfNotPresent
name: verify-zookeeper-before-solr
Hi,
I am running solr-operator 0.8.0, solr 9.4.0 on GKE. Here is my YAML file
The pods keep crashing. To inspect, I logged one of the pod. This is the error I am getting;
This does not happen if I
kubectl apply -f yaml.yaml
without the basic auth property. One more thing I noticed is, the error miraculously goes away if I justkubectl delete pod/dev-solrcloud-1
since it gets re-created.