Hello Ceph user peers,
I am trying to setup a Ceph cluster in OpenStack cloud. I remotely created 3 VMs via Horizon (GUI). I successfully manually installed Ceph in all the nodes and wanted to make ceph-node-1 as the Monitor (to start with).
The IP addresses for three nodes are:
ceph-node-1 10.245.121.25
ceph-node-2 10.245.121.27
ceph-node-3 10.245.121.28
all these IP were assigned by DHCP protocol. The "/etc/ceph/ceph.conf" file looks like as follows:
------------------------------------------------
[global]
fsid=eb0a886e-da28-4253-89bf-a442b81ff522
public network = 10.245.121.0/24
osd pool default min size = 1
osd pool default pg num= 128
osd pool default pgp num = 128
osd journal size = 1024
mon initial members = ceph-node-1
mon host = 10.245.121.25
-----------------------------------------------
when I run:
# ceph-mon --mkfs -i ceph-node-1 --monmap /tmp/monmap --keyring /tmp/ceph.mon.keyring
I get the following message:
2015-08-03 07:40:34.952903 7f7bbf0037a0 -1 unable to find any IP address in networks: 10.245.121.0/24
what can be the reason? how can I solve this problem?
Thank you in advance.
Jiwan
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com