Project

General

Profile

Actions

Bug #59079

closed
LF AM

AssertionError: timeout expired in wait_for_all_osds_up

Bug #59079: AssertionError: timeout expired in wait_for_all_osds_up

Added by Laura Flores over 3 years ago. Updated 10 days ago.

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

0%

Source:
Backport:
umbrella,tentacle,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v22.0.0-472-g26796b20fa
Released In:
Upkeep Timestamp:
2026-11-05T15:04:18+00:00

Description

/a/yuriw-2023-03-10_22:37:27-rados-wip-yuri7-testing-2023-03-10-0830-distro-default-smithi/7202891

2023-03-12T00:15:09.202 INFO:teuthology.orchestra.run.smithi123.stdout:{"epoch":77,"fsid":"3efe9dd0-c068-11ed-9af2-001a4aab830c","created":"2023-03-11T23:56:33.830481+0000","modified":"2023-03-12T00:09:02.338360+0000","last_up_change":"2023-03-12T00:09:01.334668+0000","last_in_change":"2023-03-12T00:06:54.800512+0000","flags":"sortbitwise,recovery_deletes,purged_snapdirs,pglog_hardlimit","flags_num":5799936,"flags_set":["pglog_hardlimit","purged_snapdirs","recovery_deletes","sortbitwise"],"crush_version":18,"full_ratio":0.94999998807907104,"backfillfull_ratio":0.89999997615814209,"nearfull_ratio":0.85000002384185791,"cluster_snapshot":"","pool_max":6,"max_osd":8,"require_min_compat_client":"luminous","min_compat_client":"luminous","require_osd_release":"reef","allow_crimson":false,"pools":[{"pool":1,"pool_name":".mgr","create_time":"2023-03-12T00:02:37.726374+0000","flags":1,"flags_names":"hashpspool","type":1,"size":3,"min_size":2,"crush_rule":0,"peering_crush_bucket_count":0,"peering_crush_bucket_target":0,"peering_crush_bucket_barrier":0,"peering_crush_bucket_mandatory_member":2147483647,"object_hash":2,"pg_autoscale_mode":"off","pg_num":1,"pg_placement_num":1,"pg_placement_num_target":1,"pg_num_target":1,"pg_num_pending":1,"last_pg_merge_meta":{"source_pgid":"0.0","ready_epoch":0,"last_epoch_started":0,"last_epoch_clean":0,"source_version":"0'0","target_version":"0'0"},"last_change":"22","last_force_op_resend":"0","last_force_op_resend_prenautilus":"0","last_force_op_resend_preluminous":"0","auid":0,"snap_mode":"selfmanaged","snap_seq":0,"snap_epoch":0,"pool_snaps":[],"removed_snaps":"[]","quota_max_bytes":0,"quota_max_objects":0,"tiers":[],"tier_of":-1,"read_tier":-1,"write_tier":-1,"cache_mode":"none","target_max_bytes":0,"target_max_objects":0,"cache_target_dirty_ratio_micro":400000,"cache_target_dirty_high_ratio_micro":600000,"cache_target_full_ratio_micro":800000,"cache_min_flush_age":0,"cache_min_evict_age":0,"erasure_code_profile":"","hit_set_params":{"type":"none"},"hit_set_period":0,"hit_set_count":0,"use_gmt_hitset":true,"min_read_recency_for_promote":0,"min_write_recency_for_promote":0,"hit_set_grade_decay_rate":0,"hit_set_search_last_n":0,"grade_table":[],"stripe_width":0,"expected_num_objects":0,"fast_read":false,"options":{"pg_num_max":32,"pg_num_min":1},"application_metadata":{"mgr":{}},"read_balance":{"score_acting":7.8899998664855957,"score_stable":7.8899998664855957,"optimal_score":0.37999999523162842,"raw_score_acting":3,"raw_score_stable":3,"primary_affinity_weighted":1,"average_primary_affinity":1,"average_primary_affinity_weighted":1}},{"pool":2,"pool_name":".rgw.root","create_time":"2023-03-12T00:08:07.987463+0000","flags":1,"flags_names":"hashpspool","type":1,"size":3,"min_size":2,"crush_rule":0,"peering_crush_bucket_count":0,"peering_crush_bucket_target":0,"peering_crush_bucket_barrier":0,"peering_crush_bucket_mandatory_member":2147483647,"object_hash":2,"pg_autoscale_mode":"off","pg_num":32,"pg_placement_num":32,"pg_placement_num_target":32,"pg_num_target":32,"pg_num_pending":32,"last_pg_merge_meta":{"source_pgid":"0.0","ready_epoch":0,"last_epoch_started":0,"last_epoch_clean":0,"source_version":"0'0","target_version":"0'0"},"last_change":"62","last_force_op_resend":"0","last_force_op_resend_prenautilus":"0","last_force_op_resend_preluminous":"0","auid":0,"snap_mode":"selfmanaged","snap_seq":0,"snap_epoch":0,"pool_snaps":[],"removed_snaps":"[]","quota_max_bytes":0,"quota_max_objects":0,"tiers":[],"tier_of":-1,"read_tier":-1,"write_tier":-1,"cache_mode":"none","target_max_bytes":0,"target_max_objects":0,"cache_target_dirty_ratio_micro":400000,"cache_target_dirty_high_ratio_micro":600000,"cache_target_full_ratio_micro":800000,"cache_min_flush_age":0,"cache_min_evict_age":0,"erasure_code_profile":"","hit_set_params":{"type":"none"},"hit_set_period":0,"hit_set_count":0,"use_gmt_hitset":true,"min_read_recency_for_promote":0,"min_write_recency_for_promote":0,"hit_set_grade_decay_rate":0,"hit_set_search_last_n":0,"grade_table":[],"stripe_width":0,"expected_num_objects":0,"fast_read":false,"options":{},"application_metadata":{"rgw":{}},"read_balance":{"score_acting":1.7400000095367432,"score_stable":1.7400000095367432,"optimal_score":0.87999999523162842,"raw_score_acting":1.5299999713897705,"raw_score_stable":1.5299999713897705,"primary_affinity_weighted":1,"average_primary_affinity":1,"average_primary_affinity_weighted":1}},{"pool":3,"pool_name":"default.rgw.log","create_time":"2023-03-12T00:08:09.952408+0000","flags":1,"flags_names":"hashpspool","type":1,"size":3,"min_size":2,"crush_rule":0,"peering_crush_bucket_count":0,"peering_crush_bucket_target":0,"peering_crush_bucket_barrier":0,"peering_crush_bucket_mandatory_member":2147483647,"object_hash":2,"pg_autoscale_mode":"off","pg_num":32,"pg_placement_num":32,"pg_placement_num_target":32,"pg_num_target":32,"pg_num_pending":32,"last_pg_merge_meta":{"source_pgid":"0.0","ready_epoch":0,"last_epoch_started":0,"last_epoch_clean":0,"source_version":"0'0","target_version":"0'0"},"last_change":"64","last_force_op_resend":"0","last_force_op_resend_prenautilus":"0","last_force_op_resend_preluminous":"0","auid":0,"snap_mode":"selfmanaged","snap_seq":0,"snap_epoch":0,"pool_snaps":[],"removed_snaps":"[]","quota_max_bytes":0,"quota_max_objects":0,"tiers":[],"tier_of":-1,"read_tier":-1,"write_tier":-1,"cache_mode":"none","target_max_bytes":0,"target_max_objects":0,"cache_target_dirty_ratio_micro":400000,"cache_target_dirty_high_ratio_micro":600000,"cache_target_full_ratio_micro":800000,"cache_min_flush_age":0,"cache_min_evict_age":0,"erasure_code_profile":"","hit_set_params":{"type":"none"},"hit_set_period":0,"hit_set_count":0,"use_gmt_hitset":true,"min_read_recency_for_promote":0,"min_write_recency_for_promote":0,"hit_set_grade_decay_rate":0,"hit_set_search_last_n":0,"grade_table":[],"stripe_width":0,"expected_num_objects":0,"fast_read":false,"options":{},"application_metadata":{"rgw":{}},"read_balance":{"score_acting":1.9900000095367432,"score_stable":1.9900000095367432,"optimal_score":0.87999999523162842,"raw_score_acting":1.75,"raw_score_stable":1.75,"primary_affinity_weighted":1,"average_primary_affinity":1,"average_primary_affinity_weighted":1}},{"pool":4,"pool_name":"default.rgw.control","create_time":"2023-03-12T00:08:11.933928+0000","flags":1,"flags_names":"hashpspool","type":1,"size":3,"min_size":2,"crush_rule":0,"peering_crush_bucket_count":0,"peering_crush_bucket_target":0,"peering_crush_bucket_barrier":0,"peering_crush_bucket_mandatory_member":2147483647,"object_hash":2,"pg_autoscale_mode":"off","pg_num":32,"pg_placement_num":32,"pg_placement_num_target":32,"pg_num_target":32,"pg_num_pending":32,"last_pg_merge_meta":{"source_pgid":"0.0","ready_epoch":0,"last_epoch_started":0,"last_epoch_clean":0,"source_version":"0'0","target_version":"0'0"},"last_change":"66","last_force_op_resend":"0","last_force_op_resend_prenautilus":"0","last_force_op_resend_preluminous":"0","auid":0,"snap_mode":"selfmanaged","snap_seq":0,"snap_epoch":0,"pool_snaps":[],"removed_snaps":"[]","quota_max_bytes":0,"quota_max_objects":0,"tiers":[],"tier_of":-1,"read_tier":-1,"write_tier":-1,"cache_mode":"none","target_max_bytes":0,"target_max_objects":0,"cache_target_dirty_ratio_micro":400000,"cache_target_dirty_high_ratio_micro":600000,"cache_target_full_ratio_micro":800000,"cache_m

...

2023-03-12T00:15:09.945 INFO:tasks.cephadm:Teardown begin
2023-03-12T00:15:09.946 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_teuthology_5c9057f4b1ecae7b7410e418e40b739ff0616d25/teuthology/contextutil.py", line 33, in nested
    yield vars
  File "/home/teuthworker/src/github.com_ceph_ceph-c_a91305c2e74d81365b5b2f25cf81c186aace0869/qa/tasks/cephadm.py", line 1668, in task
    healthy(ctx=ctx, config=config)
  File "/home/teuthworker/src/github.com_ceph_ceph-c_a91305c2e74d81365b5b2f25cf81c186aace0869/qa/tasks/ceph.py", line 1484, in healthy
    manager.wait_for_all_osds_up(timeout=300)
  File "/home/teuthworker/src/github.com_ceph_ceph-c_a91305c2e74d81365b5b2f25cf81c186aace0869/qa/tasks/ceph_manager.py", line 2772, in wait_for_all_osds_up
    assert time.time() - start < timeout, \
AssertionError: timeout expired in wait_for_all_osds_up


Related issues 3 (3 open — 0 closed)

Copied to RADOS - Backport #82733: umbrella: AssertionError: timeout expired in wait_for_all_osds_upFix Under ReviewKamoltat (Junior) Sirivadhna

Actions
Copied to RADOS - Backport #82734: squid: AssertionError: timeout expired in wait_for_all_osds_upIn ProgressKamoltat (Junior) Sirivadhna

Actions
Copied to RADOS - Backport #82735: tentacle: AssertionError: timeout expired in wait_for_all_osds_upIn ProgressKamoltat (Junior) Sirivadhna

Actions

RZ Updated by Radoslaw Zarzynski over 3 years ago Actions #1

  • Assignee set to Sridhar Seshasayee
  • Backport set to reef, quincy

AM Updated by Aishwarya Mathuria over 2 years ago Actions #2

/a/yuriw-2024-06-26_14:19:02-rados-wip-yuri13-testing-2024-06-25-1409-squid-distro-default-smithi/7773480/

LF Updated by Laura Flores over 2 years ago Actions #3

Note from bug scrub: Let's observe.

KS Updated by Konstantin Shalygin almost 2 years ago Actions #4

  • Backport changed from reef, quincy to reef

KS Updated by Konstantin Shalygin 8 months ago Actions #5

  • Backport deleted (reef)

NM Updated by Nitzan Mordechai 5 months ago Actions #6

/a/skanta-2026-07-01_13:33:05-rados-wip-bharath1-testing-2026-07-01-0424-distro-default-trial/
['331681']

LF Updated by Laura Flores 5 months ago Actions #7

Nitzan Mordechai wrote in #note-6:

331681

Let's monitor for now and file a new ticket if more instances, because this seems like a new issue due to the timeline.

KS Updated by Kamoltat (Junior) Sirivadhna 4 months ago Actions #8

/a/yuriw-2026-07-29_20:32:50-rados-wip-yuri9-testing-20260729.135117-umbrella-distro-default-trial/409949

JB Updated by Jonathan Bailey 4 months ago Actions #9

/a/skanta-2026-07-29_01:45:42-rados-wip-bharath23-testing-2026-07-28-1848-distro-default-trial/407461

LF Updated by Laura Flores 4 months ago · Edited Actions #10

Laura Flores wrote in #note-7:

Nitzan Mordechai wrote in #note-6:

331681

Let's monitor for now and file a new ticket if more instances, because this seems like a new issue due to the timeline.

Since the old ticket was never diagnosed or solved, I supposed we can use this ticket. But let's note that #note-6 might be a new regression due to the timeline.

RZ Updated by Radoslaw Zarzynski 4 months ago · Edited Actions #11

  sockeni01.front.sepia.ceph.com  rzarzynski  /  a  skanta-2026-07-01_13:33:05-rados-wip-bharath1-testing-2026-07-01-0424-distro-default-trial  331681  less teuthology.log 
...
2026-07-01T13:59:13.004 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_teuthology_113475a7f15ec664dc6579dc7443a335a2cbc74c/teuthology/run_tasks.py", line 105, in run_tasks
    manager = run_one_task(taskname, ctx=ctx, config=config)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/teuthworker/src/git.ceph.com_teuthology_113475a7f15ec664dc6579dc7443a335a2cbc74c/teuthology/run_tasks.py", line 83, in run_one_task
    return task(**kwargs)
           ^^^^^^^^^^^^^^
  File "/home/teuthworker/src/github.com_ceph_ceph-ci_1829306e07f7ad2d5bb109d38c27f23985ae791e/qa/tasks/ceph.py", line 1553, in healthy
    manager.wait_for_all_osds_up(timeout=300)
  File "/home/teuthworker/src/github.com_ceph_ceph-ci_1829306e07f7ad2d5bb109d38c27f23985ae791e/qa/tasks/ceph_manager.py", line 2980, in wait_for_all_osds_up
    assert time.time() - start < timeout, \
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: timeout expired in wait_for_all_osds_up

KS Updated by Kamoltat (Junior) Sirivadhna 4 months ago · Edited Actions #12

Most of the failure are from:

description: rados/singleton/{all/recovery-preemption

There was a commit recently made to this test that's worth investigating: https://github.com/ceph/ceph/commit/8b9dbb50d08c6e4f2ca5a444ffcbabc658ec8090

JB Updated by Jonathan Bailey 4 months ago Actions #13

/a/skanta-2026-07-26_00:40:46-rados-wip-bharath7-testing-20260724.101654-main-distro-default-trial/400500

SS Updated by Sridhar Seshasayee 4 months ago Actions #14

/a/yuriw-2026-07-28_17:11:12-rados-wip-yuri3-testing-20260728.135610-main-distro-default-trial/406431

NM Updated by Nitzan Mordechai 4 months ago Actions #15

/a/skanta-2026-08-10_11:36:04-rados-wip-bharath1-testing-20260810.014116-main-distro-default-trial/452038

LF Updated by Laura Flores 4 months ago · Edited Actions #16

Nitzan Mordechai wrote in #note-15:

/a/skanta-2026-08-10_11:36:04-rados-wip-bharath1-testing-20260810.014116-main-distro-default-trial/452038

Coming from recovery-preemption again.

Description: rados/singleton/{all/recovery-preemption mon_election/connectivity msgr-failures/none msgr/async objectstore/{bluestore/{alloc$/{btree} base mem$/{normal-2} onode-segment$/{512K} write$/{v1/{compr$/{yes$/{zlib}} v1}}}} rados supported-random-distro/{ubuntu_22.04}}

RZ Updated by Radoslaw Zarzynski 4 months ago Actions #17

  • Assignee changed from Sridhar Seshasayee to Aishwarya Mathuria

Hi @Aishwarya Mathuria, could you please take a look why those OSDs haven't came up?

AM Updated by Aishwarya Mathuria 4 months ago Actions #18

@Radoslaw Zarzynski sure will take a look

AM Updated by Aishwarya Mathuria 4 months ago Actions #19

/a/yuriw-2026-08-08_15:59:01-rados-umbrella-release-distro-default-trial/446972

LF Updated by Laura Flores 4 months ago Actions #20

/a/yuriw-2026-08-08_14:04:25-rados-wip-yuri3-testing-20260808.022747-main-distro-default-trial/446769

LF Updated by Laura Flores 4 months ago Actions #21

/a/pdonnell-2026-08-15_01:21:59-rados-wip-pdonnell-testing-20260814.230134-distro-default-trial/475177

LF Updated by Laura Flores 4 months ago Actions #22

Bump up

JP Updated by Jaya Prakash 4 months ago Actions #23

/a/jayaprakash-2026-08-13_15:17:09-rados-wip-jaya-bs-testing-13-08-2026-distro-default-trial/466062

LF Updated by Laura Flores 3 months ago Actions #24

/a/skanta-2026-08-04_02:37:56-rados-wip-bharath4-testing-2026-08-04-0439-distro-default-trial/426519

NM Updated by Nitzan Mordechai 3 months ago Actions #25

/a/skanta-2026-08-24_07:43:11-rados-wip-bharath7-testing-20260824.042435-main-distro-default-trial/509055

LF Updated by Laura Flores 3 months ago Actions #26

Bump up

LF Updated by Laura Flores 3 months ago Actions #27

/a/pdonnell-2026-08-26_21:44:10-rados-wip-pdonnell-testing-20260826.182613-umbrella-distro-default-trial/517332

AM Updated by Aishwarya Mathuria 3 months ago Actions #28

/a/yuriw-2026-08-24_23:11:13-rados-wip-yuri2-testing-20260824.212845-main-distro-default-trial/510405

LF Updated by Laura Flores 3 months ago Actions #29

Bump up

NM Updated by Nitzan Mordechai 3 months ago Actions #30

/a/yuriw-2026-09-01_15:07:31-rados-wip-yuri2-testing-20260901.132824-main-distro-default-trial/528374

JB Updated by Jonathan Bailey 3 months ago Actions #31

/a/skanta-2026-08-25_00:08:14-rados-wip-bharath11-testing-20260824.222329-main-distro-default-trial/510635

LF Updated by Laura Flores 3 months ago Actions #32

/a/skanta-2026-07-28_02:50:14-rados-wip-bharath2-testing-20260727.155959-main-distro-default-trial/402476

NM Updated by Nitzan Mordechai 3 months ago Actions #33

/a/skanta-2026-09-06_23:02:16-rados-wip-bharath14-testing-20260906.123257-main-distro-default-trial/541452

AM Updated by Aishwarya Mathuria 3 months ago Actions #34

/a/skanta-2026-09-03_10:37:47-rados-wip-bharath10-testing-20260903.050751-main-distro-default-trial/534704

SS Updated by Sridhar Seshasayee 3 months ago Actions #36

/a/skanta-2026-09-07_08:16:29-rados-wip-bharath12-testing-20260907.061609-main-distro-default-trial/541952

NM Updated by Nitzan Mordechai 3 months ago Actions #37

/a/skanta-2026-09-12_14:24:38-rados-wip-bharath12-testing-20260911.231931-main-distro-default-trial/553847

LF Updated by Laura Flores 3 months ago Actions #38

Bump up

KS Updated by Kamoltat (Junior) Sirivadhna 3 months ago Actions #39

rados scrub: bump up

NM Updated by Nitzan Mordechai 3 months ago Actions #40

/a/skanta-2026-08-25_11:49:18-rados-wip-bharath3-testing-20260824.233415-main-distro-default-trial/513102

MW Updated by Matty Williams 3 months ago Actions #41

/a/skanta-2026-09-16_04:01:33-rados-wip-bharath19-testing-20260915.234926-main-distro-default-trial/558462

JB Updated by Jonathan Bailey 3 months ago Actions #42

/a/skanta-2026-09-06_15:27:24-rados-wip-bharath4-testing-20260906.123456-main-distro-default-trial/541236

AM Updated by Aishwarya Mathuria 2 months ago Actions #43

Watcher note, seen in nightly run - /a/jenkins-build-2026-09-17_06:05:09-rados-main-distro-default-trial/563231

SS Updated by Sridhar Seshasayee 2 months ago Actions #44

/a/skanta-2026-09-09_16:03:40-rados-wip-bharath14-testing-20260909.090422-main-distro-default-trial/546188

NM Updated by Nitzan Mordechai 2 months ago Actions #45

/a/skanta-2026-09-19_16:29:13-rados-wip-bharath17-testing-20260919.063401-main-distro-default-trial/569747

CF Updated by Connor Fawcett 2 months ago Actions #46

/a/skanta-2026-09-11_21:46:15-rados-wip-bharath10-testing-20260910.230227-main-distro-default-trial/552828

AM Updated by Aishwarya Mathuria 2 months ago Actions #47

Watcher note: happened 18 times this week
Will take a look this week.

LF Updated by Laura Flores 2 months ago Actions #48

  • Status changed from New to In Progress

NM Updated by Nitzan Mordechai 2 months ago Actions #49

/a/skanta-2026-09-18_02:38:43-rados-wip-bharath24-testing-20260918.001059-main-distro-default-trial/566017

CF Updated by Connor Fawcett 2 months ago Actions #50

/a/skanta-2026-09-20_02:51:43-rados-wip-bharath22-testing-20260920.002814-main-distro-default-trial/570215

AM Updated by Aishwarya Mathuria 2 months ago Actions #51

During test runs with preemption or daemon restarts (wait-for-up: false), issuing admin socket config changes (e.g., ceph daemon osd.1 config set ...) immediately following a daemon restart causes the admin socket to time out (admin_socket: exception: timed out).
This occurs because OSD::init() holds osd_lock while executing BlueStore::mount(). When ceph daemon issues a command that routes through OSD::handle_conf_change(), the thread blocks waiting for osd_lock, exceeding the socket timeout threshold before the startup sequence completes.

The common log between all the OSDs (osd.1) that failed to come up:

2026-09-11T23:01:21.057+0000 7f9f3ff53940  1 freelist init
2026-09-11T23:01:21.057+0000 7f9f3ff53940  1 freelist _read_cfg
2026-09-11T23:01:21.057+0000 7f9f3ff53940 10 freelist _sync checks if size sync is needed
2026-09-11T23:01:21.057+0000 7f9f3ff53940 10 freelist init size 0x1680000000 bytes_per_block 0x1000 blocks 0x1680000 blocks_per_key 0x80
2026-09-11T23:01:21.057+0000 7f9f3ff53940 10 freelist _init_misc bytes_per_key 0x80000, key_mask 0xfffffffffff80000
2026-09-11T23:01:21.057+0000 7f9f3ff53940  1 bluestore(/var/lib/ceph/osd/ceph-1) _open_fm effective freelist_type = null, freelist_alloc_size = 0x1000, min_alloc_size = 0x1000
2026-09-11T23:01:21.057+0000 7f9f3ff53940 10 fbmap_alloc 0x5638af73fb80 BitmapAllocator 0x1680000000/1000
2026-09-11T23:01:21.057+0000 7f9f3ff53940 10 bluefs open_for_read ALLOCATOR_NCB_DIR/ALLOCATOR_NCB_FILE (sequential)
2026-09-11T23:01:21.057+0000 7f9f3ff53940 10 bluefs open_for_read h 0x5638af1dde80 on file(ino 27 size 0x0 mtime 2026-09-11T22:59:58.736698+0000 allocated 0 alloc_commit 0 extents [])
2026-09-11T23:01:21.057+0000 7f9f3ff53940  5 bluestore::NCB::__restore_allocator::file_size=0,sizeof(extent_t)=16
2026-09-11T23:01:21.057+0000 7f9f3ff53940  1 bluestore::NCB::__restore_allocator::No Valid allocation info on disk (empty file)
2026-09-11T23:01:21.057+0000 7f9f3ff53940  1 fbmap_alloc 0x5638af73fb80 shutdown

The reason this is always osd.1 is because based on recovery-preemption.yaml we set noup flag and restart osd.1 and then immediately run the config set commands:

- exec:
osd.0:
- rados -p foo bench 30 write -b 4096 --no-cleanup
- ceph osd out 0
- sleep 5
- ceph osd set noup
- ceph.restart:
daemons: [osd.1]
wait-for-up: false
wait-for-healthy: false
- exec:
osd.0:
- rados -p foo bench 3 write -b 4096 --no-cleanup
- ceph osd unset noup
- sleep 10
- for f in 0 1 2 3 ; do sudo ceph daemon osd.$f config set osd_recovery_sleep 0 ; sudo ceph daemon osd.$f config set osd_recovery_max_active 20 ; done

osd.0, osd.2, and osd.3 process the socket command successfully, but osd.1 fails with an admin socket timeout:

2026-09-11T23:01:03.941 DEBUG:teuthology.orchestra.run.trial181:> sudo TESTDIR=/home/ubuntu/cephtest bash -c 'ceph osd unset noup'
2026-09-11T23:01:04.534 INFO:teuthology.orchestra.run.trial181.stderr:noup is unset
2026-09-11T23:01:04.550 DEBUG:teuthology.orchestra.run.trial181:> sudo TESTDIR=/home/ubuntu/cephtest bash -c 'sleep 10'
2026-09-11T23:01:14.581 DEBUG:teuthology.orchestra.run.trial181:> sudo TESTDIR=/home/ubuntu/cephtest bash -c 'for f in 0 1 2 3 ; do sudo ceph daemon osd.$f config set osd_recovery_sleep 0 ; sudo ceph daemon osd.$f config set osd_recovery_max_active 20 ; done'
2026-09-11T23:01:14.680 INFO:teuthology.orchestra.run.trial181.stdout:{
2026-09-11T23:01:14.681 INFO:teuthology.orchestra.run.trial181.stdout:    "success": "osd_recovery_sleep = '' " 
2026-09-11T23:01:14.681 INFO:teuthology.orchestra.run.trial181.stdout:}
2026-09-11T23:01:14.760 INFO:teuthology.orchestra.run.trial181.stdout:{
2026-09-11T23:01:14.760 INFO:teuthology.orchestra.run.trial181.stdout:    "success": "osd_recovery_max_active = '' " 
2026-09-11T23:01:14.760 INFO:teuthology.orchestra.run.trial181.stdout:}
2026-09-11T23:01:24.848 INFO:teuthology.orchestra.run.trial181.stderr:admin_socket: exception: exception: timed out
2026-09-11T23:01:34.927 INFO:teuthology.orchestra.run.trial181.stderr:admin_socket: exception getting command descriptions: exception: timed out
2026-09-11T23:01:35.008 INFO:teuthology.orchestra.run.trial181.stdout:{
2026-09-11T23:01:35.008 INFO:teuthology.orchestra.run.trial181.stdout:    "success": "osd_recovery_sleep = '' " 
2026-09-11T23:01:35.008 INFO:teuthology.orchestra.run.trial181.stdout:}
2026-09-11T23:01:35.092 INFO:teuthology.orchestra.run.trial181.stdout:{
2026-09-11T23:01:35.092 INFO:teuthology.orchestra.run.trial181.stdout:    "success": "osd_recovery_max_active = '' " 
2026-09-11T23:01:35.092 INFO:teuthology.orchestra.run.trial181.stdout:}
2026-09-11T23:01:35.172 INFO:teuthology.orchestra.run.trial181.stdout:{
2026-09-11T23:01:35.172 INFO:teuthology.orchestra.run.trial181.stdout:    "success": "osd_delete_sleep = '' osd_delete_sleep_hdd = '' osd_delete_sleep_hybrid = '' osd_delete_sleep_ssd = '' osd_max_backfills = '' osd_recovery_max_active = '' osd_recovery_max_active_hdd = '' osd_recovery_max_active_ssd = '' osd_recovery_sleep = '' osd_recovery_sleep_degraded = '' osd_recovery_sleep_degraded_hdd = '' osd_recovery_sleep_degraded_hybrid = '' osd_recovery_sleep_degraded_ssd = '' osd_recovery_sleep_hdd = '' osd_recovery_sleep_hybrid = '' osd_recovery_sleep_ssd = '' osd_scrub_sleep = '' osd_snap_trim_sleep = '' osd_snap_trim_sleep_hdd = '' osd_snap_trim_sleep_hybrid = '' osd_snap_trim_sleep_ssd = '' " 
2026-09-11T23:01:35.173 INFO:teuthology.orchestra.run.trial181.stdout:}
2026-09-11T23:01:35.253 INFO:teuthology.orchestra.run.trial181.stdout:{
2026-09-11T23:01:35.253 INFO:teuthology.orchestra.run.trial181.stdout:    "success": "osd_recovery_max_active = '' " 
2026-09-11T23:01:35.254 INFO:teuthology.orchestra.run.trial181.stdout:}
2026-09-11T23:01:35.264 INFO:teuthology.run_tasks:Running task ceph.healthy...
2026-09-11T23:01:35.274 INFO:tasks.ceph:Waiting until ceph daemons up and pgs clean...
2026-09-11T23:01:35.275 INFO:tasks.ceph.ceph_manager.ceph:waiting for mgr available
2026-09-11T23:01:35.275 DEBUG:teuthology.orchestra.run.trial181:> sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph mgr dump --format=json
2026-09-11T23:01:35.499 INFO:teuthology.orchestra.run.trial181.stdout:

Simultaneously, osd.1 logs show it is in BlueStore::mount() / NCB allocator initialization:

2026-09-11T23:01:21.057+0000 7f9f3ff53940  1 bluestore(/var/lib/ceph/osd/ceph-1) _open_fm effective freelist_type = null, freelist_alloc_size = 0x1000, min_alloc_size = 0x1000
2026-09-11T23:01:21.057+0000 7f9f3ff53940 10 bluefs open_for_read h 0x5638af1dde80 on file(ino 27 size 0x0 mtime ... alloc_commit 0 extents [])
2026-09-11T23:01:21.057+0000 7f9f3ff53940  5 bluestore::NCB::__restore_allocator::file_size=0,sizeof(extent_t)=16
2026-09-11T23:01:21.057+0000 7f9f3ff53940  1 bluestore::NCB::__restore_allocator::No Valid allocation info on disk (empty file)
2026-09-11T23:01:21.057+0000 7f9f3ff53940  1 fbmap_alloc 0x5638af73fb80 shutdown

I think we face a lock contention here:

OSD::handle_conf_change acquires osd_lock

void OSD::handle_conf_change(const ConfigProxy& conf,
const std::set <std::string> &changed)
{
std::lock_guard l{osd_lock};

And while osd.1 initializes, OSD::init() retains osd_lock while executing tasks inside BlueStore::mount() (including restore_allocator()).

NM Updated by Nitzan Mordechai 2 months ago Actions #52

/a/skanta-2026-09-25_03:59:04-rados-wip-bharath29-testing-20260924.231744-main-distro-default-trial/581669

LS Updated by Lee Sanders 2 months ago Actions #53

/a/skanta-2026-09-24_04:14:51-rados-wip-bharath20-testing-20260924.011348-main-distro-default-trial/577737

RZ Updated by Radoslaw Zarzynski 2 months ago Actions #54

amathuri: the RCA makes sense. I guess @BlueStore::mount() was taking so long because its previous shutdown wasn't clean. And that a case we can't speed-up.
Perhaps the simplest approach would to increase the timeout.

LF Updated by Laura Flores about 2 months ago Actions #55

Bump pu

JP Updated by Jaya Prakash about 2 months ago Actions #56

/a/skanta-2026-09-30_14:52:16-rados-wip-bharath17-testing-20260930.123254-main-distro-default-trial/596259

MW Updated by Matty Williams about 2 months ago Actions #57

/a/skanta-2026-09-30_04:36:41-rados-wip-bharath14-testing-20260930.003013-main-distro-default-trial/593682

LF Updated by Laura Flores about 2 months ago Actions #58

Bump up

CF Updated by Connor Fawcett about 2 months ago Actions #59

/a/skanta-2026-09-30_21:49:09-rados-wip-bharath8-testing-20260930.133801-main-distro-default-trial/597461

JP Updated by Jaya Prakash about 1 month ago Actions #61

/a/skanta-2026-10-14_22:57:43-rados-wip-bharath15-testing-20261014.082226-main-distro-default-trial/639026

AL Updated by Adam Lyon-Jones about 1 month ago Actions #62

/a/skanta-2026-10-12_23:32:34-rados-wip-bharath20-testing-20261012.132505-main-distro-default-trial
1 jobs: ['631182']

LS Updated by Lee Sanders about 1 month ago Actions #63

/a/skanta-2026-10-17_23:23:20-rados-wip-bharath4-testing-20261016.224944-main-distro-default-trial/650721

LF Updated by Laura Flores about 1 month ago Actions #64

/a/jenkins-build-2026-10-20_06:05:39-rados-main-distro-default-trial/660512

RADOS watcher: Will check with Aishwarya.

KS Updated by Kamoltat (Junior) Sirivadhna about 1 month ago Actions #65

still checking with Aishwarya

NM Updated by Nitzan Mordechai about 1 month ago Actions #66

/a/skanta-2026-10-27_14:46:17-rados-wip-bharath10-testing-20261027.070130-main-distro-default-trial/683402

MW Updated by Matty Williams about 1 month ago · Edited Actions #67

/a/skanta-2026-10-28_03:11:19-rados-wip-bharath14-testing-20261027.071324-main-distro-default-trial/684892

JP Updated by Jaya Prakash 29 days ago Actions #68

/a/skanta-2026-10-28_01:57:03-rados-wip-bharath7-testing-20261027.080203-main-distro-default-trial/684233

KS Updated by Kamoltat (Junior) Sirivadhna 29 days ago Actions #69

/a/skanta-2026-10-12_16:15:49-rados-wip-bharath5-testing-20261012.095720-main-distro-default-trial/628651/

KS Updated by Kamoltat (Junior) Sirivadhna 29 days ago Actions #70

Working on an interim fix based on aishwarya's comment

KS Updated by Kamoltat (Junior) Sirivadhna 29 days ago Actions #71

  • Pull request ID set to 73499

KS Updated by Kamoltat (Junior) Sirivadhna 29 days ago Actions #72

@amathuria I have added a PR based on your initial investigation

CF Updated by Connor Fawcett 29 days ago Actions #73

RADOS watcher: Showed up on latest jenkins run

/a/jenkins-build-2026-10-31_06:05:10-rados-main-distro-default-trial/698001

KS Updated by Kamoltat (Junior) Sirivadhna 28 days ago Actions #74

  • Backport set to umbrella,tentacle,squid

KS Updated by Kamoltat (Junior) Sirivadhna 28 days ago Actions #75

  • Status changed from In Progress to Pending Backport

UB Updated by Upkeep Bot 28 days ago Actions #76

  • Copied to Backport #82733: umbrella: AssertionError: timeout expired in wait_for_all_osds_up added

UB Updated by Upkeep Bot 28 days ago Actions #77

  • Copied to Backport #82734: squid: AssertionError: timeout expired in wait_for_all_osds_up added

UB Updated by Upkeep Bot 28 days ago Actions #78

  • Copied to Backport #82735: tentacle: AssertionError: timeout expired in wait_for_all_osds_up added

KS Updated by Kamoltat (Junior) Sirivadhna 28 days ago Actions #79

PR is merged, moving to pending_backport, waiting for the bot to file the backport tickets.

UB Updated by Upkeep Bot 28 days ago Actions #80

  • Status changed from Pending Backport to Backporting
  • Merge Commit set to 26796b20faeefefaea0605aa2f65269e0c7e8490
  • Fixed In set to v22.0.0-472-g26796b20fa
  • Upkeep Timestamp set to 2026-11-05T15:04:18+00:00

LF Updated by Laura Flores 28 days ago Actions #81

/a/yuriw-2026-10-26_21:56:27-rados-wip-yuri10-testing-20261026.172809-main-distro-default-trial/678092

(From before the fix was merged)

AL Updated by Adam Lyon-Jones 24 days ago Actions #82

/a/skanta-2026-10-28_02:23:40-rados-wip-bharath1-testing-20261027.065658-main-distro-default-trial/684562
(predates the merge)

LF Updated by Laura Flores 24 days ago Actions #83

CF Updated by Connor Fawcett 23 days ago Actions #84

/a/skanta-2026-11-03_06:27:24-rados-wip-bharath11-testing-20261028.083425-main-distro-default-trial/707147

JP Updated by Jaya Prakash 22 days ago Actions #85

/a/pdonnell-2026-11-04_14:03:40-rados-main-distro-default-trial/713260
Note : The fix was not in the branch

LS Updated by Lee Sanders 22 days ago Actions #86

/a/yuriw-2026-10-30_15:01:41-rados-wip-yuri16-testing-20261026.172747-main-distro-default-trial/695225

CF Updated by Connor Fawcett 22 days ago Actions #87

/a/skanta-2026-11-02_04:43:35-rados-wip-bharath18-testing-20261029.065635-main-distro-default-trial/702043

LF Updated by Laura Flores 10 days ago Actions #88

/a/skanta-2026-11-04_05:01:14-rados-wip-bharath30-testing-20261103.033156-main-distro-default-trial/709907

Actions

Also available in: PDF Atom