You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2021/07/16 23:44:40 UTC
[GitHub] [solr-operator] thelabdude opened a new issue #289: Boostrapped security.json config doesn't work with the Prometheus exporter in Solr 8.9.0 due to new endpoints
thelabdude opened a new issue #289:
URL: https://github.com/apache/solr-operator/issues/289
Solr 8.9.0 has a new metrics endpoints being hit, `/admin/zookeeper/status`, and the boostrapped security.json (created by the Solr operator when basic auth is enabled) doesn't wire-up access for this new endpoints for the `k8s` role.
```
ERROR - 2021-07-16 22:57:47.229; org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Error occurred during metrics collection => org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at https://dev-solrcloud-0.dev-solrcloud-headless.dev:8983/solr: Forbidden
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at https://dev-solrcloud-0.dev-solrcloud-headless.dev:8983/solr: Forbidden
request: https://dev-solrcloud-0.dev-solrcloud-headless.dev:8983/solr/admin/zookeeper/status?wt=json&version=2.2
```
Work-around is to add the following mapping to your security.json file:
```
{
"name": "k8s-zk",
"role": "k8s",
"collection": null,
"path": "/admin/zookeeper/status"
},
```
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr-operator] thelabdude commented on issue #289: Boostrapped security.json config doesn't work with the Prometheus exporter in Solr 8.9.0 due to new endpoint
Posted by GitBox <gi...@apache.org>.
thelabdude commented on issue #289:
URL: https://github.com/apache/solr-operator/issues/289#issuecomment-881774084
Will fix this when I fix #274
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr-operator] thelabdude closed issue #289: Boostrapped security.json config doesn't work with the Prometheus exporter in Solr 8.9.0 due to new endpoint
Posted by GitBox <gi...@apache.org>.
thelabdude closed issue #289:
URL: https://github.com/apache/solr-operator/issues/289
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org