-
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
solr cloud backup gcs #506
Comments
As mentioned in your slack thread, you are seeing the following error:
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. |
I encountered the same problem on GCS backup. I solved the first part as you said with first creating a path and then pointing the baseLocation there. Counter-intuitively it needs to be written without a preceding slash. The backup is now created (files and folders) but the backup still doesn't complete. It remains in a pending status indefinitely. This is my backup file:
And this is my gcs repository from the original setup:
And this is the describe result on the backup:
|
Hi, I am observing exactly the same symptoms described here, and in the same order (I am using GCS and first I was missing a |
To sum up the issue, when using backups users sometimes have backups that succeed in Solr, but the SolrBackup status has the following two properties:
From what I can discern, there are two possible reasons why the backup isn't being "finished" by the Solr Operator:
Given that the backup succeeded in Solr, the second option is more likely for the failures that we are seeing listed here. I will create a PR that starts to address these issues, so we can have y'all test it out and see what works. |
I have created solrcloud using the yaml defined below
I am taking backup of my solr collections in gcs bucket
My solr backup yaml is as below
My backup is starting but not getting anything on my bucket it is empty.
Also my solrbackup is not getting completed it is as follows
I firstly created a pvc backup it got completed but my gcs backup is started but not finishing also no data in my bucket
The text was updated successfully, but these errors were encountered: