Bug #80746
openOSDs down due authentication failure
0%
Description
Similar to https://tracker.ceph.com/issues/79946.
/a/skanta-2026-09-11_21:46:15-rados-wip-bharath10-testing-20260910.230227-main-distro-default-trial/552955
description: rados/thrash-erasure-code-isa/{arch/x86_64 ceph clusters/{fixed-4} ec_optimizations/ec_optimizations_on
mon_election/connectivity msgr-failures/osd-dispatch-delay objectstore/{bluestore/{alloc$/{hybrid}
base mem$/{normal-2} onode-segment$/{512K} write$/{v1/{compr$/{yes$/{snappy}} v1}}}}
rados recovery-overrides/{more-partial-recovery} supported-random-distro/{ubuntu_24.04}
thrashers/pggrow_host thrashosds-health workloads/ec-rados-plugin=isa-k=10-m=4}
Authentication failures seem to be causing the daemons to die, which results in many PGs being marked down. Test times out after PGs fail to recover.
osd.5:
2026-09-12T00:42:35.936+0000 7b7307dcc6c0 0 RKR(0x5617c93a4780).get_service_secret could not find secret_id=15 2026-09-12T00:42:35.936+0000 7b7307dcc6c0 0 cephx: verify_authorizer could not get service secret for service osd secret_id=15 2026-09-12T00:42:35.936+0000 7b7307dcc6c0 10 monclient: handle_auth_request bad authorizer on 0x5617f747ac00
2026-09-12T00:42:24.132 INFO:tasks.ceph.osd.5.trial056.stderr:2026-09-12T00:42:24.134+0000 7b7307dcc6c0 -1 monclient(hunting): handle_auth_bad_method failed to auth with my available methods: (13) Permission denied 2026-09-12T00:42:24.132 INFO:tasks.ceph.osd.5.trial056.stderr:2026-09-12T00:42:24.134+0000 7b73055816c0 -1 monclient(hunting): handle_auth_bad_method failed to auth with my available methods: (13) Permission denied 2026-09-12T00:42:24.132 INFO:tasks.ceph.osd.5.trial056.stderr:2026-09-12T00:42:24.134+0000 7b7307dcc6c0 -1 monclient(hunting): handle_auth_bad_method failed to auth with my available methods: (13) Permission denied ... 2026-09-12T00:49:34.712 INFO:tasks.ceph.mon.c.trial134.stderr:2026-09-12T00:49:34.713+0000 73a38bca96c0 -1 mon.c@2(leader).osd e1896 no beacon from osd.5 since 2026-09-12T00:34:34.447815+0000, 900.265854 seconds ago. marking down
Many PGs in down+remapped:
2026-09-12T02:18:16.472 INFO:tasks.ceph.ceph_manager.ceph:PG 3.31 is not active+clean
Then timeout:
2026-09-12T02:18:16.474 INFO:tasks.thrashosds.thrasher:Traceback (most recent call last):
File "/home/teuthworker/src/github.com_ceph_ceph-ci_d4c13386e259c1acaed3e87afb23ed03c5bc693f/qa/tasks/ceph_manager.py", line 192, in wrapper
return func(self)
^^^^^^^^^^
File "/home/teuthworker/src/github.com_ceph_ceph-ci_d4c13386e259c1acaed3e87afb23ed03c5bc693f/qa/tasks/ceph_manager.py", line 1505, in _do_thrash
self.ceph_manager.wait_for_recovery(
File "/home/teuthworker/src/github.com_ceph_ceph-ci_d4c13386e259c1acaed3e87afb23ed03c5bc693f/qa/tasks/ceph_manager.py", line 3040, in wait_for_recovery
assert now - start < timeout, \
^^^^^^^^^^^^^^^^^^^^^
AssertionError: wait_for_recovery: failed before timeout expired
2026-09-12T02:18:16.474 ERROR:tasks.thrashosds.thrasher:exception:
Traceback (most recent call last):
File "/home/teuthworker/src/github.com_ceph_ceph-ci_d4c13386e259c1acaed3e87afb23ed03c5bc693f/qa/tasks/ceph_manager.py", line 1384, in do_thrash
self._do_thrash()
File "/home/teuthworker/src/github.com_ceph_ceph-ci_d4c13386e259c1acaed3e87afb23ed03c5bc693f/qa/tasks/ceph_manager.py", line 192, in wrapper
return func(self)
^^^^^^^^^^
File "/home/teuthworker/src/github.com_ceph_ceph-ci_d4c13386e259c1acaed3e87afb23ed03c5bc693f/qa/tasks/ceph_manager.py", line 1505, in _do_thrash
self.ceph_manager.wait_for_recovery(
File "/home/teuthworker/src/github.com_ceph_ceph-ci_d4c13386e259c1acaed3e87afb23ed03c5bc693f/qa/tasks/ceph_manager.py", line 3040, in wait_for_recovery
assert now - start < timeout, \
^^^^^^^^^^^^^^^^^^^^^
AssertionError: wait_for_recovery: failed before timeout expired
Bob's one sentence summary:
The _rotate_secret adding auth rotation at 00:38:48 evicted the auth secret_id=4 that encrypted osd.5's ticket while osd.5's monclient had been unable to deliver the renewed ticket back to itself for 4+ minutes due to reply delivery failure under SIGHUP storm and map churn — permanently locking osd.5 out of all monitors, stopping its beacons, and setting off a cascade that repeated every ~11 minutes until 6 OSDs were down, exceeding the EC pool's m=4 tolerance and sending all 115 PGs to down+remapped.
LF Updated by Laura Flores 2 months ago
Reproduced 4/10x on this run: https://pulpito.ceph.com/lflores-2026-09-21_21:51:55-rados-wip-bharath10-testing-20260910.230227-main-distro-default-gibba/
lflores@trial200:/a/lflores-2026-09-21_21:51:55-rados-wip-bharath10-testing-20260910.230227-main-distro-default-gibba$ grep -r -m 1 --include="teuthology.log" "handle_auth_bad" . ./573223/teuthology.log:2026-09-21T23:01:27.054 INFO:tasks.ceph.osd.8.gibba013.stderr:2026-09-21T23:01:27.052+0000 7e2716ada6c0 -1 monclient(hunting): handle_auth_bad_method failed to auth with my available methods: (13) Permission denied ./573231/teuthology.log:2026-09-22T01:44:59.092 INFO:tasks.ceph.osd.4.gibba026.stderr:2026-09-22T01:44:59.093+0000 701fe58306c0 -1 monclient(hunting): handle_auth_bad_method failed to auth with my available methods: (13) Permission denied ./573227/teuthology.log:2026-09-22T02:08:56.108 INFO:tasks.ceph.osd.8.gibba017.stderr:2026-09-22T02:08:56.108+0000 70de2d93a6c0 -1 monclient(hunting): handle_auth_bad_method failed to auth with my available methods: (13) Permission denied ./573224/teuthology.log:2026-09-21T23:01:27.750 INFO:tasks.ceph.osd.7.gibba044.stderr:2026-09-21T23:01:27.750+0000 7b22ac25a6c0 -1 monclient(hunting): handle_auth_bad_method failed to auth with my available methods: (13) Permission denied
LF Updated by Laura Flores 2 months ago · Edited
- Assignee set to Patrick Donnelly
@Patrick Donnelly can you take a look? It looks like another cephx key incompatibility.
CF Updated by Connor Fawcett 2 months ago
/a/skanta-2026-09-20_02:51:43-rados-wip-bharath22-testing-20260920.002814-main-distro-default-trial/570342
LF Updated by Laura Flores 2 months ago
Bump up
KS Updated by Kamoltat (Junior) Sirivadhna about 2 months ago
bump up
RZ Updated by Radoslaw Zarzynski about 2 months ago
PD Updated by Patrick Donnelly about 2 months ago
For some reason osd.5 stopped getting replies from mon.c:
2026-09-12T00:28:47.298+0000 7b72f96a16c0 10 monclient: tick 2026-09-12T00:28:47.298+0000 7b72f96a16c0 10 monclient: _check_auth_tickets 2026-09-12T00:28:47.298+0000 7b72f96a16c0 10 monclient: _check_auth_tickets getting new tickets! 2026-09-12T00:28:47.298+0000 7b72f96a16c0 10 monclient: _send_mon_message to mon.c at v2:10.20.193.134:3300/0 2026-09-12T00:28:47.298+0000 7b72f96a16c0 1 -- [v2:10.20.193.56:6808/2269681185,v1:10.20.193.56:6809/2269681185] --> [v2:10.20.193.134:3300/0,v1:10.20.193.134:6789/0] -- auth(proto 2 250 bytes epoch 0) -- 0x5617cb91fdc0 con 0x5617c9000400 2026-09-12T00:28:47.298+0000 7b72f96a16c0 10 monclient: _check_auth_rotating have uptodate secrets (they expire after 2026-09-12T00:28:17.299120+0000) 2026-09-12T00:28:47.298+0000 7b72fa6a36c0 1 -- [v2:10.20.193.56:6808/2269681185,v1:10.20.193.56:6809/2269681185] <== mon.2 v2:10.20.193.134:3300/0 702 ==== auth_reply(proto 2 0 (0) Success) ==== 913+0+0 (secure 0 0 0) 0x5617d51d3c20 con 0x5617c9000400 2026-09-12T00:28:47.298+0000 7b72fa6a36c0 10 monclient: _finish_auth 0 2026-09-12T00:28:47.298+0000 7b72fa6a36c0 10 monclient: _check_auth_tickets 2026-09-12T00:28:47.298+0000 7b72fa6a36c0 10 monclient: _check_auth_rotating have uptodate secrets (they expire after 2026-09-12T00:28:17.299594+0000) ## Last received auth_reply ^ 2026-09-12T00:31:47.311+0000 7b72f96a16c0 10 monclient: tick 2026-09-12T00:31:47.311+0000 7b72f96a16c0 10 monclient: _check_auth_tickets 2026-09-12T00:31:47.311+0000 7b72f96a16c0 10 monclient: _check_auth_tickets getting new tickets! 2026-09-12T00:31:47.311+0000 7b72f96a16c0 10 monclient: _send_mon_message to mon.c at v2:10.20.193.134:3300/0 2026-09-12T00:31:47.311+0000 7b72f96a16c0 1 -- [v2:10.20.193.56:6808/2269681185,v1:10.20.193.56:6809/2269681185] --> [v2:10.20.193.134:3300/0,v1:10.20.193.134:6789/0] -- auth(proto 2 250 bytes epoch 0) -- 0x5617cb91fa40 con 0x5617c9000400 2026-09-12T00:31:47.311+0000 7b72f96a16c0 10 monclient: _check_auth_rotating have uptodate secrets (they expire after 2026-09-12T00:31:17.311813+0000) ## Next auth ^
/teuthology/skanta-2026-09-11_21:46:15-rados-wip-bharath10-testing-20260910.230227-main-distro-default-trial/552955/remote/trial056/log/ceph-osd.5.log.gz
The no auth_reply processed by the OSD going forward.
On mon.c:
2026-09-12T00:31:48.310+0000 73a3894a46c0 1 -- [v2:10.20.193.134:3300/0,v1:10.20.193.134:6789/0] <== osd.5 v2:10.20.193.56:6808/2269681185 571 ==== auth(proto 2 250 bytes epoch 0) ==== 280+0+0 (secure 0 0 0) 0x5bf7cf00afc0 con 0x5bf7ce859c00 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 mon.c@2(leader) e1 _ms_dispatch existing session 0x5bf7cea5b200 for osd.5 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 mon.c@2(leader) e1 entity_name osd.5 global_id 4301 (reclaim_ok) caps allow profile osd 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 mon.c@2(leader).paxosservice(auth 1..22) dispatch 0x5bf7cf00afc0 auth(proto 2 250 bytes epoch 0) from osd.5 v2:10.20.193.56:6808/2269681185 con 0x5bf7ce859c00 2026-09-12T00:31:48.310+0000 73a3894a46c0 5 mon.c@2(leader).paxos(paxos active c 5021..5684) is_readable = 1 - now=2026-09-12T00:31:48.310521+0000 lease_expire=2026-09-12T00:31:53.086974+0000 has v0 lc 5684 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 mon.c@2(leader).auth v22 preprocess_query auth(proto 2 250 bytes epoch 0) from osd.5 v2:10.20.193.56:6808/2269681185 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 mon.c@2(leader).auth v22 prep_auth() blob_size=250 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx server osd.5: handle_request get_principal_session_key 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx: cephx_verify_authorizer: decoded service auth secret_id=4 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 cephx: cephx_verify_authorizer: looking up service secret for auth 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 CryptoAES256KRB5KeyHandler::decrypt() 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx: cephx_verify_authorizer: global_id=4301 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 CryptoAES256KRB5KeyHandler::decrypt() 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 CryptoAES256KRB5KeyHandler::encrypt() 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx: verify_authorizer ok nonce f31628a36c41009 reply_bl.length()=62 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx server osd.5: ticket_req.keys = 21 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx server osd.5: adding key for service mon 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 cephx keyserver: generate_secret: generating key type 2 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx keyserverdata: get_caps: name=osd.5 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx keyserverdata: get_caps: num of caps=3 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx server osd.5: adding key for service osd 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 cephx keyserver: generate_secret: generating key type 2 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx keyserverdata: get_caps: name=osd.5 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx keyserverdata: get_caps: num of caps=3 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx server osd.5: adding key for service mgr 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 cephx keyserver: generate_secret: generating key type 2 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx keyserverdata: get_caps: name=osd.5 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx keyserverdata: get_caps: num of caps=3 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx: build_service_ticket_reply encoding 3 tickets with secret AgDem6RqnlviECAAsdKV/9rckM9tDNgFtFPBWNfiMTikdWWCDmz4RTzlP4g= 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 CryptoAES256KRB5KeyHandler::encrypt() 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx: build_service_ticket service session_auth_info(mon id=13 session_key=AgB0naRqx3eDEiAAa4znfw0/ZTOBr2ZyxsrI7wcm2++y5vNypYus2n5ey54= service_secret=AgCCnKRqVT1fMCAA3W5qHF68G117EVyLGAuLeSi06dEfi27g2FnkNne0rDU= ticket.name=osd.5 ticket.global_id=4301) 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 CryptoAES256KRB5KeyHandler::encrypt() 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 CryptoAES256KRB5KeyHandler::encrypt() 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx: build_service_ticket service session_auth_info(osd id=13 session_key=AgB0naRqkKeDEiAAozmbzcV9pcJbyIgGZwDXg38i3JN+6kdjVkgvYFpTXQ8= service_secret=AgCCnKRqd1JfMCAAa7oo4DJIlh6Pi1WBssLCYuhY1e7/QgFo7PS4xNOZC9o= ticket.name=osd.5 ticket.global_id=4301) 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 CryptoAES256KRB5KeyHandler::encrypt() 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 CryptoAES256KRB5KeyHandler::encrypt() 2026-09-12T00:31:48.310+0000 73a3894a46c0 10 cephx: build_service_ticket service session_auth_info(mgr id=13 session_key=AgB0naRqrs2DEiAAwBctl+U+WxYjxVNnuDjCKpXolPYu9vHpPO/FQggbxak= service_secret=AgCCnKRqe3tfMCAAwzr/IXrYgvQBjovKfY/9a+Rc1tUM/mgVoaFXpiAgQg8= ticket.name=osd.5 ticket.global_id=4301) 2026-09-12T00:31:48.310+0000 73a3894a46c0 20 CryptoAES256KRB5KeyHandler::encrypt() 2026-09-12T00:31:48.310+0000 73a3894a46c0 2 mon.c@2(leader) e1 send_reply 0x5bf7ceb72d80 0x5bf7cf086d20 auth_reply(proto 2 0 (0) Success) 2026-09-12T00:31:48.310+0000 73a3894a46c0 1 -- [v2:10.20.193.134:3300/0,v1:10.20.193.134:6789/0] --> [v2:10.20.193.56:6808/2269681185,v1:10.20.193.56:6809/2269681185] -- auth_reply(proto 2 0 (0) Success) -- 0x5bf7cf086d20 con 0x5bf7ce859c00 ## ^ Reply sent. auth_reply sent for every followup auth() until: 2026-09-12T00:38:48.351+0000 73a3894a46c0 1 -- [v2:10.20.193.134:3300/0,v1:10.20.193.134:6789/0] <== osd.5 v2:10.20.193.56:6808/2269681185 1389 ==== auth(proto 2 182 bytes epoch 0) ==== 212+0+0 (secure 0 0 0) 0x5bf7cf7bf180 con 0x5bf7ce859c00 2026-09-12T00:38:48.351+0000 73a3894a46c0 20 mon.c@2(leader) e1 _ms_dispatch existing session 0x5bf7cea5b200 for osd.5 2026-09-12T00:38:48.351+0000 73a3894a46c0 20 mon.c@2(leader) e1 entity_name osd.5 global_id 4301 (reclaim_ok) caps allow profile osd 2026-09-12T00:38:48.351+0000 73a3894a46c0 10 mon.c@2(leader).paxosservice(auth 1..24) dispatch 0x5bf7cf7bf180 auth(proto 2 182 bytes epoch 0) from osd.5 v2:10.20.193.56:6808/2269681185 con 0x5bf7ce859c00 2026-09-12T00:38:48.351+0000 73a3894a46c0 5 mon.c@2(leader).paxos(paxos active c 5774..6453) is_readable = 1 - now=2026-09-12T00:38:48.353033+0000 lease_expire=2026-09-12T00:38:53.345579+0000 has v0 lc 6453 2026-09-12T00:38:48.351+0000 73a3894a46c0 10 mon.c@2(leader).auth v24 preprocess_query auth(proto 2 182 bytes epoch 0) from osd.5 v2:10.20.193.56:6808/2269681185 2026-09-12T00:38:48.351+0000 73a3894a46c0 10 mon.c@2(leader).auth v24 prep_auth() blob_size=182 2026-09-12T00:38:48.351+0000 73a3894a46c0 10 cephx server osd.5: handle_request get_auth_session_key for osd.5 2026-09-12T00:38:48.351+0000 73a3894a46c0 20 cephx keyserverdata: get_auth: osd.5 2026-09-12T00:38:48.351+0000 73a3894a46c0 30 mon.c@2(leader) e1 is_cipher_allowed: aes256k 2026-09-12T00:38:48.351+0000 73a3894a46c0 30 mon.c@2(leader) e1 is_cipher_allowed: = 1 2026-09-12T00:38:48.351+0000 73a3894a46c0 20 cephx server osd.5: checking key: req.key=d026baffdd92f878 expected_key=d026baffdd92f878 2026-09-12T00:38:48.351+0000 73a3894a46c0 20 cephx server osd.5: checking old_ticket: secret_id=4 len=146, old_ticket_may_be_omitted=0 2026-09-12T00:38:48.351+0000 73a3894a46c0 10 cephx keyserverdata: get_service_secret service auth secret 4 not found 2026-09-12T00:38:48.351+0000 73a3894a46c0 0 cephx: ceph_decode_ticket could not get service secret for service_id=auth secret_id=4 2026-09-12T00:38:48.351+0000 73a3894a46c0 0 cephx server osd.5: attempt to reclaim global_id 4301 using bad ticket 2026-09-12T00:38:48.351+0000 73a3894a46c0 0 cephx server osd.5: could not verify old ticket 2026-09-12T00:38:48.351+0000 73a3894a46c0 2 mon.c@2(leader) e1 send_reply 0x5bf7cea4ad80 0x5bf7cec1e5a0 auth_reply(proto 2 -13 (13) Permission denied)
/teuthology/skanta-2026-09-11_21:46:15-rados-wip-bharath10-testing-20260910.230227-main-distro-default-trial/552955/remote/trial134/log/ceph-mon.c.log.gz
Some kind of issue relating to the messenger?
LF Updated by Laura Flores about 1 month ago
Bump up
PD Updated by Patrick Donnelly about 1 month ago
- Assignee deleted (
Patrick Donnelly)
Unassigning myself since this doesn't seem caused by a cephx/auth bug.
KS Updated by Kamoltat (Junior) Sirivadhna about 1 month ago
We suspect that it might be related to msg bug: https://github.com/ceph/ceph/pull/64122 which got reverted. Will keep monitor
KS Updated by Kamoltat (Junior) Sirivadhna 27 days ago
Monitoring for re-occurence.