-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Labels
Description
Environment info
- NooBaa Version: 5.15.4
- Platform: CentOS 8, deployed using https://github.com/IBM/StorageScaleVagrant
Actual behavior
DeleteObjects does not return Deleted record in a version-enabled bucket.
@pytest.mark.fails_on_dbstore
@pytest.mark.versioning
def test_versioning_multi_object_delete_with_marker_create():
client = get_client()
bucket_name = get_new_bucket(client=client)
check_configure_versioning_retry(bucket_name, "Enabled", "Enabled", client=client)
key = 'key'
# use delete_objects() to create a delete marker
response = client.delete_objects(Bucket=bucket_name, Delete={'Objects': [{'Key': key}]})
> assert len(response['Deleted']) == 1
E KeyError: 'Deleted'
Expected behavior
DeleteObjects, even on non-existing keys should return a Deleted record and create a delete marker in a version-enabled bucket.
Steps to reproduce
Execute Ceph s3-tests test_versioning_multi_object_delete_with_marker_create()
. See code snippet above.
More information - Screenshots / Logs / Other output
Log with all log level attached
noobaa_20240913_1.log.gz