Use a browser to access the host, can you see this information? <?xml version="1.0" encoding="UTF-8" ?> - <ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> - <Owner> <ID>anonymous</ID> <DisplayName /> </Owner> <Buckets /> </ListAllMyBucketsResult>
Or you can try modify /etc/ceph/ceph.conf add civetweb config, and restart radosgw [client.radosgw.gateway] ... rgw frontends = "civetweb port=80" ... /etc/init.d/radosgw restart 发件人: Daleep Bais [mailto:[email protected]] 发送时间: 2015年9月10日 20:45 收件人: guce 04152 (RD) 抄送: ceph-users 主题: Re: [ceph-users] 答复: Unable to create bucket using S3 or Swift API in Ceph RADOSGW Hi Guce, First of very sorry for delay in replying back, got stuck in something. I followed the steps as you told. I am getting Error : 405 method not allowed while trying to create bucket using S3 script. root@ceph-node1:~/cluster# python s3test.py Traceback (most recent call last): File "s3test.py", line 12, in <module> bucket = conn.create_bucket('my-new-bucket') File "/usr/lib/python2.7/dist-packages/boto/s3/connection.py", line 621, in create_bucket response.status, response.reason, body) boto.exception.S3ResponseError: S3ResponseError: 405 Method Not Allowed Please suggest, what could be wrong. Thanks a lot for your help! Daleep Singh Bais On Tue, Aug 25, 2015 at 3:04 PM, Guce <[email protected]<mailto:[email protected]>> wrote: try a2enmod proxy_fcgi service apache2 restart 发件人: ceph-users [mailto:[email protected]<mailto:[email protected]>] 代表 Daleep Bais 发送时间: 2015年8月25日 17:29 收件人: ceph-users 主题: [ceph-users] Unable to create bucket using S3 or Swift API in Ceph RADOSGW Hi, I have followed the steps as per below URL to install and create RADOSGW on a Ceph cluster. http://docs.ceph.com/docs/master/radosgw/config/ However, when I try to create a new bucket, I get below error message. I have tried this using S3 and Swift API's both. ==> /var/log/apache2/rgw_error.log <== [Tue Aug 25 08:48:17.800712 2015] [proxy:warn] [pid 2174:tid 1138750512] [client 192.168.1.121:54002<http://192.168.1.121:54002>] AH01144: No protocol handler was valid f or the URL /auth/1.0. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. ==> /var/log/apache2/rgw_access.log <== 192.168.1.121 - - [25/Aug/2015:08:48:17 +0000] "GET /auth/1.0 HTTP/1.1" 500 802 "-" "python-swiftclient-2.5.0" ==> /var/log/apache2/rgw_error.log <== [Tue Aug 25 08:48:31.733125 2015] [proxy:warn] [pid 2174:tid 1147139120] [client 192.168.1.121:54003<http://192.168.1.121:54003>] AH01144: No protocol handler was valid fo$ ==> /var/log/apache2/rgw_access.log <== 192.168.1.121 - - [25/Aug/2015:08:48:31 +0000] "PUT /my-new-bucket/ HTTP/1.1" 500 800 "-" "Boto/2.34.0 Python/2.7.9 Linux/3.2.54" ==> /var/log/apache2/rgw_error.log <== [Tue Aug 25 08:48:32.205837 2015] [proxy:warn] [pid 2174:tid 1163916336] [client 192.168.1.121:54004<http://192.168.1.121:54004>] AH01144: No protocol handler was valid for the URL /my-new-bucket/. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. ==> /var/log/apache2/rgw_access.log <== 192.168.1.121 - - [25/Aug/2015:08:48:32 +0000] "PUT /my-new-bucket/ HTTP/1.1" 500 800 "-" "Boto/2.34.0 Python/2.7.9 Linux/3.2.54" ==> /var/log/apache2/rgw_error.log <== [Tue Aug 25 08:48:34.205794 2015] [proxy:warn] [pid 2174:tid 1121973296] [client 192.168.1.121:54005<http://192.168.1.121:54005>] AH01144: No protocol handler was valid fo Any suggestions please.. Thanks. Daleep Singh Bais ------------------------------------------------------------------------------------------------------------------------------------- 本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本 邮件! This e-mail and its attachments contain confidential information from H3C, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! _______________________________________________ ceph-users mailing list [email protected]<mailto:[email protected]> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
