Skip to content

rgw: fix the mon command that sets recovery_priority on RGW pools - #73378

Merged
anrao19 merged 1 commit into
ceph:mainfrom
ming1:wip-rgw-pool-recovery-priority
Nov 13, 2026
Merged

anrao19 merged 1 commit into
ceph:mainfrom
ming1:wip-rgw-pool-recovery-priority

Conversation

@ming1

@ming1 ming1 commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

rgw_init_ioctx() sends {"prefix": "osd pool set", "pool": ..., "var": "recovery_priority": "5"} to the mon, with no "val" key. The mon rejects it as unparseable JSON, RGW logs it at level 10, and the pools RGW creates never get rgw_rados_pool_recovery_priority (dead since e7b2935, 2019). Reproducer and verification in the tracker.

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

Checklist

  • Tracker (select at least one):
    • References tracker ticket
  • Component impact
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • No doc update is appropriate
  • Tests (select at least one)
    • Includes bug reproducer

rgw_init_ioctx() builds the "osd pool set recovery_priority" command
without its "val" key, so the mon rejects it as unparseable JSON and the
pools RGW creates never get rgw_rados_pool_recovery_priority.  Add the
missing key.

Fixes: https://tracker.ceph.com/issues/82543
Signed-off-by: Ming Lei <[email protected]>
@ming1
ming1 requested a review from a team as a code owner November 2, 2026 14:30
@github-actions github-actions Bot added the rgw label Nov 2, 2026
@anrao19

anrao19 commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-anrao15-testing-2026-11-04-1140-main.

@anrao19

anrao19 commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-anrao15-testing-2026-11-04-1140-main.

pr testing completed and approved by @ivancich, more deatils in : https://tracker.ceph.com/issues/82664.
@ming1 , if no further testing is needed then this can be merged

@anrao19
anrao19 merged commit b70d935 into ceph:main Nov 13, 2026
20 checks passed
@github-actions

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I have resolved the following tracker ticket due to the merge of this PR:

No backports are pending for the ticket. If this is incorrect, please update the tracker
ticket and reset to Pending Backport state.

Update Log: https://github.com/ceph/ceph/actions/runs/43386816986

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.

3 participants