Re: [ceph-users] failure starting radosgw after setting up object storage
-Original Message- From: ceph-users-boun...@lists.ceph.com [mailto:ceph-users- boun...@lists.ceph.com] On Behalf Of Gruher, Joseph R Sent: Monday, September 30, 2013 10:27 AM To: Yehuda Sadeh Cc: ceph-users@lists.ceph.com Subject: Re: [ceph-users] failure starting radosgw after setting up object storage -Original Message- From: Yehuda Sadeh [mailto:yeh...@inktank.com] Sent: Friday, September 27, 2013 9:30 AM To: Gruher, Joseph R ceph@cephtest06:/etc/ceph$ cat /var/log/ceph/radosgw.log 2013-09-25 14:03:01.235760 7f713d79d780 0 ceph version 0.67.3 (408cd61584c72c0d97b774b3d8f95c6b1b06341a), process radosgw, pid 13187 2013-09-25 14:03:01.235789 7f713d79d780 -1 WARNING: libcurl doesn't support curl_multi_wait() 2013-09-25 14:03:01.235797 7f713d79d780 -1 WARNING: cross zone / region transfer performance may be affected 2013-09-25 14:03:01.245786 7f713d79d780 0 librados: client.radosgw.gateway authentication error (1) Operation not permitted 2013-09-25 14:03:01.246526 7f713d79d780 -1 Couldn't init storage provider (RADOS) This means that the radosgw process cannot connect to the cluster due to user / key set up. Make sure that the user for radosgw exists, and that the ceph keyring file (on the radosgw side) has the correct credentials set. Yehuda Thanks for the response. I will look into these. Is it possible you could provide more detail on how to check these? Sorry, still fairly new to Ceph (and object storage in general). Thanks! I went back through the setup steps again, this time using this guide (http://ceph.com/docs/master/radosgw/manual-install/) instead of this guide (http://ceph.com/docs/next/start/quick-rgw/). Now I can start radosgw on this OSD successfully. I notice this guide has me install a radosgw-agent package, which was not installed before, and I wonder if this could be the difference. Should that package be installed to be able to start radosgw or should it not be required? I didn't make many other changes between the working and failing configuration. The only other change I really made was to create a gateway user. I had not done that step before. In both guides that step is done after starting radosgw, so I wouldn't think that would have been the key to allowing it to start, unless the guides are both broken in that respect. My other OSD still returns nothing when I try to start radosgw so not sure what the problem is there. ceph@cephtest05:/etc/ceph$ sudo /etc/init.d/radosgw start ceph@cephtest05:/etc/ceph$ sudo /etc/init.d/radosgw status /usr/bin/radosgw is not running. ceph@cephtest05:/etc/ceph$ sudo cat /var/log/ceph/radosgw.log ceph@cephtest05:/etc/ceph$ ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] failure starting radosgw after setting up object storage
On Wed, Sep 25, 2013 at 2:07 PM, Gruher, Joseph R joseph.r.gru...@intel.com wrote: Hi all- I am following the object storage quick start guide. I have a cluster with two OSDs and have followed the steps on both. Both are failing to start radosgw but each in a different manner. All the previous steps in the quick start guide appeared to complete successfully. Any tips on how to debug from here? Thanks! OSD1: ceph@cephtest05:/etc/ceph$ sudo /etc/init.d/radosgw start ceph@cephtest05:/etc/ceph$ ceph@cephtest05:/etc/ceph$ sudo /etc/init.d/radosgw status /usr/bin/radosgw is not running. ceph@cephtest05:/etc/ceph$ ceph@cephtest05:/etc/ceph$ cat /var/log/ceph/radosgw.log ceph@cephtest05:/etc/ceph$ OSD2: ceph@cephtest06:/etc/ceph$ sudo /etc/init.d/radosgw start Starting client.radosgw.gateway... 2013-09-25 14:03:01.235789 7f713d79d780 -1 WARNING: libcurl doesn't support curl_multi_wait() 2013-09-25 14:03:01.235797 7f713d79d780 -1 WARNING: cross zone / region transfer performance may be affected ceph@cephtest06:/etc/ceph$ ceph@cephtest06:/etc/ceph$ sudo /etc/init.d/radosgw status /usr/bin/radosgw is not running. ceph@cephtest06:/etc/ceph$ ceph@cephtest06:/etc/ceph$ cat /var/log/ceph/radosgw.log 2013-09-25 14:03:01.235760 7f713d79d780 0 ceph version 0.67.3 (408cd61584c72c0d97b774b3d8f95c6b1b06341a), process radosgw, pid 13187 2013-09-25 14:03:01.235789 7f713d79d780 -1 WARNING: libcurl doesn't support curl_multi_wait() 2013-09-25 14:03:01.235797 7f713d79d780 -1 WARNING: cross zone / region transfer performance may be affected 2013-09-25 14:03:01.245786 7f713d79d780 0 librados: client.radosgw.gateway authentication error (1) Operation not permitted 2013-09-25 14:03:01.246526 7f713d79d780 -1 Couldn't init storage provider (RADOS) This means that the radosgw process cannot connect to the cluster due to user / key set up. Make sure that the user for radosgw exists, and that the ceph keyring file (on the radosgw side) has the correct credentials set. Yehuda ceph@cephtest06:/etc/ceph$ For reference, I think cluster health is OK: ceph@cephtest06:/etc/ceph$ sudo ceph status cluster a45e6e54-70ef-4470-91db-2152965deec5 health HEALTH_WARN clock skew detected on mon.cephtest03, mon.cephtest04 monmap e1: 3 mons at {cephtest02=10.0.0.2:6789/0,cephtest03=10.0.0.3:6789/0,cephtest04=10.0.0.4:6789/0}, election epoch 6, quorum 0,1,2 cephtest02,cephtest03,cephtest04 osdmap e9: 2 osds: 2 up, 2 in pgmap v439: 192 pgs: 192 active+clean; 0 bytes data, 72548 KB used, 1998 GB / 1999 GB avail mdsmap e1: 0/0/1 up ceph@cephtest06:/etc/ceph$ sudo ceph health HEALTH_WARN clock skew detected on mon.cephtest03, mon.cephtest04 ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[ceph-users] failure starting radosgw after setting up object storage
Hi all- I am following the object storage quick start guide. I have a cluster with two OSDs and have followed the steps on both. Both are failing to start radosgw but each in a different manner. All the previous steps in the quick start guide appeared to complete successfully. Any tips on how to debug from here? Thanks! OSD1: ceph@cephtest05:/etc/ceph$ sudo /etc/init.d/radosgw start ceph@cephtest05:/etc/ceph$ ceph@cephtest05:/etc/ceph$ sudo /etc/init.d/radosgw status /usr/bin/radosgw is not running. ceph@cephtest05:/etc/ceph$ ceph@cephtest05:/etc/ceph$ cat /var/log/ceph/radosgw.log ceph@cephtest05:/etc/ceph$ OSD2: ceph@cephtest06:/etc/ceph$ sudo /etc/init.d/radosgw start Starting client.radosgw.gateway... 2013-09-25 14:03:01.235789 7f713d79d780 -1 WARNING: libcurl doesn't support curl_multi_wait() 2013-09-25 14:03:01.235797 7f713d79d780 -1 WARNING: cross zone / region transfer performance may be affected ceph@cephtest06:/etc/ceph$ ceph@cephtest06:/etc/ceph$ sudo /etc/init.d/radosgw status /usr/bin/radosgw is not running. ceph@cephtest06:/etc/ceph$ ceph@cephtest06:/etc/ceph$ cat /var/log/ceph/radosgw.log 2013-09-25 14:03:01.235760 7f713d79d780 0 ceph version 0.67.3 (408cd61584c72c0d97b774b3d8f95c6b1b06341a), process radosgw, pid 13187 2013-09-25 14:03:01.235789 7f713d79d780 -1 WARNING: libcurl doesn't support curl_multi_wait() 2013-09-25 14:03:01.235797 7f713d79d780 -1 WARNING: cross zone / region transfer performance may be affected 2013-09-25 14:03:01.245786 7f713d79d780 0 librados: client.radosgw.gateway authentication error (1) Operation not permitted 2013-09-25 14:03:01.246526 7f713d79d780 -1 Couldn't init storage provider (RADOS) ceph@cephtest06:/etc/ceph$ For reference, I think cluster health is OK: ceph@cephtest06:/etc/ceph$ sudo ceph status cluster a45e6e54-70ef-4470-91db-2152965deec5 health HEALTH_WARN clock skew detected on mon.cephtest03, mon.cephtest04 monmap e1: 3 mons at {cephtest02=10.0.0.2:6789/0,cephtest03=10.0.0.3:6789/0,cephtest04=10.0.0.4:6789/0}, election epoch 6, quorum 0,1,2 cephtest02,cephtest03,cephtest04 osdmap e9: 2 osds: 2 up, 2 in pgmap v439: 192 pgs: 192 active+clean; 0 bytes data, 72548 KB used, 1998 GB / 1999 GB avail mdsmap e1: 0/0/1 up ceph@cephtest06:/etc/ceph$ sudo ceph health HEALTH_WARN clock skew detected on mon.cephtest03, mon.cephtest04 ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com