Hi Riley,
Thanks for replying directly to my email, as subscription was not
automatic in my case. Here is the output I was getting before I used
Stepheney's solution:
2024-04-30T08:59:51 - root - INFO - Attempting to aquire lock from
host.docker.internal:2181/solr
2024-04-30T08:59:51 - kazoo.client - INFO - Connecting to
172.17.0.1:2181, use_ssl: False
2024-04-30T08:59:51 - kazoo.client - INFO - Zookeeper connection
established, state: CONNECTED
2024-04-30T08:59:51 - root - INFO - Lock aquired. Checking for SolrCloud
at http://host.docker.internal:8983/solr/
2024-04-30T08:59:51 - root - INFO - Waiting for Solr at
http://host.docker.internal:8983/solr/
2024-04-30T08:59:52 - root - INFO - Waiting for Solr at
http://host.docker.internal:8983/solr/
2024-04-30T08:59:53 - root - INFO - Waiting for Solr at
http://host.docker.internal:8983/solr/
[many tries later...]
2024-04-30T09:00:21 - root - INFO - Waiting for Solr at
http://host.docker.internal:8983/solr/
2024-04-30T09:00:22 - kazoo.client - INFO - Closing connection to
172.17.0.1:2181
2024-04-30T09:00:22 - kazoo.client - INFO - Zookeeper session lost,
state: CLOSED
Traceback (most recent call last):
File "/tmp/create-collection.py", line 91, in <module>
raise RuntimeError("Exceeded {} retries while waiting for at least
{} nodes to become live for {}".format(MAX_RETRIES, MINIMUM_NODES,
SDAP_SOLR_URL))
RuntimeError: Exceeded 30 retries while waiting for at least 1 nodes to
become live for http://host.docker.internal:8983/solr/
On 2024/04/25 18:30:41 Riley Kuttruff wrote:
> Hi Johnathan,
>
> I'm not sure if you've seen the replies to your question as I noticed
they
> were sent to the mailing list and not your email address and I'm
unsure if
> subscription to the list is automatic upon messaging it.
>
> You can view the thread here:
> https://lists.apache.org/thread/3n2tdsll202z644r4w8x8wb6c0f3o1n0
>
> I hope we can help resolve your issue soon!
>
> Tanks,
> Riley
>
>
>
> On Wed, Apr 24, 2024 at 1:55 PM Johnathan Mitri <jo...@gmail.com>
> wrote:
>
> > Hi,
> >
> > I've been trying to install NEXUS on my computer using the quickstart
> > guide at
> > https://incubator-sdap-nexus.readthedocs.io/en/latest/quickstart.html
> >
> > However, the init script at the "Start Solr" step just fails. I
included a
> > screenshot of the terminal window.
> >
> > I run into the same issue on both Windows 10 and Ubuntu 22.04 LTS.
> >
> > Also, I'd like to note that the hostname "host.docker.internal"
works on
> > Windows, but can't be resolved on Ubuntu by default, and that I
needed to
> > use the flag "--add-host=host.docker.internal:host-gateway". I'm
not sure
> > this is an Ubuntu issue specifically.
> >
> > [image: image.png]
> >
> > How should I proceed here?
> >
> > Thanks,
> > Johnathan Mitri
> >
>