Project

General

Profile

Actions

Bug #4951

closed

Ceph init script makes assumptions about osd data location

Added by Dan Reif almost 11 years ago. Updated almost 11 years ago.

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

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Marked major, as this will result in bad weighting in CRUSH maps, which could have odd carry-on effects.

In 0.61, the init script for ceph uses a hardcoded assumption about the location of OSD data. This causes the default weight of 1 to be used, and the following error to be printed (for, e.g., osd.1):

df: `/var/lib/ceph/osd/ceph-1/': No such file or directory
df: no file systems processed

The attached patch corrects the issue by properly sourcing the needed variable ("osd data") from the configuration.


Files

ceph-init.patch (732 Bytes) ceph-init.patch Dan Reif, 05/08/2013 01:13 PM
Actions #1

Updated by Sage Weil almost 11 years ago

  • Status changed from New to Resolved

thanks for the report! committed to next, backported to cuttlefish
f2a54cc9c98a9f31aef049c74ea932b2d9000d3c

Actions

Also available in: Atom PDF