Done
Details
Assignee
dmitriy.kostiukdmitriy.kostiuk(Deactivated)Reporter
Nickolay IhalainenNickolay Ihalainen(Deactivated)Components
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee
dmitriy.kostiuk
dmitriy.kostiuk(Deactivated)Reporter
Nickolay Ihalainen
Nickolay Ihalainen(Deactivated)Components
Fix versions
Affects versions
Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created April 28, 2021 at 2:53 PM
Updated March 5, 2024 at 5:52 PM
Resolved October 14, 2021 at 10:29 AM
Please update the documentation with scheduled backups retry logic and mention the importance of "delete" permissions on backup files to get a successful backup after retry.
Google Cloud Storage's Retention Periods is the obvious reason for S3 objects deletion errors.
If a backup not fully uploaded during first attempt, the subsequent backup attempts will be failed due to retention policy
There are backup pod logs for 5.7 cluster. 10 "Error" pods are created for the backup. It's an earliest pod (and it still starts from delete error).
"...-2021-04-27-00:00:02-full.sst_info already exists" error exists in every pod created by the problematic job. There is no "first
Backup to s3://...-2021-04-27-00:00:02-full started
+ mc -C /tmp/mc config host add dest https://storage.googleapis.com ...
Added `dest` successfully.
+ xbcloud delete --storage=s3 --s3-bucket=...-2021-04-27-00:00:02-full.sst_info
210427 17:54:37 xbcloud: Failed to delete object ...-2021-04-27-00:00:02-full.sst_info/sst_info.00000000000000000000. Error message: <?xml version='1.0' encoding='UTF-8'?><Error><Code>AccessDenied</Code><Message>Access denied.</Message><Details>xxx does not have storage.objects.delete access to the Google Cloud Storage object.</Details></Error>
....
210427 17:54:41 xbcloud: error: backup named ...-2021-04-27-00:00:02-full.sst_info already exists!
...
+ xbcloud put --storage=s3 --parallel=10 --md5 --s3-bucket=...-2021-04-27-00:00:02-full
...
210427 17:54:42 xbcloud: error: backup named ...-2021-04-27-00:00:02-full already exists!
mc: <ERROR> Unable to stat `...-2021-04-27-00:00:02-full.md5`. Object does not exist.