Hi Vickey,

The keyring gets created as part of the initial deployment so it should be
on your admin node right alongside the admin keyring etc. FWIW, I tried
this quickly yesterday and it failed because the RGW directory didn't exist
on the node that I was attempting to deploy to ... but I didn't actually
look that deeply into it as it's not critical for what I wanted to complete
today. The keyring was definately there following a successful deployment
though.

Kind regards


Iain

On Thu, Apr 9, 2015 at 7:41 PM, Vickey Singh <vickey.singh22...@gmail.com>
wrote:

> Hello Cephers
>
> I am trying to setup RGW using Ceph-deploy which is described here
>
>
> http://docs.ceph.com/docs/master/start/quick-ceph-deploy/#add-an-rgw-instance
>
>
> But unfortunately it doesn't seems to be working
>
> Is there something i am missing  or you know some fix for this.
>
>
>
>
> [root@ceph-node1 yum.repos.d]# ceph -v
>
> *ceph version 0.94* (e61c4f093f88e44961d157f65091733580cea79a)
>
> [root@ceph-node1 yum.repos.d]#
>
>
>
> # yum update ceph-deploy
>
>
> <<<<<< SKIPPED >>>>>>>>>>>>>
>
>
>
>   Verifying  : ceph-deploy-1.5.22-0.noarch
>                                                                 2/2
>
>
> Updated:
>
>  * ceph-deploy.noarch 0:1.5.23-0*
>
>
> Complete!
>
> [root@ceph-node1 ceph]#
>
>
>
>
>
> [root@ceph-node1 ceph]# ceph-deploy rgw create rgw-node1
>
> [ceph_deploy.conf][DEBUG ] found configuration file at:
> /root/.cephdeploy.conf
>
> [ceph_deploy.cli][INFO  ] Invoked (1.5.23): /usr/bin/ceph-deploy rgw
> create rgw-node1
>
> [ceph_deploy.rgw][DEBUG ] Deploying rgw, cluster ceph hosts
> rgw-node1:rgw.rgw-node1
>
> *[ceph_deploy][ERROR ] RuntimeError: bootstrap-rgw keyring not found; run
> 'gatherkeys'*
>
>
>
>
> [root@ceph-node1 ceph]# ceph-deploy --overwrite-conf mon create-initial
>
> [ceph_deploy.conf][DEBUG ] found configuration file at:
> /root/.cephdeploy.conf
>
> [ceph_deploy.cli][INFO  ] Invoked (1.5.23): /usr/bin/ceph-deploy
> --overwrite-conf mon create-initial
>
> <<<<<< SKIPPED >>>>>>>>>>>>>
>
> [ceph_deploy.mon][INFO  ] mon.ceph-node1 monitor has reached quorum!
>
> [ceph_deploy.mon][INFO  ] all initial monitors are running and have formed
> quorum
>
> [ceph_deploy.mon][INFO  ] Running gatherkeys...
>
> [ceph_deploy.gatherkeys][DEBUG ] Have ceph.client.admin.keyring
>
> [ceph_deploy.gatherkeys][DEBUG ] Have ceph.mon.keyring
>
> [ceph_deploy.gatherkeys][DEBUG ] Have ceph.bootstrap-osd.keyring
>
> [ceph_deploy.gatherkeys][DEBUG ] Have ceph.bootstrap-mds.keyring
>
> [ceph_deploy.gatherkeys][DEBUG ] Checking ceph-node1 for
> /var/lib/ceph/bootstrap-rgw/ceph.keyring
>
> [ceph-node1][DEBUG ] connected to host: ceph-node1
>
> [ceph-node1][DEBUG ] detect platform information from remote host
>
> [ceph-node1][DEBUG ] detect machine type
>
> [ceph-node1][DEBUG ] fetch remote file
>
> *[ceph_deploy.gatherkeys][WARNIN] Unable to find
> /var/lib/ceph/bootstrap-rgw/ceph.keyring on ceph-node1*
>
> *[ceph_deploy.gatherkeys][WARNIN] No RGW bootstrap key found. Will not be
> able to deploy RGW daemons*
>
> [root@ceph-node1 ceph]#
>
>
>
> [root@ceph-node1 ceph]# ceph-deploy gatherkeys ceph-node1
>
> [ceph_deploy.conf][DEBUG ] found configuration file at:
> /root/.cephdeploy.conf
>
> [ceph_deploy.cli][INFO  ] Invoked (1.5.23): /usr/bin/ceph-deploy
> gatherkeys ceph-node1
>
> [ceph_deploy.gatherkeys][DEBUG ] Have ceph.client.admin.keyring
>
> [ceph_deploy.gatherkeys][DEBUG ] Have ceph.mon.keyring
>
> [ceph_deploy.gatherkeys][DEBUG ] Have ceph.bootstrap-osd.keyring
>
> [ceph_deploy.gatherkeys][DEBUG ] Have ceph.bootstrap-mds.keyring
>
> [ceph_deploy.gatherkeys][DEBUG ] Checking ceph-node1 for
> /var/lib/ceph/bootstrap-rgw/ceph.keyring
>
> [ceph-node1][DEBUG ] connected to host: ceph-node1
>
> [ceph-node1][DEBUG ] detect platform information from remote host
>
> [ceph-node1][DEBUG ] detect machine type
>
> [ceph-node1][DEBUG ] fetch remote file
>
> *[ceph_deploy.gatherkeys][WARNIN] Unable to find
> /var/lib/ceph/bootstrap-rgw/ceph.keyring on ceph-node1*
>
> *[ceph_deploy.gatherkeys][WARNIN] No RGW bootstrap key found. Will not be
> able to deploy RGW daemons*
>
> [root@ceph-node1 ceph]#
>
>
>
> Regards
>
> VS
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>


-- 
Iain Geddes
Application Engineer[image: Cyan] <http://cyaninc.com/>1383 North McDowell
Blvd.
Petaluma, CA 94954M+353 89 432
6811eiain.ged...@cyaninc.comwww.cyaninc.com[image:
Facebook] <http://www.facebook.com/CyanInc> [image: LinkedIn]
<http://www.linkedin.com/company/cyan-inc?trk=hb_tab_compy_id_2171992> [image:
Twitter] <http://twitter.com/CyanNews>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to