-
Notifications
You must be signed in to change notification settings - Fork 114
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
Operator fails to enable authentication for Solr version 6.6.6, 6.6.6-slim #372
Comments
Sorry about this. At this point Solr 6.6 is over 4 years old and it's very hard to keep compatibility between 3-4 major versions of Solr. I've introduced a PR to point this matrix out instead of saying that all Docker images work. It also tempers expectations that not all Solr Operator functions are guaranteed to work for older versions. Anyways, I would recommend upgrading to Solr 7.x (or even 8.x, but that might be more of a stretch). CKAN requires 6.6, but since you are managing how Solr itself runs, is it ok to use 7.7 instead? Is CKAN just updating/querying, or is it adding configSets, and doing other admin tasks? If it's just using Solr as a black box (updating/querying), then the APIs are almost identical (if not identical) between 6.6 and 7.7. If it is actually doing configSet management, then yeah you might be stuck. |
Thanks for the quick response and definitive answer. We figured it was only a matter of time before CKAN's dependence on 6.6 became a showstopping liability. Thanks also for the suggestion to examining the compatibility restriction more closely. We are considering our options. |
Summary:
The operator documentation says that it works with all official Solr images. However, the operator is not properly configuring authentication for solrImageTag
6.6.6-slim
or6.6.6
.We are dependent on Solr version 6.6.6 since that is the most recent Solr version supported by CKAN, which is the basis for our application (data.gov).
What I observed:
When I enter the service URL in my browser, I see the Solr Admin UI.
What I expected:
When I enter the service URL in my browser, I am prompted for authentication.
How to reproduce:
You will see "Authentication is not enabled" on the final line of output.
You get the same result if you use
image.tag
6.6.6
.Observations
We don't know a lot about how the operator does its thing, but we tried querying the ZK instance for
/security.json
and got{}
back. From inspection of the code, we think this might be an indicator that thesetup-zk
initContainer is not doing its job correctly.Here's what we see in the solr-operator logs:
The text was updated successfully, but these errors were encountered: