Warning: Do not use storj.io as storage location! #9608
J4NS-R
started this conversation in
Announcements
Replies: 1 comment 1 reply
|
Thanks for the PSA! I wonder if we'd like to doc this or not. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
storj.io (formerly known as tardigrade) is a decentralized storage provider, similar to Sia, Filecoin, and others. Storj also provides an S3-compatible gateway, which allows velero to use it as a storage location. I've been doing backups to storj for about two years with no issues, until this week.
As it turns out, there is a limitation in the Storj-hosted S3 gateway regarding listing files that only appears once you have a sufficiently large repo. Not sure of the exact cut-off, but in my case my repo is 617GB with 160k files (objects). The error I keep seeing in the logs is this:
Once you hit this point everything breaks. Velero can no longer perform backups or even do repo maintenance (eg deleting expired backups).
This is a known problem with the Storj S3 gateway. It has to do with the fact that storj encrypts object paths. There is an open issue from 2024 to address this, but it doesn't look like it's high on the priority list.
Potential workarounds
--s3.fully-compatible-listing. I do commend storj for at least allowing this, though of course you need the additional compute and storage available to run this oneself.All reactions