Bug #80728
closedmon: do not ack osd new until cephx can auth as osd.N
0%
Description
After https://github.com/ceph/ceph/pull/50503, osd new acks on OSDMonitor::wait_for_commit. That waiter used to run from PaxosService::refresh() before _update_from_paxos(). Refresh order is OSDMAP then AUTH. handle_auth_request() reads KeyServer on the msgr path without mon.lock. Client can auth as osd.N while KeyServer is still at the previous version.
More details: https://github.com/ceph/ceph/pull/71248#issue-5226604403
Why tentacle and umbrella: both already contain PR 50503
(c2f7fc6f3f9). osd new still acks from wait_for_commit during OSDMAP
refresh. Neither branch has 49e8a07 (vstart mkfs retry). Seen on
tentacle_9.2 nvmeof CI:
https://github.com/ceph/ceph-nvmeof/actions/runs/32452671723/job/97162876156
Fix: complete waiting_for_commit in post_refresh() after every service
has applied. osd new keeps its existing OSDMonitor wait.
Main: https://github.com/ceph/ceph/pull/71248
AI Updated by Alexander Indenbaum 2 months ago
- Tags (freeform) set to backport_processed
AI Updated by Alexander Indenbaum 2 months ago
- Copied to Backport #80731: tentacle: mon: do not ack osd new until cephx can auth as osd.N added
AI Updated by Alexander Indenbaum 2 months ago
- Copied to Backport #80732: umbrella: mon: do not ack osd new until cephx can auth as osd.N added
UB Updated by Upkeep Bot 2 months ago
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp set to 2026-09-22T12:25:39+00:00
UB Updated by Upkeep Bot 2 months ago
- Status changed from Pending Backport to Backporting
- Merge Commit set to acb358b9032887d5698b9b5a7fa93544d2c23d69
- Fixed In set to v21.3.0-3485-gacb358b903
- Upkeep Timestamp changed from 2026-09-22T12:25:39+00:00 to 2026-09-22T12:35:30+00:00
AI Updated by Alexander Indenbaum 2 months ago
- Description updated (diff)
AI Updated by Alexander Indenbaum 2 months ago
- Description updated (diff)
AI Updated by Alexander Indenbaum 2 months ago
- Regression changed from No to Yes
- Component(RADOS) Monitor added
AI Updated by Alexander Indenbaum 2 months ago
- Affected Versions v21.1.1 added
AI Updated by Alexander Indenbaum 2 months ago
- Affected Versions v20.2.5 added
- Affected Versions deleted (
v21.1.1)
UB Updated by Upkeep Bot 8 days ago
- Status changed from Backporting to Resolved
- Upkeep Timestamp changed from 2026-09-22T12:35:30+00:00 to 2026-11-26T01:03:32+00:00