Manual emperor monitor installation hangs at ceph-mon --mkfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have been trying the manual installation method of a ceph monitor (emperor release) with the goal of integrating ceph 
installation with a configuration management utility.
I pretty much followed the docs at

   http://ceph.com/docs/master/install/manual-deployment/

but for me the 'ceph-mon --mkfs' command always hangs indefinitely.

Here is what I do as root on an up-to-date RHEL6.5 system, ready to copy-paste on a vanilla installation:

=== SNIP ===
yum clean all

cat >/etc/yum.repos.d/ceph.repo <<__END__
[ceph]
name=Ceph packages for $basearch
baseurl=http://ceph.com/rpm-emperor/rhel6/\$basearch
enabled=1
gpgcheck=1
priority=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc

[ceph-noarch]
name=Ceph noarch packages
baseurl=http://ceph.com/rpm-emperor/rhel6/noarch
enabled=1
gpgcheck=1
priority=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
__END__

yum install -y snappy leveldb python-argparse gperftools-libs ceph

uuidgen >/etc/ceph/fsid

cat >/etc/ceph/ceph.conf <<__END__
[global]
fsid = `cat /etc/ceph/fsid`
mon initial members = `hostname -s`
mon host = `ip -f inet -o addr show eth0 2>/dev/null | cut -d" " -f 7 | cut -d/ -f 1`
auth cluster required = cephx
auth service required = cephx
auth client required = cephx
osd journal size = 1024
filestore xattr use omap = true
osd pool default size = 2
osd pool default min size = 1
osd pool default pg num = 333
osd pool default pgp num = 333
osd crush chooseleaf type = 1
__END__

ceph-authtool --create-keyring /tmp/ceph.mon.keyring --gen-key -n mon. --cap mon 'allow *'
ceph-authtool --create-keyring /etc/ceph/ceph.client.admin.keyring --gen-key -n client.admin --set-uid=0 --cap mon 
'allow *' --cap osd 'allow *' --cap mds 'allow'
ceph-authtool /tmp/ceph.mon.keyring --import-keyring /etc/ceph/ceph.client.admin.keyring

monmaptool --create --add `hostname -s` `ip -f inet -o addr show eth0 2>/dev/null | cut -d" " -f 7 | cut -d/ -f 1` 
--fsid `cat /etc/ceph/fsid` /tmp/monmap

mkdir /var/lib/ceph/mon/ceph-`hostname -s`

ceph-mon --mkfs -i `hostname -s` --monmap /tmp/monmap --keyring /tmp/ceph.mon.keyring
=== SNIP ===

Any idea how to get past this step would be greatly appreciated. :)




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux