Project

General

Profile

Documentation #21018

Manual deployment does not work in luminous

Added by Oscar Segarra over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
documentation
Target version:
% Done:

0%

Tags:
manual deployment, monitor,
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Hi,

I have followed step by step the mon manual deployment in order to deploy a named cluster

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

But it does not work.

The commands executed:

sudo mkdir /etc/ceph
uuidgen > /etc/ceph/vdicmgmtcl.fsid

cat << EOT > /etc/ceph/vdicmgmtcl.conf
fsid = `cat /etc/ceph/vdicmgmtcl.fsid`
mon initial members = vdicnode01
mon host = 192.168.100.101
public network = 192.168.100.0/24
cluster network = 192.168.100.0/24
auth cluster required = cephx
auth service required = cephx
auth client required = cephx
EOT

ceph-authtool --create-keyring /etc/ceph/vdicmgmtcl.mon.keyring --gen-key -n mon. --cap mon 'allow '
ceph-authtool --create-keyring /etc/ceph/vdicmgmtcl.client.admin.keyring --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow *' --cap mgr 'allow *'
ceph-authtool /etc/ceph/vdicmgmtcl.mon.keyring --import-keyring /etc/ceph/vdicmgmtcl.client.admin.keyring
monmaptool --create --add vdicnode01 192.168.100.101 --fsid `cat vdicmgmtcl_fsid` /etc/ceph/vdicmgmtcl.monmap
sudo -u ceph mkdir /var/lib/ceph/mon/vdicmgmtcl-vdicnode01
sudo -u ceph ceph-mon --cluster vdicmgmtcl --mkfs -i vdicnode01 --monmap /etc/ceph/vdicmgmtcl.monmap --keyring /etc/ceph/vdicmgmtcl.mon.keyring
chmod 644 /etc/ceph/

sudo -u ceph touch /var/lib/ceph/mon/vdicmgmtcl-vdicnode01/done

ceph-mon -d --cluster vdicmgmtcl --id vdicnode01 --setuser ceph --setgroup ceph
--> Nothing happens
echo $?
1

Also available in: Atom PDF