Project

General

Profile

Actions

Bug #8371

closed

osd not booting

Added by Samuel Just almost 10 years ago. Updated almost 10 years ago.

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

0%

Source:
other
Tags:
Backport:
firefly, dumpling
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I'm not entirely clear on how the monmap subscriptions work, but it
looks from the log as if

OSD::_maybe_boot with

osdmap->get_epoch() 0,
oldest 1, newset == 253 (_maybe_boot mon has osdmaps 1..253)

causes maybe_boot to fall through to the else branch at the end
osdmap_subscribe(oldest - 1, true);

osdmap_subscribe then observes osdmap->get_epoch() >= (oldest - 1) and
skips the subscription causing boot to hang.

The check in osdmap_subscribe was not present before
4584f60653bee0305e85418323d80332ceecd0cf.

Actions

Also available in: Atom PDF