This reverts commit
813e9fe2b4291a1c1922ef78f031daa9b78fe53b.
We run --mkfs with the osd disk mounted in a temporary location, so it is
necessary to explicitly pass in these paths.
If we want to support journals in a different location, we need to make
ceph-disk-prepare update the journal symlink accordingly.. not control it via
the config option.
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit
3e628eee770508e750f64ea50179bbce52e7b8e0)
'-i', osd_id,
'--monmap', monmap,
'--osd-data', path,
+ '--osd-journal', os.path.join(path, 'journal'),
'--osd-uuid', fsid,
],
)