7021169: How to set OSD journal device on a dedicated block device in Ceph barclamp

This document (7021169) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Cloud

SUSE Enterprise Storage 4

Situation

You set a dedicated block device for OSD (Object Storage Daemon) journal in raw mode and after applying the Ceph barclamp you see the setting is ignored:

“osd”: {

“min_size_gb”: 20,

“journal_size”: 8192,

“journal_devices”: [

“vde”

],

“use_ssd_for_journal”: false

Resolution

Go back to the crowbar web ui, Barclamps, Ceph, click “raw” and in the raw json mode set the full path to the block device:

“osd”: {

“min_size_gb”: 20,

“journal_size”: 8192,

“journal_devices”: [

“/dev/vde”

],

“use_ssd_for_journal”: false



Ideally, the path should be the symlink from /dev/disk/by-id/<device id> pointing to your device, which is persistent after reboot.

Finally apply Ceph barclamp.

Cause

Ruby code on the admin node /opt/dell/chef/cookbooks/ceph/recipes/osd.rb requires the full path to the device, only the device name is insufficient.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented “AS IS” WITHOUT WARRANTY OF ANY KIND.

Related:

Leave a Reply