Re: Solr 8.2 docker image in cloud mode not connecting to Zookeeper on startup

2019-10-18 Thread Drew Kidder
As an additional bit of information, here's the tcpdump of my startup of solr in the docker container, after logging into the container and running "bin/solr start -f -c" (which is the same CMD my Dockerfile executes): root@91e3883fb675:/opt/solr-8.2.0# tcpdump -nvvv -i any -c 100 host 172.20.60.1

Re: Solr 8.2 docker image in cloud mode not connecting to Zookeeper on startup

2019-10-18 Thread Drew Kidder
Again, thank you all for the suggestions. My ZK ensemble is talking to each other and the outside world: solr@fe0ad5b40b42:/etc/default# echo srvr | nc zk1.zookeeper.internal 2181 Zookeeper version: 3.5.5-390fe37ea45dee01bf87dc1c042b5e3dcce88653, built on 05/03/2019 12:07 GMT Latency min/avg/max:

Re: Solr 8.2 docker image in cloud mode not connecting to Zookeeper on startup

2019-10-18 Thread Ahmed Adel
This could be because Zookeeper ensemble is not properly configured. Using a very similar setup which consists of ZK cluster of three hosts and one Solr Cloud node (all are containers), the system got running. Each ZK host has ZOO_MY_ID and ZOO_SERVERS environment variables set before running ZK. I

Re: Solr 8.2 docker image in cloud mode not connecting to Zookeeper on startup

2019-10-18 Thread Jörn Franke
Even if you do not have a dedicated zkRoot node you will need to provide / in the connection. Then, even if the zk nodes can connect with each other it does not mean they form an ensemble. You need to adapt zoo.cfg of all nodes and add all nodes to it. Additionally all will need a myid file wit

Re: Solr 8.2 docker image in cloud mode not connecting to Zookeeper on startup

2019-10-18 Thread Shawn Heisey
On 10/18/2019 9:28 AM, Drew Kidder wrote: I'm beginning to think that ZK is not setup correctly. I haven't uploaded any configuration files to ZK yet; my understanding was that I could start up a solr cloud node with no collections and upload the configuration from there. I was under the impressi

Re: Solr 8.2 docker image in cloud mode not connecting to Zookeeper on startup

2019-10-18 Thread Drew Kidder
Thank you all for your suggestions! I appreciate the fast turnaround. My setup is using Amazon ECS for our solr cloud installation. Each ZK is in its own container, using Route53 Service Discovery to provide the DNS name. The ZK nodes can all talk to each other, and I can communicate to each one o

Re: Solr 8.2 docker image in cloud mode not connecting to Zookeeper on startup

2019-10-18 Thread Martijn Koster
> On 18 Oct 2019, at 00:25, Drew Kidder wrote: > * I'm using the following command line to start a basic solr cloud instance > as per the documentation: `bin/solr start -c -z zk1:2181,zk2:2181,zk3:2181` I assume you’re just looking to run a single Solr node in a single container, right? Just

Re: Solr 8.2 docker image in cloud mode not connecting to Zookeeper on startup

2019-10-17 Thread Rajeswari Natarajan
Are you running zookeeper as container too. If yes , port 2181 needs to be exposed. -Rajeswari On Thu, Oct 17, 2019 at 4:25 PM Drew Kidder wrote: > Hello! I'm new to the list and I have a bit of an issue that I could use > some help with. > > I'm in the process of upgrading our Solr installatio

Re: Solr 8.2 docker image in cloud mode not connecting to Zookeeper on startup

2019-10-17 Thread Jörn Franke
Could it be that you start the Solr command too early, ie before the network is setup in the Docker container? Normally I would also expect that a zkRoot Is specified. Can the Zknodes talk to each other? Have you tried to specify it in the Solr config? Normally, I would expect that the Solr conf

Solr 8.2 docker image in cloud mode not connecting to Zookeeper on startup

2019-10-17 Thread Drew Kidder
Hello! I'm new to the list and I have a bit of an issue that I could use some help with. I'm in the process of upgrading our Solr installation from legacy to cloud. I'm new to the idea of Solr Cloud, so I've been wading through the documentation and trying to get a basic cluster up and running. I'