Re: Problem starting RADOS Gateway

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

 



Hi,
does "ceph -s" also stuck on missing keyring?

Do you have an keyring like:
cat /etc/ceph/keyring
[client.admin]
        key = AQCdkHZR2NBYMBAATe/rqIwCI96LTuyS3gmMXp==

Or do you have anothe defined keyring in ceph.conf?
global-section -> keyring = /etc/ceph/keyring

The key is in ceph - see
ceph auth get-key client.admin
AQCdkHZR2NBYMBAATe/rqIwCI96LTuyS3gmMXp==

or "ceph auth list" for all keys.
Key-genaration is doing by get-or-create key like this (but in this case
for bootstap-osd):
ceph auth get-or-create-key client.bootstrap-osd mon "allow profile
bootstrap-osd"

Udo

On 15.02.2014 15:35, Georgios Dimitrakakis wrote:
> Dear all,
>
> I am following this guide http://ceph.com/docs/master/radosgw/config/
> to setup Object Storage on CentOS 6.5.
>
> My problem is that when I try to start the service as indicated here:
> http://ceph.com/docs/master/radosgw/config/#restart-services-and-start-the-gateway
>
>
> I get nothing
>
> # service ceph-radosgw start
> Starting radosgw instance(s)...
>
> and if I check if the service is running obviously it is not!
>
> # service ceph-radosgw status
> /usr/bin/radosgw is not running.
>
>
> If I try to start it manually without using the service command I get
> the following:
>
> # /usr/bin/radosgw -d -c /etc/ceph/ceph.conf --debug_ms 10
> 2014-02-15 16:03:38.709235 7fb65ba64820  0 ceph version 0.72.2
> (a913ded2ff138aefb8cb84d347d72164099cfd60), process radosgw, pid 24619
> 2014-02-15 16:03:38.709249 7fb65ba64820 -1 WARNING: libcurl doesn't
> support curl_multi_wait()
> 2014-02-15 16:03:38.709252 7fb65ba64820 -1 WARNING: cross zone /
> region transfer performance may be affected
> 2014-02-15 16:03:38.713898 7fb65ba64820 10 -- :/0 ready :/0
> 2014-02-15 16:03:38.714323 7fb65ba64820  1 -- :/0 messenger.start
> 2014-02-15 16:03:38.714434 7fb65ba64820 -1 monclient(hunting): ERROR:
> missing keyring, cannot use cephx for authentication
> 2014-02-15 16:03:38.714440 7fb65ba64820  0 librados: client.admin
> initialization error (2) No such file or directory
> 2014-02-15 16:03:38.714463 7fb65ba64820 10 -- :/1024619 shutdown
> :/1024619
> 2014-02-15 16:03:38.714468 7fb65ba64820  1 -- :/1024619 mark_down_all
> 2014-02-15 16:03:38.714477 7fb65ba64820 10 -- :/1024619 wait: waiting
> for dispatch queue
> 2014-02-15 16:03:38.714406 7fb64b5fe700 10 -- :/1024619 reaper_entry
> start
> 2014-02-15 16:03:38.714506 7fb64b5fe700 10 -- :/1024619 reaper
> 2014-02-15 16:03:38.714522 7fb64b5fe700 10 -- :/1024619 reaper done
> 2014-02-15 16:03:38.714764 7fb65ba64820 10 -- :/1024619 wait: dispatch
> queue is stopped
> 2014-02-15 16:03:38.714786 7fb64b5fe700 10 -- :/1024619 reaper_entry done
> 2014-02-15 16:03:38.714819 7fb65ba64820 10 -- :/1024619 wait: closing
> pipes
> 2014-02-15 16:03:38.714826 7fb65ba64820 10 -- :/1024619 reaper
> 2014-02-15 16:03:38.714828 7fb65ba64820 10 -- :/1024619 reaper done
> 2014-02-15 16:03:38.714830 7fb65ba64820 10 -- :/1024619 wait: waiting
> for pipes  to close
> 2014-02-15 16:03:38.714832 7fb65ba64820 10 -- :/1024619 wait: done.
> 2014-02-15 16:03:38.714833 7fb65ba64820  1 -- :/1024619 shutdown
> complete.
> 2014-02-15 16:03:38.714916 7fb65ba64820 -1 Couldn't init storage
> provider (RADOS)
>
> Obviously the problem is some missing keyring but which one and how
> can I solve this problem? Furthermore, why this is happening since I
> am following the guide to the letter?? Is something missing??
>
> Best,
>
> G.
>
> _______________________________________________
> 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