Re: Unable to add monitor nodes

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

 



Hi Kumar

Follow this  





—karan singh

On 19 Feb 2014, at 08:28, yalla.gnan.kumar@xxxxxxxxxxxxx wrote:

Hi,

I want to implement two scenarios:
-------------------
1. Store the sample cirrOS image in ceph block device and use it to boot the VMs.
2. Use the ceph block device as a volume and attach it to the VMs.


Thanks
Kumar


-----Original Message-----
From: Gnan Kumar, Yalla
Sent: Wednesday, February 19, 2014 11:15 AM
To: 'Alfredo Deza'; ceph-users@xxxxxxxxxxxxxx
Cc: ceph-users@xxxxxxxxxxxxxx
Subject: RE: Unable to add monitor nodes

Hi,

Now I am integrating  ceph with openstack.   I have installed openstack . Now to test ceph,
how do I create a ceph block device and store the sample cirrOS image in  it and use it for booting VMs  ?


Thanks
Kumar

-----Original Message-----
From: Alfredo Deza [mailto:alfredo.deza@xxxxxxxxxxx]
Sent: Tuesday, February 18, 2014 8:22 PM
To: Gnan Kumar, Yalla
Cc: ceph-users@xxxxxxxxxxxxxx
Subject: Re: Unable to add monitor nodes

ceph-deploy is not able to add new monitors, this is a feature that is actually being worked on at the moment

See http://tracker.ceph.com/issues/6638

You will need to do this manually and specify all the things you are missing following the Ceph docs here http://ceph.com/docs/master/rados/operations/add-or-rm-mons/

On Mon, Feb 17, 2014 at 7:43 AM,  <yalla.gnan.kumar@xxxxxxxxxxxxx> wrote:
Hi,



I am new user of ceph. I have installed a three node cluster following
the ceph document. I have added OSDs and initial monitor.

But while adding additional monitors, I am receiving this error as
shown below.



----------------------------------------

user1@cephadmin:~/my-cluster$ ceph-deploy mon create   cephnode2

[ceph_deploy.cli][INFO  ] Invoked (1.3.5): /usr/bin/ceph-deploy mon
create
cephnode2

[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts cephnode2

[ceph_deploy.mon][DEBUG ] detecting platform for host cephnode2 ...

[cephnode2][DEBUG ] connected to host: cephnode2

[cephnode2][DEBUG ] detect platform information from remote host

[cephnode2][DEBUG ] detect machine type

[ceph_deploy.mon][INFO  ] distro info: Ubuntu 12.04 precise

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

[cephnode2][DEBUG ] get remote short hostname

[cephnode2][DEBUG ] deploying mon to cephnode2

[cephnode2][DEBUG ] get remote short hostname

[cephnode2][DEBUG ] remote hostname: cephnode2

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

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

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

[cephnode2][DEBUG ] done path does not exist:
/var/lib/ceph/mon/ceph-cephnode2/done

[cephnode2][INFO  ] creating keyring file:
/var/lib/ceph/tmp/ceph-cephnode2.mon.keyring

[cephnode2][DEBUG ] create the monitor keyring file

[cephnode2][INFO  ] Running command: sudo ceph-mon --cluster ceph
--mkfs -i
cephnode2 --keyring /var/lib/ceph/tmp/ceph-cephnode2.mon.keyring

[cephnode2][DEBUG ] ceph-mon: set fsid to
b3d4e423-25a2-4380-8595-8b3fae4f8806

[cephnode2][DEBUG ] ceph-mon: created monfs at
/var/lib/ceph/mon/ceph-cephnode2 for mon.cephnode2

[cephnode2][INFO  ] unlinking keyring file
/var/lib/ceph/tmp/ceph-cephnode2.mon.keyring

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

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

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

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

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

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

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

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

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

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

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

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

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

---------------------------------------------



What is the error about ?





Thanks

Kumar


________________________________

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise confidential information. If you
have received it in error, please notify the sender immediately and
delete the original. Any other use of the e-mail by you is prohibited.
Where allowed by local law, electronic communications with Accenture
and its affiliates, including e-mail and instant messaging (including
content), may be scanned by our systems for the purposes of
information security and assessment of internal compliance with Accenture policy. .
______________________________________________________________________
________________

www.accenture.com

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



________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. .
______________________________________________________________________________________

www.accenture.com

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

_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux