rgw s3website issue

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

 



Hi Cephers,

I am unable to create bucket hosting a webstite in my vstart cluster.

When I do this in boto :

website_bucket.configure_website('index.html','error.html')

I get :

boto.exception.S3ResponseError: S3ResponseError: 405 Method Not Allowed


Here is my ceph.conf for radosgw:

        rgw frontends = fastcgi, civetweb port=8010

        rgw enable static website = true

        rgw dns name = 10.140.13.22

        rgw dns s3website name = 10.140.13.22


Here are the logs in rgw :

2016-05-29 00:00:47.191297 7ff404ff9700  1 ====== starting new request
req=0x7ff404ff37d0 =====

2016-05-29 00:00:47.191325 7ff404ff9700  2 req 1:0.000028::PUT
/s3website/::initializing for trans_id =
tx000000000000000000001-005749967f-101f-default

2016-05-29 00:00:47.191330 7ff404ff9700 10 host=10.140.13.22

2016-05-29 00:00:47.191338 7ff404ff9700 20 subdomain=
domain=10.140.13.22 in_hosted_domain=1 in_hosted_domain_s3website=1

2016-05-29 00:00:47.191350 7ff404ff9700  5 the op is PUT

2016-05-29 00:00:47.191395 7ff404ff9700 20 get_handler
handler=32RGWHandler_REST_Bucket_S3Website

2016-05-29 00:00:47.191399 7ff404ff9700 10
handler=32RGWHandler_REST_Bucket_S3Website

2016-05-29 00:00:47.191401 7ff404ff9700  2 req 1:0.000104:s3:PUT
/s3website/::getting op 1

2016-05-29 00:00:47.191410 7ff404ff9700 10
RGWHandler_REST_S3Website::error_handler err_no=-2003 http_ret=405

2016-05-29 00:00:47.191412 7ff404ff9700 20 No special error handling today!

2016-05-29 00:00:47.191415 7ff404ff9700 20 handler->ERRORHANDLER:
err_no=-2003 new_err_no=-2003

2016-05-29 00:00:47.191504 7ff404ff9700  2 req 1:0.000207:s3:PUT
/s3website/::op status=0

2016-05-29 00:00:47.191510 7ff404ff9700  2 req 1:0.000213:s3:PUT
/s3website/::http status=405

2016-05-29 00:00:47.191511 7ff404ff9700  1 ====== req done
req=0x7ff404ff37d0 op status=0 http_status=405 ======


Code wise I see that put_op is not defined for
RGWHandler_REST_S3Website class but is defined for
RGWHandler_REST_Bucket_S3 class .

Can somebody please help me out ?




-- 
Gaurav Bafna
9540631400
_______________________________________________
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