Project

General

Profile

Actions

Bug #17772

closed

journal on ramdisk fails ceph-osd --mkfs

Added by Jayashree Ajay Candadai over 7 years ago. Updated almost 7 years ago.

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

0%

Source:
other
Tags:
Backport:
kraken, jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-disk
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Journal on ramdisk fails ceph-osd --mkfs - Using a file outside of the ramdisk works, it has to do with the ramdisk which is not handled properly by ceph-osd --mkfs. Enclosed are the log and commands to reproduce this issue. This happens both with Kraken and Jewel release.

1) OSD_Error.log: -- This is before applying the patch in main.py trying to use tmpfs as journal space (http://tracker.ceph.com/issues/17662)
2) OSD_afterPatch.log -- After applying the patch
3) OSD_StatusCommands_AfterPatch.txt - shows the journal space is not created.
4) NewCommands.txt -- Is output after running
ceph-disk zap /dev/sdc /dev/sdd /dev/sde /dev/sdf
ceph-disk list
rm -f /tmp/ramdisk/journal-sdc.journal
ceph-disk prepare /dev/sdc /tmp/ramdisk/journal-sdc.journal
sleep 10
ceph-disk list

5) NewError_OSD.log after running
ceph-disk zap /dev/sdc /dev/sdd /dev/sde /dev/sdf
ceph-disk list
rm -f /tmp/ramdisk/journal-sdc.journal
ceph-disk --verbose prepare /dev/sdc /tmp/ramdisk/journal-sdc.journal
sleep 10
ceph-disk list
ceph-disk --verbose activate /dev/sdc1

6) Einval.log has the verbose output which shows that journal on ramdisk fails ceph-osd --mkfs.
ceph-disk zap /dev/sdc /dev/sdd /dev/sde /dev/sdf
ceph-disk list
rm -f /tmp/foo
ceph-disk --verbose prepare /dev/sdc /tmp/foo
sleep 10
ceph-disk list
ceph-disk --verbose activate /dev/sdc1


Files

OSD_Error.log (48.9 KB) OSD_Error.log Jayashree Ajay Candadai, 11/01/2016 07:47 PM
OSD_afterPatch.log (11.5 KB) OSD_afterPatch.log Jayashree Ajay Candadai, 11/01/2016 07:47 PM
OSD_StatusCommands_AfterPatch.txt (7.5 KB) OSD_StatusCommands_AfterPatch.txt Jayashree Ajay Candadai, 11/01/2016 07:47 PM
NewCommands.txt (7.13 KB) NewCommands.txt Jayashree Ajay Candadai, 11/01/2016 07:47 PM
NewError_OSD.log (14.2 KB) NewError_OSD.log Jayashree Ajay Candadai, 11/01/2016 07:49 PM
Einval.log (10.8 KB) Einval.log Jayashree Ajay Candadai, 11/01/2016 07:51 PM
Actions

Also available in: Atom PDF