Project

General

Profile

Actions

Bug #80728

closed
AI

mon: do not ack osd new until cephx can auth as osd.N

Bug #80728: mon: do not ack osd new until cephx can auth as osd.N

Added by Alexander Indenbaum 2 months ago. Updated 8 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle, umbrella
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Monitor
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-3485-gacb358b903
Released In:
Upkeep Timestamp:
2026-11-26T01:03:32+00:00

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


Related issues 2 (0 open — 2 closed)

Copied to RADOS - Backport #80731: tentacle: mon: do not ack osd new until cephx can auth as osd.NResolvedAlexander Indenbaum

Actions
Copied to RADOS - Backport #80732: umbrella: mon: do not ack osd new until cephx can auth as osd.NResolvedAlexander Indenbaum

Actions

AI Updated by Alexander Indenbaum 2 months ago Actions #1

  • Tags (freeform) set to backport_processed

AI Updated by Alexander Indenbaum 2 months ago Actions #2

  • 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 Actions #3

  • 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 Actions #4

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp set to 2026-09-22T12:25:39+00:00

UB Updated by Upkeep Bot 2 months ago Actions #5

  • 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 Actions #6

  • Description updated (diff)

AI Updated by Alexander Indenbaum 2 months ago Actions #7

  • Description updated (diff)

AI Updated by Alexander Indenbaum 2 months ago Actions #8

  • Regression changed from No to Yes
  • Component(RADOS) Monitor added

AI Updated by Alexander Indenbaum 2 months ago Actions #9

  • Affected Versions v21.1.1 added

AI Updated by Alexander Indenbaum 2 months ago Actions #10

  • Affected Versions v20.2.5 added
  • Affected Versions deleted (v21.1.1)

UB Updated by Upkeep Bot 8 days ago Actions #11

  • 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
Actions

Also available in: PDF Atom