Re: [ceph-users] Error in ceph.conf when creating cluster with IP addresses as monitors

2013-06-19 Thread Sage Weil
On Thu, 20 Jun 2013, Da Chun wrote:
> ceph@ceph-node0:~/test$ ceph-deploy new 172.18.11.30 172.18.11.32

The mons need (host)names, too:

 ceph-deploy new hosta:1.2.3.4 hostb:1.2.3.5 ...

where the name should match `hostname -s` on the node.

> BTW, is there a version attribute in ceph-deploy for printing version info?

Not currently, and making that happen in an easy automatic way turned out 
to be nontrivial.  :(

sage
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] Error in ceph.conf when creating cluster with IP addresses as monitors

2013-06-19 Thread Da Chun
ceph@ceph-node0:~/test$ ceph-deploy new 172.18.11.30 172.18.11.32 172.18.11.34
ceph@ceph-node0:~/test$ cat ceph.conf
[global]
fsid = caf39355-bd8f-450e-b026-6001607e62cf
mon initial members = 172, 172, 172
mon host = 172.18.11.30,172.18.11.32,172.18.11.34
auth supported = cephx
osd journal size = 1024
filestore xattr use omap = true



The IP addresses have been truncated. Is it by design not to use IP address as 
a name?
My ceph-deploy is the latest one: ceph-deploy_1.0-1_all.deb .


BTW, is there a version attribute in ceph-deploy for printing version info?___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com