Re: Problem with Rados gateway

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

 



Try setting 'rgw print continue = false' in your ceph.conf.

Yehuda

On Thu, Jan 8, 2015 at 1:34 AM, Walter Valenti <waltervalenti@xxxxxxxx> wrote:
> Scenario:
> Openstack Juno RDO on Centos7.
> Ceph version: Giant.
>
> On Centos7 there isn't more the old fastcgi,
> but there's "mod_fcgid"
>
>
>
> The apache VH is the following:
> <VirtualHost *:8080>
> ServerName rdo-ctrl01
> DocumentRoot /var/www/radosgw
> RewriteEngine On
> RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /s3gw.fcgi?page=$1&params=$2&%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
> <Directory /var/www/radosgw>
> Options +ExecCGI
> AllowOverride All
> SetHandler fcgid-script
> Order allow,deny
> Allow from all
> AuthBasicAuthoritative Off
> </Directory>
> AllowEncodedSlashes On
> ErrorLog /var/log/httpd/error.log
> CustomLog /var/log/httpd/access.log combined
> ServerSignature Off
> </VirtualHost>
>
>
> On "/var/www/radosgw" there's the cgi file "s3gw.fcgi":
> #!/bin/sh
> exec /usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.gateway -d --debug-rgw 20 --debug-ms 1
>
>
> For the configuration I've followed this documentation:
> http://docs.ceph.com/docs/next/radosgw/config/
>
> When I try to access to the object storage I've got the following errors:
>
> 1) Apache VH error:
> [Wed Jan 07 13:15:22.029411 2015] [fcgid:info] [pid 2051] mod_fcgid: server rdo-ctrl01:/var/www/radosgw/s3gw.fcgi(28527) started
> 2015-01-07 13:15:22.046644 7ff16e240880  0 ceph version 0.87 (c51c8f9d80fa4e0168aa52685b8de40e42758578), process radosgw, pid 28527
> 2015-01-07 13:15:22.053673 7ff16e240880  1 -- :/0 messenger.start
> 2015-01-07 13:15:22.054783 7ff16e240880  1 -- :/1028527 --> 163.162.90.120:6789/0 -- auth(proto 0 40 bytes epoch 0) v1 -- ?+0 0x11d9100 con 0x11a0870
> 2015-01-07 13:15:22.055339 7ff16e238700  1 -- 163.162.90.120:0/1028527 learned my addr 163.162.90.120:0/1028527
> 2015-01-07 13:15:22.056425 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 <== mon.0 163.162.90.120:6789/0 1 ==== mon_map magic: 0 v1 ==== 200+0+0 (3839442293 0 0) 0x7ff148000ab0 con 0x11a0870
> 2015-01-07 13:15:22.056547 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 <== mon.0 163.162.90.120:6789/0 2 ==== auth_reply(proto 2 0 (0) Success) v1 ==== 33+0+0 (3991100068 0 0) 0x7ff148000f70 con 0x11a0870
> 2015-01-07 13:15:22.056900 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 --> 163.162.90.120:6789/0 -- auth(proto 2 32 bytes epoch 0) v1 -- ?+0 0x7ff14c0012e0 con 0x11a0870
> 2015-01-07 13:15:22.057505 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 <== mon.0 163.162.90.120:6789/0 3 ==== auth_reply(proto 2 0 (0) Success) v1 ==== 222+0+0 (1145796146 0 0) 0x7ff148000f70 con 0x11a0870
> 2015-01-07 13:15:22.057768 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 --> 163.162.90.120:6789/0 -- auth(proto 2 181 bytes epoch 0) v1 -- ?+0 0x7ff14c001ca0 con 0x11a0870
> 2015-01-07 13:15:22.058496 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 <== mon.0 163.162.90.120:6789/0 4 ==== auth_reply(proto 2 0 (0) Success) v1 ==== 425+0+0 (2903986998 0 0) 0x7ff148001200 con 0x11a0870
> 2015-01-07 13:15:22.058694 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 --> 163.162.90.120:6789/0 -- mon_subscribe({monmap=0+}) v2 -- ?+0 0x11d94c0 con 0x11a0870
> 2015-01-07 13:15:22.058843 7ff16e240880  1 -- 163.162.90.120:0/1028527 --> 163.162.90.120:6789/0 -- mon_subscribe({monmap=2+,osdmap=0}) v2 -- ?+0 0x11d91d0 con 0x11a0870
> 2015-01-07 13:15:22.058934 7ff16e240880  1 -- 163.162.90.120:0/1028527 --> 163.162.90.120:6789/0 -- mon_subscribe({monmap=2+,osdmap=0}) v2 -- ?+0 0x11d9ab0 con 0x11a0870
> 2015-01-07 13:15:22.059214 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 <== mon.0 163.162.90.120:6789/0 5 ==== mon_map magic: 0 v1 ==== 200+0+0 (3839442293 0 0) 0x7ff148001130 con 0x11a0870
> 2015-01-07 13:15:22.059140 7ff1567fc700  2 RGWDataChangesLog::ChangesRenewThread: start
> 2015-01-07 13:15:22.059737 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 <== mon.0 163.162.90.120:6789/0 6 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (1877860257 0 0) 0x7ff148001410 con 0x11a0870
> 2015-01-07 13:15:22.059869 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 <== mon.0 163.162.90.120:6789/0 7 ==== osd_map(52..52 src has 1..52) v3 ==== 5987+0+0 (3066791464 0 0) 0x7ff148002d50 con 0x11a0870
> 2015-01-07 13:15:22.060250 7ff16e240880 20 get_obj_state: rctx=0x119c2f0 obj=.rgw.root:default.region state=0x119dba8 s->prefetch_data=0
> 2015-01-07 13:15:22.060302 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 <== mon.0 163.162.90.120:6789/0 8 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (1877860257 0 0) 0x7ff148001130 con 0x11a0870
> 2015-01-07 13:15:22.060325 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 <== mon.0 163.162.90.120:6789/0 9 ==== osd_map(52..52 src has 1..52) v3 ==== 5987+0+0 (3066791464 0 0) 0x7ff1480046f0 con 0x11a0870
> 2015-01-07 13:15:22.060333 7ff16e240880 10 cache get: name=.rgw.root+default.region : miss
> 2015-01-07 13:15:22.060342 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 <== mon.0 163.162.90.120:6789/0 10 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (1877860257 0 0) 0x7ff148004bb0 con 0x11a0870
> 2015-01-07 13:15:22.060444 7ff16e240880  1 -- 163.162.90.120:0/1028527 --> 163.162.90.120:6789/0 -- mon_subscribe({monmap=2+,osdmap=53}) v2 -- ?+0 0x119eaf0 con 0x11a0870
> 2015-01-07 13:15:22.060805 7ff15e7fc700  1 -- 163.162.90.120:0/1028527 <== mon.0 163.162.90.120:6789/0 11 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (1877860257 0 0) 0x7ff148001130 con 0x11a0870
> 2015-01-07 13:15:44.059765 7ff1567fc700  2 RGWDataChangesLog::ChangesRenewThread: start
> [Wed Jan 07 13:16:03.075572 2015] [fcgid:info] [pid 2051] mod_fcgid: server rdo-ctrl01:/var/www/radosgw/s3gw.fcgi(28632) started
> 2015-01-07 13:16:03.092695 7f6aea8df880  0 ceph version 0.87 (c51c8f9d80fa4e0168aa52685b8de40e42758578), process radosgw, pid 28632
> 2015-01-07 13:16:03.099484 7f6aea8df880  1 -- :/0 messenger.start
> 2015-01-07 13:16:03.100152 7f6aea8df880  1 -- :/1028632 --> 163.162.90.120:6789/0 -- auth(proto 0 40 bytes epoch 0) v1 -- ?+0 0xac8100 con 0xa8f870
> 2015-01-07 13:16:03.100463 7f6aea8d7700  1 -- 163.162.90.120:0/1028632 learned my addr 163.162.90.120:0/1028632
> 2015-01-07 13:16:03.101414 7f6adaffd700  1 -- 163.162.90.120:0/1028632 <== mon.0 163.162.90.120:6789/0 1 ==== mon_map magic: 0 v1 ==== 200+0+0 (3839442293 0 0) 0x7f6ad0000ab0 con 0xa8f870
> 2015-01-07 13:16:03.101525 7f6adaffd700  1 -- 163.162.90.120:0/1028632 <== mon.0 163.162.90.120:6789/0 2 ==== auth_reply(proto 2 0 (0) Success) v1 ==== 33+0+0 (763949546 0 0) 0x7f6ad0000f70 con 0xa8f870
> 2015-01-07 13:16:03.101857 7f6adaffd700  1 -- 163.162.90.120:0/1028632 --> 163.162.90.120:6789/0 -- auth(proto 2 32 bytes epoch 0) v1 -- ?+0 0x7f6ac4001210 con 0xa8f870
> 2015-01-07 13:16:03.102507 7f6adaffd700  1 -- 163.162.90.120:0/1028632 <== mon.0 163.162.90.120:6789/0 3 ==== auth_reply(proto 2 0 (0) Success) v1 ==== 222+0+0 (3506980510 0 0) 0x7f6ad0000f70 con 0xa8f870
> 2015-01-07 13:16:03.102691 7f6adaffd700  1 -- 163.162.90.120:0/1028632 --> 163.162.90.120:6789/0 -- auth(proto 2 181 bytes epoch 0) v1 -- ?+0 0x7f6ac4001dc0 con 0xa8f870
> 2015-01-07 13:16:03.103335 7f6adaffd700  1 -- 163.162.90.120:0/1028632 <== mon.0 163.162.90.120:6789/0 4 ==== auth_reply(proto 2 0 (0) Success) v1 ==== 425+0+0 (2006256272 0 0) 0x7f6ad0001200 con 0xa8f870
> 2015-01-07 13:16:03.103464 7f6adaffd700  1 -- 163.162.90.120:0/1028632 --> 163.162.90.120:6789/0 -- mon_subscribe({monmap=0+}) v2 -- ?+0 0xac84c0 con 0xa8f870
> 2015-01-07 13:16:03.103571 7f6aea8df880  1 -- 163.162.90.120:0/1028632 --> 163.162.90.120:6789/0 -- mon_subscribe({monmap=2+,osdmap=0}) v2 -- ?+0 0xac8790 con 0xa8f870
> 2015-01-07 13:16:03.104040 7f6adaffd700  1 -- 163.162.90.120:0/1028632 <== mon.0 163.162.90.120:6789/0 5 ==== mon_map magic: 0 v1 ==== 200+0+0 (3839442293 0 0) 0x7f6ad0001130 con 0xa8f870
> 2015-01-07 13:16:03.104123 7f6adaffd700  1 -- 163.162.90.120:0/1028632 <== mon.0 163.162.90.120:6789/0 6 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (1877860257 0 0) 0x7f6ad0001410 con 0xa8f870
> 2015-01-07 13:16:03.104149 7f6aea8df880  1 -- 163.162.90.120:0/1028632 --> 163.162.90.120:6789/0 -- mon_subscribe({monmap=2+,osdmap=0}) v2 -- ?+0 0xac89f0 con 0xa8f870
> 2015-01-07 13:16:03.104468 7f6adaffd700  1 -- 163.162.90.120:0/1028632 <== mon.0 163.162.90.120:6789/0 7 ==== osd_map(52..52 src has 1..52) v3 ==== 5987+0+0 (3066791464 0 0) 0x7f6ad00028a0 con 0xa8f870
> 2015-01-07 13:16:03.104409 7f6acaffd700  2 RGWDataChangesLog::ChangesRenewThread: start
> 2015-01-07 13:16:03.104847 7f6adaffd700  1 -- 163.162.90.120:0/1028632 <== mon.0 163.162.90.120:6789/0 8 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (1877860257 0 0) 0x7f6ad0002bc0 con 0xa8f870
> 2015-01-07 13:16:03.104879 7f6adaffd700  1 -- 163.162.90.120:0/1028632 <== mon.0 163.162.90.120:6789/0 9 ==== osd_map(52..52 src has 1..52) v3 ==== 5987+0+0 (3066791464 0 0) 0x7f6ad0004670 con 0xa8f870
> 2015-01-07 13:16:03.104887 7f6aea8df880 20 get_obj_state: rctx=0xa8cac0 obj=.rgw.root:default.region state=0xa8cb98 s->prefetch_data=0
> 2015-01-07 13:16:03.104895 7f6adaffd700  1 -- 163.162.90.120:0/1028632 <== mon.0 163.162.90.120:6789/0 10 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (1877860257 0 0) 0x7f6ad0004b00 con 0xa8f870
> 2015-01-07 13:16:03.104915 7f6aea8df880 10 cache get: name=.rgw.root+default.region : miss
> 2015-01-07 13:16:03.105029 7f6aea8df880  1 -- 163.162.90.120:0/1028632 --> 163.162.90.120:6789/0 -- mon_subscribe({monmap=2+,osdmap=53}) v2 -- ?+0 0xa8dac0 con 0xa8f870
> 2015-01-07 13:16:03.105381 7f6adaffd700  1 -- 163.162.90.120:0/1028632 <== mon.0 163.162.90.120:6789/0 11 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (1877860257 0 0) 0x7f6ad0002bc0 con 0xa8f870
> [Wed Jan 07 13:16:09.082085 2015] [fcgid:info] [pid 2051] mod_fcgid: process /var/www/radosgw/s3gw.fcgi(28527) exit(communication error), get stop signal 15
>
>
> 2) modfcgi:
>
> [Wed Jan 07 13:16:02.069467 2015] [fcgid:warn] [pid 2065] [client 163.162.90.120:41670] mod_fcgid: read data timeout in 40 seconds
> [Wed Jan 07 13:16:02.069769 2015] [core:error] [pid 2065] [client 163.162.90.120:41670] End of script output before headers: s3gw.fcgi
> [Wed Jan 07 13:16:43.080778 2015] [fcgid:warn] [pid 2068] [client 163.162.90.120:41673] mod_fcgid: read data timeout in 40 seconds
> [Wed Jan 07 13:16:43.080811 2015] [core:error] [pid 2068] [client 163.162.90.120:41673] End of script output before headers: s3gw.fcgi
> [Wed Jan 07 13:17:25.127593 2015] [fcgid:warn] [pid 2062] [client 163.162.90.120:41675] mod_fcgid: read data timeout in 40 seconds
> [Wed Jan 07 13:17:25.127640 2015] [core:error] [pid 2062] [client 163.162.90.120:41675] End of script output before headers: s3gw.fcgi
>
>
> 3) Rados:
> 2015-01-07 12:13:54.888190 7f86399a8700 -1 Initialization timeout, failed to initialize
>
>
>
> Any ideas?
> Thanks
>
> Walter
>
> --
>
> Per favore non inviatemi allegati in formato MS Office.
>
> Utilizza alternativamente documenti in formato OpenDocument.
> _______________________________________________
> 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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux