Re: [I] Basic Auth Bootstrap Not Working In 0.9.0 [solr-operator]
HoustonPutman closed issue #755: Basic Auth Bootstrap Not Working In 0.9.0 URL: https://github.com/apache/solr-operator/issues/755 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [I] Basic Auth Bootstrap Not Working In 0.9.0 [solr-operator]
idjemaoune commented on issue #755: URL: https://github.com/apache/solr-operator/issues/755#issuecomment-2653520207 I encountered the same issue with version 9.7.0 when creating my cluster from scratch with this version. However, upgrading from version 9.6.1 (with authentication already in place) to later versions works correctly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [I] Basic Auth Bootstrap Not Working In 0.9.0 [solr-operator]
Calcagiara commented on issue #755: URL: https://github.com/apache/solr-operator/issues/755#issuecomment-2639800143 Hey there, having the same problem here. I will add that version 9.7.0 works fine with a fresh new deploy too, so I'm guessing it's an issue related specifically with the 9.8.0 version. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [I] Basic Auth Bootstrap Not Working In 0.9.0 [solr-operator]
ibraheemalayan commented on issue #755: URL: https://github.com/apache/solr-operator/issues/755#issuecomment-2639565683 ⭕️ UPDATE: I deleted the SolrCloud, recreated it with Solr `8.11.4` and it worked, then deleted that, and created with `9.6.1` and it also worked. So I deleted it again (**without deleting the PVCs**) and recreated it with `9.8.0` and it worked. But clearly there is an issue with `9.8.0` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
[I] Basic Auth Bootstrap Not Working In 0.9.0 [solr-operator]
ibraheemalayan opened a new issue, #755: URL: https://github.com/apache/solr-operator/issues/755 Hi, I have a very simple SolrCloud config file as follows ```yaml # specs: https://apache.github.io/solr-operator/docs/solr-cloud/solr-cloud-crd.html apiVersion: solr.apache.org/v1beta1 kind: SolrCloud metadata: name: search-cluster spec: # change the date below to trigger a manual restart customSolrKubeOptions: podOptions: annotations: manualrestart: "2025-02-06T07:57:00Z" replicas: 2 solrJavaMem: -Xms512M -Xmx1G solrImage: tag: 9.8.0 solrSecurity: authenticationType: Basic dataStorage: persistent: reclaimPolicy: Delete pvcTemplate: spec: resources: requests: storage: 6Gi solrAddressability: podPort: 8983 commonServicePort: 8983 ``` as you can see, basic auth is supposed to be enabled, yet the cluster has no authentication. https://github.com/user-attachments/assets/a07aa96f-b0b9-4979-bbe0-3fcbe2462576"; /> https://github.com/user-attachments/assets/ce52640f-a751-4fdd-aa87-8cc3afe9bd9b"; /> I tried deleting the SolrCloud and recreating it multiple times ( also deleted all PVCs ), the security.json is always empty The bootstrape security.json secret is created but it seems like its never used. Here some debugging commands and their outputs, might help understand the issue: >```bash >kubectl get pods | grep solr >``` ``` search-cluster-solrcloud-0 1/1 Running 0 8m search-cluster-solrcloud-1 1/1 Running 0 15m search-cluster-solrcloud-zookeeper-01/1 Running 0 15m search-cluster-solrcloud-zookeeper-11/1 Running 0 14m search-cluster-solrcloud-zookeeper-21/1 Running 0 14m solr-operator-65bd76858c-dj54z 1/1 Running 0 4d12h solr-operator-zookeeper-operator-7cf584d8b6-5vlzr 1/1 Running 0 4d12h ``` >```bash >kubectl get secrets >``` ``` search-cluster-solrcloud-basic-auth kubernetes.io/basic-auth 2 16m search-cluster-solrcloud-security-bootstrap Opaque 3 16m sh.helm.release.v1.solr-operator.v1 helm.sh/release.v1 1 7d23h ``` >```bash >kubectl get secrets/search-cluster-solrcloud-basic-auth -o yaml >``` ``` apiVersion: v1 data: password: amkodUctamRWYTJIM3cpRg== username: azhzLW9wZXI= kind: Secret metadata: creationTimestamp: "2025-02-06T10:09:01Z" labels: solr-cloud: search-cluster name: search-cluster-solrcloud-basic-auth namespace: default ownerReferences: - apiVersion: solr.apache.org/v1beta1 blockOwnerDeletion: true controller: true kind: SolrCloud name: search-cluster uid: 0f94b8ff-134f-459c-903f-cc9a8312992e resourceVersion: "38390607" uid: feeb1481-474c-48bb-bbd4-4c3805e6a9bf type: kubernetes.io/basic-auth ``` >```bash > kubectl get secrets/search-cluster-solrcloud-security-bootstrap -o yaml > ``` ``` apiVersion: v1 data: admin: clUlcyVGQVtTQiN1aEdAUw== security.json: ewogICAgICAiYXV0aGVudGljYXRpb24iOnsKICAgICAgICAiYmxvY2tVbmtub3duIjogZmFsc2UsCiAgICAgICAgImNsYXNzIjoic29sci5CYXNpY0F1dGhQbHVnaW4iLAogICAgICAgICJjcmVkZW50aWFscyI6IHsiYWRtaW4iOiJDYldWUVV6L1ZjTFdpczQreUpCUEpYMlg5OXg4YWYyMUhuV1hVOGJEc0hBPSAxTWhMaEJtRzZWUmx2M3NPOHZMZHFybjV6d3UxTXRKOXVMWmhUMi84S1Q0PSIsIms4cy1vcGVyIjoiNkxBLzdNbHk1T0NTaVpOeWFheHhJQ1RTa3FrbGZkWXpGSW40QXBONFlVaz0gWndBT3RYaENtYnhZenhNbHB5VGR1dU5jbjZWTC9DK0ZtREZ4NkhseVRvVT0iLCJzb2xyIjoiRE9IMmxUdnh5aEFtdFZpVEloVDYvT2hkd3E4eVQzOFhNNUhPckp3eHNrRT0gWDBHakVUUXY5eGhmYVF1dGRyQkRhU3dBSVdMd0VFd2hLRXV0YXJxdWd0UT0ifSwKICAgICAgICAicmVhbG0iOiJTb2xyIEJhc2ljIEF1dGgiLAogICAgICAgICJmb3J3YXJkQ3JlZGVudGlhbHMiOiBmYWxzZQog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