Repository navigation
rgw: fix zonegroup mismatch error during user creation for new realms - #63260
VinayakTiwari1103 wants to merge 1 commit into
Conversation
Signed-off-by: Vinayak Tiwari <[email protected]>
|
Can one of the admins verify this patch? |
batrick
left a comment
There was a problem hiding this comment.
Non-form reply note: @github fake emails are not permitted for sign offs.
Please sign your commits. This is required for your PR to be merged.
See this article on GitHub on how to amend commits and update your pull request.
|
@VinayakTiwari1103 thank you for looking at this, but i think the solution is less code in RGWSI_Zone, not more. i opened #63266 if you'd like to help with review/testing |
#63266 merged to resolve https://tracker.ceph.com/issues/71291 |
Fixes a regression in RGWSI_Zone::do_start() where user creation fails if the zone is not found in the current period or zonegroup metadata.This commonly occurs when creating multiple realms and trying to create
a user in a new realm before committing its period.
This patch:
zonegroup->realm_id = realm->get_id()immediately after realm loadusing_localis true and the zone is missing from the zonegroup,it readszone_info.<zone_id>from RGW metadata usingsysobj_svcmaster_zoneif not already configured-EINVAL, allowing user creation to proceed with a warningThis improves multisite bootstrapping behavior and brings RGW back to
supporting user creation without requiring immediate period commits.
Fixes: https://tracker.ceph.com/issues/71291
Signed-off-by: Vinayak Tiwari [email protected]
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition