Skip to content

rgw/rados: resolve CopyObject crash from remote zonegroup#61009

Merged
ivancich merged 1 commit intoceph:mainfrom
cbodley:wip-69169
Feb 12, 2025
Merged

rgw/rados: resolve CopyObject crash from remote zonegroup#61009
ivancich merged 1 commit intoceph:mainfrom
cbodley:wip-69169

Conversation

@cbodley
Copy link
Contributor

@cbodley cbodley commented Dec 9, 2024

in a multi-zonegroup multisite configuration, CopyObject can name buckets in other zonegroups. we call fetch_remote_obj() to perform this copy, but it was crashing due to interaction with the beast frontend's coroutines

Fixes: https://tracker.ceph.com/issues/69169

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

in a multi-zonegroup multisite configuration, CopyObject can name
buckets in other zonegroups. we call fetch_remote_obj() to perform this
copy, but it was crashing due to interaction with the beast frontend's
coroutines

Fixes: https://tracker.ceph.com/issues/69169

Signed-off-by: Casey Bodley <[email protected]>
Reported-by: Seena Fallah <[email protected]>
@jmundack
Copy link
Contributor

Shall we add in a test case for this as well? To catch any future regressions?

@cbodley
Copy link
Contributor Author

cbodley commented Dec 10, 2024

Shall we add in a test case for this as well? To catch any future regressions?

@clwluvw shared a test case from the cross-zonegroup replication pr: https://github.com/clwluvw/ceph/blob/rgw-zonegroup-replication/src/test/rgw/rgw_multi/tests.py#L2306-L2347

apparently that needs to copy an object over ~4mb to trigger the crash. we'll need to split that test case out so we can backport it with this fix. that will also require backport of @smanjara's #60172 to reenable multi-zonegroup tests, along with that pr's depedencies

@ivancich ivancich added needs-qa wip-eric-testing-1 for ivancich testing and removed needs-review labels Feb 6, 2025
@ivancich
Copy link
Member

ivancich commented Feb 6, 2025

jenkins test api

@ivancich ivancich merged commit a9b4eba into ceph:main Feb 12, 2025
1 check passed
@ivancich ivancich removed needs-qa wip-eric-testing-1 for ivancich testing labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants