Bug #15213
closedosd crush weights not correctly set for bluestore
0%
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.
Updated by Sage Weil about 8 years ago
- Status changed from 12 to Fix Under Review
Updated by Sage Weil almost 8 years ago
- Status changed from Fix Under Review to Resolved
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 ?
Updated by Nathan Cutler almost 8 years ago
- Status changed from Resolved to Pending Backport
Updated by Nathan Cutler almost 8 years ago
- Copied to Backport #15985: jewel: osd crush weights not correctly set for bluestore added
Updated by Nathan Cutler almost 8 years ago
- Status changed from Pending Backport to Resolved
- Backport deleted (
jewel)
Sage says not to backport this. See https://github.com/ceph/ceph/pull/8357#issuecomment-220963943