Bug 1955221
| Summary: | Velero plugin uses S3 API version 2, which might not be supported by all S3 vendors | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Migration Toolkit for Containers | Reporter: | Alay Patel <alpatel> | ||||
| Component: | Velero | Assignee: | John Matthews <jmatthew> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Xin jiang <xjiang> | ||||
| Severity: | unspecified | Docs Contact: | Avital Pinnick <apinnick> | ||||
| Priority: | unspecified | ||||||
| Version: | 1.4.1 | CC: | ernelson, jmatthew, rjohnson, shurley, sregidor, whu | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 1.5.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-07-28 04:08:04 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Alay Patel
2021-04-29 17:36:31 UTC
In order to prove out if the above is accurate we used this https://github.com/konveyor/velero-plugin-for-aws/pull/11 image to verify if migrations work of the same s3 bucket it was failing earlier. I can verify that the backupCount that velero saw with this older method in the pull request, worked and the migration was successful. Note: That PR is not intended to be merged, rather for education purposes only. We might need to a more generic solution than switching the function calls. Also note that noobaa client sdk has a configuration flag https://github.com/minio/minio-go/blob/bcf34777544b0209530bb4ae53c93e16b867335e/api-list.go#L631 for choice of List* api version, we could potentially expose something like that as a configuration flag to velcro that could work for all kinds of S3 implementations. It would be even better if this configuration value is at the BSL level. That would allow for maximum modularity in usage. The code change didn't impact the existing function. we have done the regression testing and do not have swift storage to verify. Close it. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Migration Toolkit for Containers (MTC) image release advisory 1.5.0), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2021:2929 |