Skip to content
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

5.17 Backports #8383

Merged
merged 9 commits into from
Sep 19, 2024
Merged

5.17 Backports #8383

merged 9 commits into from
Sep 19, 2024

Conversation

romayalon
Copy link
Contributor

Explain the changes

Issues: Fixed #xxx / Gap #xxx

Testing Instructions:

  • Doc added/updated
  • Tests added

shirady and others added 5 commits September 18, 2024 14:40
…elete-marker

1. In namespace_fs add the case of specific version to the error that is thrown with additional information that we will use to set headers in the http response. To support it I added the params argument to the function _throw_if_delete_marker.
2. In s3_error add the mapping between the rpc that we used in namespace_fs and the S3 error that we want it to be mapped.
3. In s3_rest change the s3err.rpc_data to err.rpc_data since the object s3error does not have the rpc_data as a property inside it. Add the case to set http header for the delete-marker, reuse this change in a refactored function _prepare_error.

Signed-off-by: shirady <[email protected]>
(cherry picked from commit 8492113)
1. Add tests to run in the CI.

Signed-off-by: shirady <[email protected]>
(cherry picked from commit fdca4c1)
Signed-off-by: nadav mizrahi <[email protected]>
(cherry picked from commit b744060)
Signed-off-by: Romy <[email protected]>
(cherry picked from commit d1c3f68)
1. Moved tests of features that are not supported in NSFS from nsfs_s3_tests_pending_list (tests of supported features that we want to investigate in the future) to nsfs_s3_tests_black_list (tests of unsupported features that fail and we don't need to investigate) - those tests include the following names:
- post_object
- test_lifecycle (except test_lifecycle_get_no_id and test_lifecycle_set)
- object_lock_
- test_sse
- test_cors

Signed-off-by: shirady <[email protected]>
(cherry picked from commit abd0db6)
nadavMiz and others added 4 commits September 18, 2024 15:54
Signed-off-by: nadav mizrahi <[email protected]>
(cherry picked from commit 6ffaa8a)
1. Change the calls of native_fs_utils.safe_unlink that are used gpfs_options as it was received from _open_files_gpfs which can return an object with property delete_version or an object with 2 properties move_to_versions and move_to_dst, hence when using this returned object to the function native_fs_utils.safe_unlink the argument gpfs_options should an object with the properties src_file and dir_file.

Signed-off-by: shirady <[email protected]>
(cherry picked from commit c65039b)
Signed-off-by: nadav mizrahi <[email protected]>
(cherry picked from commit 088a25f)
@liranmauda liranmauda merged commit b1c72eb into noobaa:5.17 Sep 19, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants