Project

General

Profile

Actions

Bug #15213

closed

osd crush weights not correctly set for bluestore

Added by Sage Weil about 8 years ago. Updated almost 8 years ago.

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

0%

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

Description

The weight is set based on the data dir, which is tiny.

I think the best path is actually to move the weight setting and location update inside ceph-osd and out of the kludgey osd-prestart.sh script... I have a wip branch floating around somewhere that starts that process.


Related issues 1 (0 open1 closed)

Copied to Ceph - Backport #15985: jewel: osd crush weights not correctly set for bluestoreRejectedNathan CutlerActions
Actions #1

Updated by Sage Weil about 8 years ago

  • Status changed from 12 to Fix Under Review
Actions #2

Updated by Sage Weil almost 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions #3

Updated by alexandre derumier almost 8 years ago

Hi,

could it be possible to backport this to jewel ?

I have found a bug in current ceph-osd-prestart.sh,

"
ceph \
--cluster="${cluster:-ceph}" \
--name="osd.$id" \
--keyring="$data/keyring" \
osd crush create-or-move
"

is called without "timeout 30 ceph ....", like for old init script.

If monitors are not available, systemd make the osd startup as failure, because the previous command never finish.

If your patch cannot be backported to jewel, can we add the timeout to the script ?

Actions #4

Updated by Nathan Cutler almost 8 years ago

  • Backport set to jewel
Actions #5

Updated by Nathan Cutler almost 8 years ago

  • Status changed from Resolved to Pending Backport
Actions #6

Updated by Nathan Cutler almost 8 years ago

  • Copied to Backport #15985: jewel: osd crush weights not correctly set for bluestore added
Actions #7

Updated by Nathan Cutler almost 8 years ago

  • Status changed from Pending Backport to Resolved
  • Backport deleted (jewel)
Actions

Also available in: Atom PDF