Actions
Bug #4951
closedCeph init script makes assumptions about osd data location
% 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
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