Re: [ceph-users] ceph-deploy gatherkeys trouble

2013-06-11 Thread Joshua Mesilane

Hi,

I had this happen the first time I tried to deploy to CentOS/RHEL 
system. Are you running one of these systems?


I found that by turning off iptables, and disabling selinux, this 
allowed me to get my test cluster up and running. Not sure if that's the 
best approach for production however.


Cheers,
Josh

On 06/12/2013 01:18 AM, Peter Wienemann wrote:

Hi,

I have problems with "ceph-deploy gatherkeys" in cuttlefish. When I run

   ceph-deploy gatherkeys mon01

on my admin node, I get

   Unable to find /var/lib/ceph/bootstrap-osd/ceph.keyring on ['mon01']
   Unable to find /var/lib/ceph/bootstrap-mds/ceph.keyring on ['mon01']

In an attempt to debug this, I looked through the ceph-deploy code and 
tried to understand why this happens. Unfortunately I only found code 
which tries to read the bootstrap keyrings but I did not find anything 
which creates them. Although this is compatible with the above error 
message, I am a bit surprised about this. Can someone point me to the 
place where /var/lib/ceph/bootstrap-{osd,mds}/ceph.keyring are 
supposed to be created?


Thanks, Peter
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



--
josh mesilane
senior systems administrator

luma pictures
level 2
256 clarendon street
0416 039 082 m
lumapictures.com

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


Re: [ceph-users] ceph-deploy gatherkeys trouble

2013-06-11 Thread Peter Wienemann

Hi Greg,

thanks for this very useful hint. I found the origin of the problem and 
will open a bug report in Redmine.


Cheers, Peter

On 06/11/2013 05:58 PM, Gregory Farnum wrote:

These keys are created by the ceph-create-keys script, which should be
launched when your monitors are. It requires a monitor quorum to have
formed first.
-Greg

On Tuesday, June 11, 2013, Peter Wienemann wrote:

Hi,

I have problems with "ceph-deploy gatherkeys" in cuttlefish. When I run

ceph-deploy gatherkeys mon01

on my admin node, I get

Unable to find /var/lib/ceph/bootstrap-osd/__ceph.keyring on
['mon01']
Unable to find /var/lib/ceph/bootstrap-mds/__ceph.keyring on
['mon01']

In an attempt to debug this, I looked through the ceph-deploy code
and tried to understand why this happens. Unfortunately I only found
code which tries to read the bootstrap keyrings but I did not find
anything which creates them. Although this is compatible with the
above error message, I am a bit surprised about this. Can someone
point me to the place where
/var/lib/ceph/bootstrap-{osd,__mds}/ceph.keyring are supposed to be
created?

Thanks, Peter
_
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/__listinfo.cgi/ceph-users-ceph.__com




--
Software Engineer #42 @ http://inktank.com | http://ceph.com

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


Re: [ceph-users] ceph-deploy gatherkeys trouble

2013-06-11 Thread Gregory Farnum
These keys are created by the ceph-create-keys script, which should be
launched when your monitors are. It requires a monitor quorum to have
formed first.
-Greg

On Tuesday, June 11, 2013, Peter Wienemann wrote:

> Hi,
>
> I have problems with "ceph-deploy gatherkeys" in cuttlefish. When I run
>
>ceph-deploy gatherkeys mon01
>
> on my admin node, I get
>
>Unable to find /var/lib/ceph/bootstrap-osd/**ceph.keyring on ['mon01']
>Unable to find /var/lib/ceph/bootstrap-mds/**ceph.keyring on ['mon01']
>
> In an attempt to debug this, I looked through the ceph-deploy code and
> tried to understand why this happens. Unfortunately I only found code which
> tries to read the bootstrap keyrings but I did not find anything which
> creates them. Although this is compatible with the above error message, I
> am a bit surprised about this. Can someone point me to the place where
> /var/lib/ceph/bootstrap-{osd,**mds}/ceph.keyring are supposed to be
> created?
>
> Thanks, Peter
> __**_
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/**listinfo.cgi/ceph-users-ceph.**com
>


-- 
Software Engineer #42 @ http://inktank.com | http://ceph.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] ceph-deploy gatherkeys trouble

2013-06-11 Thread Peter Wienemann

Hi,

I have problems with "ceph-deploy gatherkeys" in cuttlefish. When I run

   ceph-deploy gatherkeys mon01

on my admin node, I get

   Unable to find /var/lib/ceph/bootstrap-osd/ceph.keyring on ['mon01']
   Unable to find /var/lib/ceph/bootstrap-mds/ceph.keyring on ['mon01']

In an attempt to debug this, I looked through the ceph-deploy code and 
tried to understand why this happens. Unfortunately I only found code 
which tries to read the bootstrap keyrings but I did not find anything 
which creates them. Although this is compatible with the above error 
message, I am a bit surprised about this. Can someone point me to the 
place where /var/lib/ceph/bootstrap-{osd,mds}/ceph.keyring are supposed 
to be created?


Thanks, Peter
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com