Re: mon add problem

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

 



HI Don,

Well the result is same even after

ceph-deploy new kvm2

Br.

Umar


On Tue, Dec 17, 2013 at 2:35 AM, Don Talton (dotalton) <dotalton@xxxxxxxxx> wrote:

[kvm2][WARNIN] kvm2 is not defined in `mon initial members`

 

The above is why. When you run ‘ceph-deploy new’, pass it all the machines you intend to use as mons, eg

 

‘ceph-deploy new mon1 mon2 mon3’

 

Or alternately, you can modify the ceph.conf file in your bootstrap directory. And the mon and the IP, you’ll see where. Do not use the mon’s FQDN, only the shortname.

 

 

From: ceph-users-bounces@xxxxxxxxxxxxxx [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] On Behalf Of Umar Draz
Sent: Monday, December 16, 2013 2:28 PM
To: ceph-users@xxxxxxxx
Subject: mon add problem

 

Hi,

 

I am try to add mon host using ceph-deploy mon create kvm2, but its not working and giving me an error.

 

[kvm2][DEBUG ] determining if provided host has same hostname in remote

[kvm2][DEBUG ] get remote short hostname

[kvm2][DEBUG ] deploying mon to kvm2

[kvm2][DEBUG ] get remote short hostname

[kvm2][DEBUG ] remote hostname: kvm2

[kvm2][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf

[kvm2][DEBUG ] create the mon path if it does not exist

[kvm2][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-kvm2/done

[kvm2][DEBUG ] create a done file to avoid re-doing the mon deployment

[kvm2][DEBUG ] create the init path if it does not exist

[kvm2][DEBUG ] locating the `service` executable...

[kvm2][INFO  ] Running command: initctl emit ceph-mon cluster=ceph id=kvm2

[kvm2][INFO  ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.kvm2.asok mon_status

[kvm2][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory

[kvm2][WARNIN] monitor: mon.kvm2, might not be running yet

[kvm2][INFO  ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.kvm2.asok mon_status

[kvm2][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory

[kvm2][WARNIN] kvm2 is not defined in `mon initial members`

[kvm2][WARNIN] monitor kvm2 does not exist in monmap

[kvm2][WARNIN] neither `public_addr` nor `public_network` keys are defined for monitors

[kvm2][WARNIN] monitors may not be able to form quorum

root@kvm1:/home/umar/ceph-cluster# ceph-deploy mon create kvm2

 

 

would you please help me how to solve this problem?

 

Br.

 

Umar




--
Umar Draz
Network Architect
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

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


  Powered by Linux