Georgeos
, you need to have "deployment server" and cd into folder that you used originaly while deploying CEPH - in this folder you should already have ceph.conf, admin.client keyring and other stuff - which is required to to connect to cluster...and provision new MONs or OSDs, etc.
Message:
[ceph_deploy][ERROR ] RuntimeError: mon keyring not found; run 'new' to create a new cluster...
...means (if I'm not mistaken) that you are runnign ceph-deploy from NOT original folder...
On 13 March 2015 at 23:03, Georgios Dimitrakakis <giorgis@xxxxxxxxxxxx> wrote:
Not a firewall problem!! Firewall is disabled ...
Loic I 've tried mon create because of this: http://ceph.com/docs/v0.80.5/start/quick-ceph-deploy/#adding-monitors
Should I first create and then add?? What is the proper order??? Should I do it from the already existing monitor node or can I run it from the new one?
If I try add from the beginning I am getting this:
ceph_deploy.conf][DEBUG ] found configuration file at: /home/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.22): /usr/bin/ceph-deploy mon add jin
[ceph_deploy][ERROR ] RuntimeError: mon keyring not found; run 'new' to create a new cluster
Regards,
George
Hi,_______________________________________________
I think ceph-deploy mon add (instead of create) is what you should be using.
Cheers
On 13/03/2015 22:25, Georgios Dimitrakakis wrote:
On an already available cluster I 've tried to add a new monitor!
I have used ceph-deploy mon create {NODE}
where {NODE}=the name of the node
and then I restarted the /etc/init.d/ceph service with a success at the node
where it showed that the monitor is running like:
# /etc/init.d/ceph restart
=== mon.jin ===
=== mon.jin ===
Stopping Ceph mon.jin on jin...kill 36388...done
=== mon.jin ===
Starting Ceph mon.jin on jin...
Starting ceph-create-keys on jin...
But checking the quorum it doesn't show the newly added monitor!
Plus ceph mon stat gives out only 1 monitor!!!
# ceph mon stat
e1: 1 mons at {fu=192.168.1.100:6789/0}, election epoch 1, quorum 0 fu
Any ideas on what have I done wrong???
Regards,
George
_______________________________________________
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
Andrija Panić
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com