OSD on Debian Jessie : No cluster conf found

The problem is in the ceph-disk code.
ceph-disk prepare has a following log on the destination node

# ceph-disk -v prepare /dev/vdb
command: Running command: 
/usr/bin/ceph-osd --cluster=None --show-config-value=fsid

The value of cluster is None and that is incorrect. It must be ceph.

# /usr/bin/ceph-osd --cluster=None --show-config-value=fsid
# /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid

The code change involved the following in /usr/sbin/ceph-disk:

    metavar='NAME', default='ceph', # added the parameter `default`
    help='cluster name to assign this disk to',

  • diff output
<         metavar='NAME',
>         metavar='NAME', default='ceph',

Written with StackEdit.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: