Re: radosgw won't start

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

 



Hello,

I was able to fix the problem by removing the client from the auth list:

ceph auth del client.radosgw.gateway

then adding again:

ceph auth add client.radosgw.gateway --in-file=/etc/ceph/keyring.radosgw.gateway

The keyring has the following caps:

[client.radosgw.gateway]
	key = [...]
	caps mon = "allow rw"
	caps osd = "allow rwx"

Pheeeeew. All good now - but the solution was rather trial and error than a structured approach:

I'm still not sure why I need a 

[client.admin]
        keyring = /etc/ceph/ceph.client.admin.keyring

section in my ceph.conf

and why the mon needs write permissions.

Best

Sebastian

Am 09.11.2013 um 11:50 schrieb Sebastian Deutsch <sebastian.deutsch@xxxxxxxxxxxxx>:

> When I do: ceph daemon osd.0 config show | grep socket
> 
>  "admin_socket": "\/var\/run\/ceph\/ceph-osd.0.asok",
>  "ms_inject_socket_failures": "0",
>  "rgw_socket_path": "",
>  "rgw_ops_log_socket_path": "",
> 
> why is the rgw_socket_path ""?
> 
> Best
> 
> Sebastian
> 
> Am 09.11.2013 um 06:16 schrieb Yehuda Sadeh <yehuda@xxxxxxxxxxx>:
> 
>> On Fri, Nov 8, 2013 at 6:56 PM, Sebastian Deutsch
>> <sebastian.deutsch@xxxxxxxxxxxxx> wrote:
>>> Hello,
>>> 
>>> I've updated ceph from 0.61.4 to 0.72. It went smooth so far ceph status
>>> gives me a HEALTH_OK.
>>> Unfortunately starting the radosgw doesn't work anymore:
>>> 
>>> When I launch:
>>> 
>>> /usr/bin/radosgw -d -c /etc/ceph/ceph.conf --debug-rgw
>>> 
>>> 2013-11-09 03:53:34.485751 7f504c911780  0 ceph version 0.72
>>> (5832e2603c7db5d40b433d0953408993a9b7c217), process radosgw, pid 10446
>>> 2013-11-09 03:53:34.485768 7f504c911780 -1 WARNING: libcurl doesn't support
>>> curl_multi_wait()
>>> 2013-11-09 03:53:34.485774 7f504c911780 -1 WARNING: cross zone / region
>>> transfer performance may be affected
>>> 2013-11-09 03:53:36.669488 7f504c911780  0 ERROR: FCGX_Accept_r returned -88
>>> 2013-11-09 03:53:36.674252 7f504c911780 -1 shutting down
>>> 2013-11-09 03:53:37.818233 7f503b1f0700  0 RGWGC::process() failed to
>>> acquire lock on gc.17
>>> 2013-11-09 03:53:38.872246 7f503b1f0700  0 gc::process: removing ...
>>> 2013-11-09 03:53:39.151653 7f504c911780  1 final shutdown
>>> 
>>> it seems that for some reason it cannot create a FastCGI Socket (ERROR:
>>> FCGX_Accept_r returned -88).
>>> 
>>> ceph auth list gives me:
>>> 
>>> client.admin
>>> key: [...]
>>> caps: [mds] allow
>>> caps: [mon] allow *
>>> caps: [osd] allow *
>>> client.radosgw.gateway
>>> key: [...]
>>> caps: [mon] allow rw
>>> caps: [osx] allow rex
>>> 
>>> Any ideas how to fix or further debug this problem?
>>> 
>> 
>> Error 88 is 'not a socket'. Check your 'rgw socket path' configurable
>> in your radosgw ceph.conf.
>> 
>> Yehuda
> 

_______________________________________________
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