Skip to content
This repository was archived by the owner on Oct 12, 2026. It is now read-only.

add test case for object copy in versioning suspended bucket - #546

Merged
cbodley merged 2 commits into
ceph:masterfrom
jzhu116-bloomberg:wip-64340
Feb 12, 2024
Merged

cbodley merged 2 commits into
ceph:masterfrom
jzhu116-bloomberg:wip-64340

Conversation

@jzhu116-bloomberg

Copy link
Copy Markdown
Contributor

add test case test_versioning_obj_suspended_copy() for https://tracker.ceph.com/issues/64340

Signed-off-by: Jane Zhu [email protected]

@cbodley cbodley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified that this test fails against ceph main

Comment on lines +7532 to +7536
# delete the source object. keep the 'null' entry in version_ids
client.delete_object(Bucket=bucket_name, Key=key1)

# get the target object
response = client.get_object(Bucket=bucket_name, Key=key2)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when this job ran against dbstore in the rgw/dbstore suite, it failed here with:

An error occurred (NoSuchKey) when calling the GetObject operation: None

not sure what exactly dbstore is doing wrong here, but lets tag this test with @pytest.mark.fails_on_dbstore for now

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@cbodley
cbodley merged commit 997f78d into ceph:master Feb 12, 2024
@cbodley

cbodley commented Mar 7, 2024

Copy link
Copy Markdown
Contributor

cherry-picked to ceph-master

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants