Project

General

Profile

Actions

Bug #15025

closed

New added OSD always down when full flag is set

Added by Libin Wu about 8 years ago. Updated about 7 years ago.

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

0%

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

Description

When some osd in cluster is full, for example:
/dev/vdb1 15717356 15278696 438660 98% /var/lib/ceph/osd/ceph-0
/dev/vdc1 15717356 15276416 440940 98% /var/lib/ceph/osd/ceph-3

Then the flags of osdmap is set full:
osdmap e106: 5 osds: 2 up, 2 in
flags full

Now, use ceph-deploy prepare and active to add new osd to solve the problem, the osd service could up and running, but it's
state always down:
ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY
-1 0.04997 root default
-2 0.04997 host ceph01
0 0.00999 osd.0 up 1.00000 1.00000
1 0.00999 osd.1 down 0 1.00000
3 0.00999 osd.3 up 1.00000 1.00000
4 0.00999 osd.4 down 0 1.00000
2 0.00999 osd.2 down 0 1.00000

Above, osd.2 and osd.4 are the osds just added after osdmap full.

As far as my test, the problem existed both on 0.80.11 and 0.94.5


Related issues 2 (0 open2 closed)

Copied to Ceph - Backport #19484: jewel: New added OSD always down when full flag is setResolvedShinobu KinjoActions
Copied to Ceph - Backport #19485: kraken: New added OSD always down when full flag is setResolvedShinobu KinjoActions
Actions

Also available in: Atom PDF