-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
velero-plugin-for-aws v1.9.x no longer works with S3-compatible BackupStorageLocation #7828
Comments
I didn't find useful information in the bundle other than This should be related to the AWS plugin SDK version bumping to v2 in the v1.9.x. After the SDK version bumping, we already saw some errors caused by the S3-compatible backend not compatible to the S3 spec. |
After checking the official documentation it seems that they did not implement/support the @blackpiglet do you see any problems when using |
I haven't tried that, but if your scenario doesn't require the new parameters (tagging and checksumAlgorithm) added in release 1.9, then it should work. |
I think that doesn't mean it must. From [3]:
Also from [3], why preferred Accepted-Encoding may not be acceptable to the server:
It seems the server should respond rather than silently handle. Does it return IMO Velero client may prefer whatever it does, but should accept any ( I don't know if that would help when/if the server doesn't handle that header (in which case it may be responding with original content, but Velero maybe does not accept it). [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406 |
After reading the comments. @losil You may tweak the code and see if it may work with some parameters change when calling the sdk, but I don't think we can make sure the plugin works with EVERY storage which declares it's s3-compatible but indeed may work differently in details from AWS S3. |
duped by #8152 Long term we should add another plugin that uses an SDK that has the ability to ignore that accept-encoding header like https://github.com/minio/minio-go/blob/99336902dd57f3760e272caf6550e6791eabe0af/pkg/signer/request-signature-v4.go#L60 |
doc'ing in vmware-tanzu/velero-plugin-for-aws#219 |
With StorageGRID® Version 11.8.0.7 our issues have been fixed and we can use the velero-plugin-for-aws with the according the compability matrix. |
What steps did you take and what happened:
We have updated our velero deployment with the latest Helm chart
6.4.0
which installs velero1.13.2
. With this upgrade the version of thevelero-plugin-for-aws
plugin has also been updated tov1.9.0
respectivelyv1.9.2
during troubleshooting. The upgrade itself went through smoothly. Also the BackupStorageLocation which is a S3-compatible NetApp StorageGrid backend was inAvailable
state after velero was initialized.After that we tested some backup with all were unsuccessful and ended in the state
Failed
. We noticed that that during the backup run the BackupStorageLocation went toUnavailable
with the corresponding log message:The configuration of the BackupStorageLocation looks like this and as said is a S3-compatible NetApp Storagegrid system:
After the Backup run has ended velero marked the BackupStorageLocation as
Available
again in its regularly validation schedule.Downgrading the
velcro-plugin-for-aws
tov1.8.2
solves the issue and the Backups are successful again.What did you expect to happen:
We expect the same behavior when using the current version of the velcro-plugin-for-aws initContainer. Velero should be able to use the S3-compatible backend provided by NetApp Storagegrid.
The following information will help us better understand what's going on:
bundle-2024-05-27-09-20-52.tar.gz
Environment:
velero version
): v1.13.2velero client config get features
):kubectl version
): v1.26.15+rke2r1/etc/os-release
): Ubuntu 22.04.4 LTSVote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: