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

Commits on Sep 18, 2024

  1. NC | NSFS | Versioning | Fix Bug | Return 405 for get/head specific d…

    …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)
    shirady authored and romayalon committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    fd3bda1 View commit details
    Browse the repository at this point in the history
  2. CI | NSFS | Ceph S3 Tests

    1. Add tests to run in the CI.
    
    Signed-off-by: shirady <[email protected]>
    (cherry picked from commit fdca4c1)
    shirady authored and romayalon committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    c9a5483 View commit details
    Browse the repository at this point in the history
  3. NSFS | fix copy_object issues

    Signed-off-by: nadav mizrahi <[email protected]>
    (cherry picked from commit b744060)
    nadavMiz authored and romayalon committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    99a0b6d View commit details
    Browse the repository at this point in the history
  4. Delete object version id concurrency

    Signed-off-by: Romy <[email protected]>
    (cherry picked from commit d1c3f68)
    romayalon committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    fd7a6ba View commit details
    Browse the repository at this point in the history
  5. CI | NSFS | Ceph S3 Tests | Move tests from pending list to blacklist

    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)
    shirady authored and romayalon committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    01a7c43 View commit details
    Browse the repository at this point in the history
  6. NSFS | remove prev external attribute

    Signed-off-by: nadav mizrahi <[email protected]>
    (cherry picked from commit 6ffaa8a)
    nadavMiz authored and romayalon committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    cbcf5fd View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. NC | NSFS | Versioning | Fix Bug 8333 | Delete object with version id

    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)
    shirady authored and romayalon committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    9d3f856 View commit details
    Browse the repository at this point in the history
  2. NC | NSFS | Versioning | Delete Objects | Add a Test | GPFS

    Signed-off-by: shirady <[email protected]>
    (cherry picked from commit f0f8899)
    shirady authored and romayalon committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    e01a57d View commit details
    Browse the repository at this point in the history
  3. NSFS | GPFS | fix delete latest object twice on GPFS

    Signed-off-by: nadav mizrahi <[email protected]>
    (cherry picked from commit 088a25f)
    nadavMiz authored and romayalon committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    4808aac View commit details
    Browse the repository at this point in the history