Re: Radosgw agent only syncing metadata

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

 



On 25/11/14 12:40, Mark Kirkwood wrote:
On 25/11/14 11:58, Yehuda Sadeh wrote:
On Mon, Nov 24, 2014 at 2:43 PM, Mark Kirkwood
<mark.kirkwood@xxxxxxxxxxxxxxx> wrote:
On 22/11/14 10:54, Yehuda Sadeh wrote:

On Thu, Nov 20, 2014 at 6:52 PM, Mark Kirkwood
<mark.kirkwood@xxxxxxxxxxxxxxx> wrote:


Fri Nov 21 02:13:31 2014

x-amz-copy-source:bucketbig/_multipart_big.dat.2/fjid6CneDQYKisHf0pRFOT5cEWF_EQr.meta

/bucketbig/__multipart_big.dat.2%2Ffjid6CneDQYKisHf0pRFOT5cEWF_EQr.meta

2014-11-21 15:13:31.914925 7fb5e3f87700 15 generated auth header: AWS
us-west key:tk7RgBQMD92je2Nz1m2D/GV+VNM=
2014-11-21 15:13:31.914964 7fb5e3f87700 20 sending request to

http://ceph2:80/bucketbig/__multipart_big.dat.2%2Ffjid6CneDQYKisHf0pRFOT5cEWF_EQr.meta?rgwx-uid=us-west&rgwx-region=us&rgwx-prepend-metadata=us

2014-11-21 15:13:31.920510 7fb5e3f87700 10 receive_http_header
2014-11-21 15:13:31.920525 7fb5e3f87700 10 received header:HTTP/1.1
411
Length Required


It looks like you're running the wrong fastcgi module.

Yehuda


Thanks Yehuda - so what would be the right fastcgi? Do you mean
http://gitbuilder.ceph.com/libapache-mod-fastcgi-deb-precise-x86_64-basic/ref/master/



This one should work, yeah.


Looks that that was the issue:

$ rados df|grep bucket
.us-east.rgw.buckets -                      93740           24
0            0           0           34        93746          216     93740
.us-east.rgw.buckets.index -                          0            1
         0            0           0           24           25
27            0
.us-west.rgw.buckets -                      93740           24
0            0           0            0            0          215     93740
.us-west.rgw.buckets.index -                          0            1
         0            0           0           19           18
19            0

Now I reinstalled the Ceph patched apache2 and fastcgi module () not
sure if needed to do apache2 as well):

$ cat /etc/apt/sources.list.d/ceph.list
...
deb
http://gitbuilder.ceph.com/libapache-mod-fastcgi-deb-precise-x86_64-basic/ref/master/
precise main
deb
http://gitbuilder.ceph.com/apache2-deb-precise-x86_64-basic/ref/master/
precise main

Now that I've got that working I'll look at getting a more complex setup

Just for the record, using these apache and fastcgi modules seems to be the story - I've managed to run through the more complicated examples:

- zones in different ceph clusters
- zones in different regions

... and get replication working (on Ubuntu 12.04 and 14.04 with Ceph 0.87). Thanks for your help. I have some further questions that I'll ask in a new thread (as they are not really about 'how to make it work').

regards

Mark


_______________________________________________
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