Bug #76979
closedcephadm: Failure to re-authenticate an osd
0%
Description
All logs below are from this job:
description: rados/cephadm/osds/{0-distro/ubuntu_22.04 0-nvme-loop 1-start 2-ops/rmdir-reactivate}
/a/skanta-2026-05-27_06:21:57-rados-wip-bharath4-testing-2026-05-27-1003-distro-default-trial/240046
The orchestrator continuously checks to see if osd.1 is running. This goes on for quite some time before the job ends up dying:
2026-05-27T14:02:40.881 INFO:teuthology.orchestra.run.trial034.stderr:+ ceph orch ps 2026-05-27T14:02:40.882 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T14:02:40.882 INFO:teuthology.orchestra.run.trial034.stderr:+ grep running 2026-05-27T14:02:41.069 INFO:teuthology.orchestra.run.trial034.stderr:+ sleep 5 2026-05-27T14:02:41.521 INFO:[email protected]:May 27 14:02:41 trial034 bash[10747]: cluster 2026-05-27T14:02:40.002836+0000 mgr.trial034.zwlrvw (mgr.14205) 14808 : cluster [DBG] pgmap v10656: 1 pgs: 1 active+clean; 577 KiB data, 188 MiB used, 4.8 TiB / 4.8 TiB avail 2026-05-27T14:02:41.521 INFO:[email protected]:May 27 14:02:41 trial034 bash[10747]: cluster 2026-05-27T14:02:40.002836+0000 mgr.trial034.zwlrvw (mgr.14205) 14808 : cluster [DBG] pgmap v10656: 1 pgs: 1 active+clean; 577 KiB data, 188 MiB used, 4.8 TiB / 4.8 TiB avail 2026-05-27T14:02:41.602 INFO:[email protected]:May 27 14:02:41 trial169 bash[17284]: cluster 2026-05-27T14:02:40.002836+0000 mgr.trial034.zwlrvw (mgr.14205) 14808 : cluster [DBG] pgmap v10656: 1 pgs: 1 active+clean; 577 KiB data, 188 MiB used, 4.8 TiB / 4.8 TiB avail 2026-05-27T14:02:41.602 INFO:[email protected]:May 27 14:02:41 trial169 bash[17284]: cluster 2026-05-27T14:02:40.002836+0000 mgr.trial034.zwlrvw (mgr.14205) 14808 : cluster [DBG] pgmap v10656: 1 pgs: 1 active+clean; 577 KiB data, 188 MiB used, 4.8 TiB / 4.8 TiB avail 2026-05-27T14:02:42.521 INFO:[email protected]:May 27 14:02:42 trial034 bash[10747]: audit 2026-05-27T14:02:41.047223+0000 mgr.trial034.zwlrvw (mgr.14205) 14809 : audit [DBG] from='client.30944 -' entity='client.admin' cmd=[{"prefix": "orch ps", "target": ["mon-mgr", ""]}]: dispatch 2026-05-27T14:02:42.521 INFO:[email protected]:May 27 14:02:42 trial034 bash[10747]: audit 2026-05-27T14:02:41.047223+0000 mgr.trial034.zwlrvw (mgr.14205) 14809 : audit [DBG] from='client.30944 -' entity='client.admin' cmd=[{"prefix": "orch ps", "target": ["mon-mgr", ""]}]: dispatch 2026-05-27T14:02:42.602 INFO:[email protected]:May 27 14:02:42 trial169 bash[17284]: audit 2026-05-27T14:02:41.047223+0000 mgr.trial034.zwlrvw (mgr.14205) 14809 : audit [DBG] from='client.30944 -' entity='client.admin' cmd=[{"prefix": "orch ps", "target": ["mon-mgr", ""]}]: dispatch 2026-05-27T14:02:42.602 INFO:[email protected]:May 27 14:02:42 trial169 bash[17284]: audit 2026-05-27T14:02:41.047223+0000 mgr.trial034.zwlrvw (mgr.14205) 14809 : audit [DBG] from='client.30944 -' entity='client.admin' cmd=[{"prefix": "orch ps", "target": ["mon-mgr", ""]}]: dispatch 2026-05-27T14:02:43.407 DEBUG:teuthology.exit:Got signal 15; running 1 handler... 2026-05-27T14:02:43.408 DEBUG:teuthology.task.console_log:Killing console logger for trial034 2026-05-27T14:02:43.409 DEBUG:teuthology.task.console_log:Killing console logger for trial169 2026-05-27T14:02:43.409 DEBUG:teuthology.exit:Finished running handlers
Looking specifically at osd.1, we can see that the orchestrator removed authentication and subsequently tried to add it back:
2026-05-27T08:09:57.906 INFO:[email protected]:May 27 08:09:57 trial034 bash[10747]: cephadm 2026-05-27T08:09:56.080512+0000 mgr.trial034.zwlrvw (mgr.14205) 127 : cephadm [INF] Removing daemon osd.1 from trial034 -- ports [] 2026-05-27T08:09:57.906 INFO:[email protected]:May 27 08:09:57 trial034 bash[10747]: audit 2026-05-27T08:09:56.647378+0000 mon.trial034 (mon.0) 722 : audit [INF] from='mgr.14205 10.20.193.34:0/3535206280' entity='mgr.trial034.zwlrvw' cmd={"prefix": "auth rm", "entity": "osd.1"} : dispatch 2026-05-27T08:09:57.906 INFO:[email protected]:May 27 08:09:57 trial034 bash[10747]: audit 2026-05-27T08:09:56.647378+0000 mon.trial034 (mon.0) 722 : audit [INF] from='mgr.14205 10.20.193.34:0/3535206280' entity='mgr.trial034.zwlrvw' cmd={"prefix": "auth rm", "entity": "osd.1"} : dispatch 2026-05-27T08:09:57.906 INFO:[email protected]:May 27 08:09:57 trial034 bash[10747]: audit 2026-05-27T08:09:56.648511+0000 mon.trial034 (mon.0) 723 : audit [INF] from='mgr.14205 10.20.193.34:0/3535206280' entity='mgr.trial034.zwlrvw' cmd='{"prefix": "auth rm", "entity": "osd.1"} ': finished 2026-05-27T08:09:57.907 INFO:[email protected]:May 27 08:09:57 trial034 bash[10747]: audit 2026-05-27T08:09:56.648511+0000 mon.trial034 (mon.0) 723 : audit [INF] from='mgr.14205 10.20.193.34:0/3535206280' entity='mgr.trial034.zwlrvw' cmd='{"prefix": "auth rm", "entity": "osd.1"} ': finished 2026-05-27T08:09:57.907 INFO:[email protected]:May 27 08:09:57 trial034 bash[10747]: audit 2026-05-27T08:09:57.278043+0000 mon.trial034 (mon.0) 724 : audit [INF] from='client.? 10.20.193.34:0/519603873' entity='client.admin' cmd={"prefix": "auth add", "entity": "osd.1"} : dispatch 2026-05-27T08:09:57.907 INFO:[email protected]:May 27 08:09:57 trial034 bash[10747]: audit 2026-05-27T08:09:57.278043+0000 mon.trial034 (mon.0) 724 : audit [INF] from='client.? 10.20.193.34:0/519603873' entity='client.admin' cmd={"prefix": "auth add", "entity": "osd.1"} : dispatch 2026-05-27T08:09:57.907 INFO:[email protected]:May 27 08:09:57 trial034 bash[10747]: audit 2026-05-27T08:09:57.279448+0000 mon.trial034 (mon.0) 725 : audit [INF] from='client.? 10.20.193.34:0/519603873' entity='client.admin' cmd='{"prefix": "auth add", "entity": "osd.1"} ': finished 2026-05-27T08:09:57.907 INFO:[email protected]:May 27 08:09:57 trial034 bash[10747]: audit 2026-05-27T08:09:57.279448+0000 mon.trial034 (mon.0) 725 : audit [INF] from='client.? 10.20.193.34:0/519603873' entity='client.admin' cmd='{"prefix": "auth add", "entity": "osd.1"} ': finished 2026-05-27T08:09:58.621 INFO:[email protected]:May 27 08:09:58 trial034 bash[10747]: cephadm 2026-05-27T08:09:56.646875+0000 mgr.trial034.zwlrvw (mgr.14205) 128 : cephadm [INF] Removing keyring for osd.1 2026-05-27T08:09:58.621 INFO:[email protected]:May 27 08:09:58 trial034 bash[10747]: cephadm 2026-05-27T08:09:56.646875+0000 mgr.trial034.zwlrvw (mgr.14205) 128 : cephadm [INF] Removing keyring for osd.1 2026-05-27T08:09:58.853 INFO:[email protected]:May 27 08:09:58 trial169 bash[17284]: cephadm 2026-05-27T08:09:56.646875+0000 mgr.trial034.zwlrvw (mgr.14205) 128 : cephadm [INF] Removing keyring for osd.1 2026-05-27T08:09:58.853 INFO:[email protected]:May 27 08:09:58 trial169 bash[17284]: cephadm 2026-05-27T08:09:56.646875+0000 mgr.trial034.zwlrvw (mgr.14205) 128 : cephadm [INF] Removing keyring for osd.1 2026-05-27T08:10:00.510 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:10:00.772 INFO:[email protected]:May 27 08:10:00 trial034 bash[10747]: cluster 2026-05-27T08:10:00.000115+0000 mon.trial034 (mon.0) 731 : cluster [WRN] osd.1 (root=default,host=trial034) is down 2026-05-27T08:10:00.772 INFO:[email protected]:May 27 08:10:00 trial034 bash[10747]: cluster 2026-05-27T08:10:00.000115+0000 mon.trial034 (mon.0) 731 : cluster [WRN] osd.1 (root=default,host=trial034) is down 2026-05-27T08:10:00.854 INFO:[email protected]:May 27 08:10:00 trial169 bash[17284]: cluster 2026-05-27T08:10:00.000115+0000 mon.trial034 (mon.0) 731 : cluster [WRN] osd.1 (root=default,host=trial034) is down 2026-05-27T08:10:00.854 INFO:[email protected]:May 27 08:10:00 trial169 bash[17284]: cluster 2026-05-27T08:10:00.000115+0000 mon.trial034 (mon.0) 731 : cluster [WRN] osd.1 (root=default,host=trial034) is down 2026-05-27T08:10:05.706 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:10:10.953 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1
Cephadm expected osd.1 to get back up an running, but it continued to stay down:
2026-05-27T08:19:26.697 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:19:31.896 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:19:37.089 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:19:42.285 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:19:47.477 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:19:49.852 INFO:[email protected]:May 27 08:19:49 trial169 bash[17284]: cluster 2026-05-27T08:19:49.174929+0000 mon.trial034 (mon.0) 855 : cluster [INF] Marking osd.1 out (has been down for 603 seconds) 2026-05-27T08:19:49.852 INFO:[email protected]:May 27 08:19:49 trial169 bash[17284]: cluster 2026-05-27T08:19:49.174929+0000 mon.trial034 (mon.0) 855 : cluster [INF] Marking osd.1 out (has been down for 603 seconds) 2026-05-27T08:19:50.021 INFO:[email protected]:May 27 08:19:49 trial034 bash[10747]: cluster 2026-05-27T08:19:49.174929+0000 mon.trial034 (mon.0) 855 : cluster [INF] Marking osd.1 out (has been down for 603 seconds) 2026-05-27T08:19:50.021 INFO:[email protected]:May 27 08:19:49 trial034 bash[10747]: cluster 2026-05-27T08:19:49.174929+0000 mon.trial034 (mon.0) 855 : cluster [INF] Marking osd.1 out (has been down for 603 seconds) 2026-05-27T08:19:52.673 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:19:57.868 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:20:03.069 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:20:08.263 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:20:13.459 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:20:18.657 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:20:23.850 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1
We can see further down that cephadm reports that osd.1 is stray:
2026-05-27T08:40:01.022 INFO:[email protected]:May 27 08:40:00 trial034 bash[10747]: cluster 2026-05-27T08:40:00.000083+0000 mon.trial034 (mon.0) 1065 : cluster [WRN] stray daemon osd.1 on host trial034 not managed by cephadm 2026-05-27T08:40:01.022 INFO:[email protected]:May 27 08:40:00 trial034 bash[10747]: cluster 2026-05-27T08:40:00.000083+0000 mon.trial034 (mon.0) 1065 : cluster [WRN] stray daemon osd.1 on host trial034 not managed by cephadm 2026-05-27T08:40:01.104 INFO:[email protected]:May 27 08:40:00 trial169 bash[17284]: cluster 2026-05-27T08:40:00.000083+0000 mon.trial034 (mon.0) 1065 : cluster [WRN] stray daemon osd.1 on host trial034 not managed by cephadm 2026-05-27T08:40:01.104 INFO:[email protected]:May 27 08:40:00 trial169 bash[17284]: cluster 2026-05-27T08:40:00.000083+0000 mon.trial034 (mon.0) 1065 : cluster [WRN] stray daemon osd.1 on host trial034 not managed by cephadm 2026-05-27T08:40:03.164 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:40:08.359 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:40:13.553 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1 2026-05-27T08:40:18.745 INFO:teuthology.orchestra.run.trial034.stderr:+ grep osd.1
Something went wrong when the test tried to re-authenticate osd.1. Unfortunately, no cephadm or journal logs were collected for the test.
I compared the commit diff from a build where this was passing to the current build, and I can see that there were some cephadm changes added. Some of these changes might be related, although it is difficult to tell due to the lack of relevant logs:
$ git log --pretty=oneline --no-merges 205024db46669d1aceb2a648c84fd47dda6b4d21..ci/wip-bharath4-testing-2026-05-27-1003 src/pybind de23df56d1047055db2c3602893160513a42ca52 mgr/dashboard: Add Hosts via CSV Upload 16b7a0b0f67230fa7f5a4c71a06084cedca4a4e6 mgr/cephadm: adding UT for the new functionality ce80967837362674e317af70a0998f8a714e1530 mgr/cephadm: moving certificates reconciliation code to a new method 17dca0d8dd7d781c33740ef988486e9d0eece28b mgr/dashboard: add telemetry status to overview-health-card 6f35766bc07bd5bdf51f07b56ea1ec4cd8d5eafd Revert "Merge pull request #67999 from Shubhaj1810/nfs-ganesha-servicemap-fix" daa0a2f018e1681044911d322b7fd1b88e988d08 cephadm: fix mgr ports list growth; add unit tests (#76564) a036f77654dc50960f20b361769050759fc36c16 cephadm: mgr prepare_create must replace ports, not append 7f9605852f939d82a2b75ed2acdaff3753bdce20 mgr/cephadm: fix get_cert_with_label to use host instead of fqdn 02b4fe845232a056ca00c75ae37fa18300a88422 mgr/cephadm: adding UT for this new functionality (leftover cleanup) 13df667f4062fcfaddb6f1671181b08b8e680085 mgr/cephadm: cleanup leftover certs/keys after cert_src changes d3f3bcbcf42b3d4add612c77081b6219cc69f40a mgr/cephadm: adding tls fields as deps for services with TLS support 1b4e846c6c7967c62e48c528ce00dcf097ea2dbd (ci/wip-rhcs-dashboard_fix-76316-main) mgr/cephadm: fix prometheus redeploy stuck in loop 7b2b62dcfcdb0fc797c94e4948c24cc60e9ebdb9 mgr/dashboard: add remote write section to prometheus configuration 7c6ea18d6e0bcaad73d3fb8a2138f4b31894b138 mgr/dashboard: use cephadm root CA for RGW SSL and improve error handling f2d8ef5cbfe3830ad22acd2c588489d65b8bda65 mgr: Modify unit tests to reflect changes Modify calc_final_pg_target test cases to reflect optimization algorithm Add test cases that ensure cost is respected to ensure pools get rounded closely to target 1933993bcb13953684dd4220dc54d7d5ad3ed1dc mgr: Fix autoscaler not distributing PGs evenly + wrong pg_left update Add optimization algorithm to distribute PGs among pools to minimize cost (absolute difference between target PG and rounded PG). Fix autoscaler still allocating pools when autoscale is off but bulk is on 996b145e08b6f252e6c6c62e0c12d080c18eae6d mgr/cephadm: fix nvmeof reconfig loop by preserving daemon deps cd283667db252b76a35c1e2b15dc210487c7dd4b mgr/cephadm: updated tests with osdspec_affinity fbe3a053c2a2bee19a4e8302a94bcc7af7e156d3 mgr/cephadm: verify spec service_id before applying
LF Updated by Laura Flores 6 months ago
- Description updated (diff)
LF Updated by Laura Flores 6 months ago
- Subject changed from cephadm: Failure to authenticate osd after removing it from a host to cephadm: Failure to authenticate an osd after initially removing caps
- Description updated (diff)
LF Updated by Laura Flores 6 months ago
- Assignee set to Redouane Kachach Elhicou
@Redouane Kachach Elhicou can you help triage this?
Wondering if it might be related to the changes in https://github.com/ceph/ceph/pull/67308.
LF Updated by Laura Flores 6 months ago
- Subject changed from cephadm: Failure to authenticate an osd after initially removing caps to cephadm: Failure to re-authenticate an osd
JP Updated by Jaya Prakash 6 months ago
/a/jayaprakash-2026-05-27_10:33:30-rados-wip-jaya-bs-testing-26-05-2026-distro-default-trial/241013
RK Updated by Redouane Kachach Elhicou 6 months ago
@Laura Flores The PR you pointed out is meant to cleanup TLS material for services that require certificates and OSD is not one of them, so at first glance I'd say it shouldn't be related.
BS Updated by Bill Scales 6 months ago
/a/yuriw-2026-05-26_20:12:02-rados-wip-yuri10-testing-20260526.155424-main-distro-default-trial/238648
/a/yuriw-2026-05-26_20:12:02-rados-wip-yuri10-testing-20260526.155424-main-distro-default-trial/238758
/a/yuriw-2026-05-26_20:12:02-rados-wip-yuri10-testing-20260526.155424-main-distro-default-trial/238529
/a/yuriw-2026-05-26_23:16:45-rados-wip-yuri10-testing-20260526.155424-main-distro-default-trial/239094
/a/yuriw-2026-05-26_23:16:45-rados-wip-yuri10-testing-20260526.155424-main-distro-default-trial/239072
/a/yuriw-2026-05-26_23:16:45-rados-wip-yuri10-testing-20260526.155424-main-distro-default-trial/239083
Three failures and three failures during a rerun, all for suites/rados/cephadm/osds/2-ops/rmdir-reactivate
RK Updated by Redouane Kachach Elhicou 6 months ago
- Status changed from New to Fix Under Review
- Pull request ID set to 69247
AM Updated by Aishwarya Mathuria 6 months ago
/a/skanta-2026-06-02_04:58:02-rados-wip-bharath3-testing-2026-06-02-0837-distro-default-trial/253549
[253423]
JP Updated by Jaya Prakash 6 months ago
/a/jayaprakash-2026-06-03_09:44:39-rados-wip-jaya-bs-faster-alloc-recovery-distro-default-trial/258883
LF Updated by Laura Flores 6 months ago
/a/lflores-2026-06-05_19:26:14-rados-wip-lflores-testing-3-2026-06-05-1057-distro-default-trial/269251
UB Updated by Upkeep Bot 6 months ago
- Status changed from Fix Under Review to Resolved
- Merge Commit set to f2de87a95ae7a2bcd0e59ecae77dcf4c02bbfdc0
- Fixed In set to v21.3.0-60-gf2de87a95a
- Upkeep Timestamp set to 2026-06-12T10:52:58+00:00
SS Updated by Sridhar Seshasayee 6 months ago
Hit this on a QA run scheduled before this PR was merged:
/a/skanta-2026-06-04_15:14:33-rados-wip-bharath7-testing-2026-06-04-1630-distro-default-trial
2 Jobs: ['265489', '265623']
SS Updated by Sridhar Seshasayee 6 months ago
/a/skanta-2026-06-14_23:24:50-rados-wip-bharath11-testing-2026-06-12-0509-distro-default-trial/
2 Jobs: ['293711', '293723']
LF Updated by Laura Flores 5 months ago
- Status changed from Resolved to Pending Backport
- Backport set to umbrella
/a/yuriw-2026-06-23_14:11:44-rados-wip-yuri11-testing-20260622.225138-umbrella-distro-default-trial/310541
UB Updated by Upkeep Bot 5 months ago
- Copied to Backport #77722: umbrella: cephadm: Failure to re-authenticate an osd added
UB Updated by Upkeep Bot 5 months ago
- Tags (freeform) set to backport_processed
LF Updated by Laura Flores 5 months ago
/a/lflores-2026-06-25_15:37:19-rados-wip-lflores-testing-4-2026-06-24-1644-umbrella-distro-default-trial/317038
LF Updated by Laura Flores 5 months ago
/a/sseshasa-2026-05-26_18:29:48-rados-wip-sseshasa-testing-2026-05-26-1779803771-distro-default-trial/238346
SS Updated by Sridhar Seshasayee 5 months ago
/a/skanta-2026-06-30_08:55:20-rados-wip-bharath20-testing-2026-06-30-1029-umbrella-distro-default-trial/
2 Jobs: ['327486', '327357']
UB Updated by Upkeep Bot 3 months ago
- Status changed from Pending Backport to Backporting
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2026-06-12T10:52:58+00:00 to 2026-08-27T18:34:39+00:00