HoustonPutman commented on issue #506:
URL: https://github.com/apache/solr-operator/issues/506#issuecomment-1363301872
As mentioned in your slack thread, you are seeing the following error:
```
ERROR controller-runtime.manager.controller.solrbackup Error
while taking SolrCloud backup {"reconciler group":
"[solr.apache.org](http://solr.apache.org/)", "reconciler kind": "SolrBackup",
"name": "gcs-backup", "namespace": "dev-backend", "error": "Recieved bad
response code of 500 from solr with response: {\n \"responseHeader\":{\n
\"status\":500,\n \"QTime\":258},\n \"error\":{\n \"metadata\":[\n
\"error-class\",\"org.apache.solr.common.SolrException\",\n
\"root-error-class\",\"org.apache.solr.common.SolrException\"],\n
\"msg\":\"specified location / does not exist.\",\n
```
The Backup command requires a location field, and the operator uses "/" as
the default location. This works nicely with S3, since "/" can be used as the
root node. With GCS "/" and "" are both valid starts to paths, so you would
need to create the "/" path yourself.
Another option to move forward is to specify a real "location" in the
backup, or the GCS repo spec, and manually create that path in GCS before
starting everything.
--
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]