Project

General

Profile

Actions

Bug #4031

closed

ceph-disk-activate hardcodes journal path, ignores configuration

Added by Faidon Liambotis about 11 years ago. Updated about 11 years ago.

Status:
Won't Fix
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

I'm having my ceph.conf configured to store journals in a different place, like:
[osd]
osd journal = /var/lib/ceph/journal/$cluster-$id
(/var/lib/ceph/journal is on /, which is mounted on an RAID0 SSD array)

However, ceph-disk-activate has this hardcoded in mkfs():
'--osd-data', path,
'--osd-journal', os.path.join(path, 'journal'),

Looking up values via either ceph-osd --show-config-value or ceph-conf --lookup should be trivial and should be used instead.

Actions

Also available in: Atom PDF