-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connection refused while creating a solr_collection #71
Comments
Thanks for filing the bug! Sorry things didn't work for you out of the box. I'm curious why the headless service doesn't work for you. I just checked because I thought that individual SolrNode Services were only created when an "IngressBaseDomain" is passed in, but it seems like they are always created and only used when an Ingress is requested. So I guess the steps are to either:
Have you been able to use headless services in you kube cluster outside of the solr operator? |
The ingress solution works like a charm, I just don't want to ingress them to the outside, since the only ingress controller we use is facing to the public. Yes the headless services itself work quite nicely, although I don't use them with the pod-name specified, because the headless service points to a DaemonSet. it usually picks the pod on the node the request is from anyway. Well the quick fix would probably be using the individual services, although I'd be curious why the headless refuses the connection. If you need additional logging or information let me know it. |
Could you look through the logs and give me all of the context around what you see here? It should log out the action it's trying to take before the error is logged. That will help us figure out the exact issue. |
Are you running istio, or another service mesh? There seems to be issues using headless services with them. |
Sorry for the delay. The only thing I need to adjust, is the memory limit for the operator. It gets OOMkilled constantly before I can even install the cloud. |
Thanks for the update! It would probably be a good idea to increase those defaults. |
Describe the bug
On creating a solr collection via this crd:
I'm getting an error:
This happens because it tries to call solr by the headless service ("$(POD_HOSTNAME)." + solrCloud.HeadlessServiceName()) which is not available in the cluster.
In this case the call to
http://escenic-solrcloud-3.escenic-solrcloud-headless:80/solr
gets a connection refused, while the call tohttp://escenic-solrcloud-3.sorl:80/solr
(the none-headless service) is completly fine.To Reproduce
Steps to reproduce the behavior:
Expected behavior
To see the collection be created or to use at least services that exist. Maybe I'm missing some step to create the expected services. Or it should be possible to to use the existing svc (pod-hostnema.namespace) instead, but when I change that in the yaml, it gets immediately reverted to "$(POD_HOSTNAME)." + solrCloud.HeadlessServiceName() (which is good, but doesn't work for me)
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: