Hello, I created a test cluster of 3 OSD hosts (xen1,2,3) based on Ubuntu Xenial, ceph 10.2.1 using the quick start steps in the docs master branch.
After jumping through a few problems, mainly from the inconsistent details in the docs, i got a stable cluster running with RGW. Running s3boto test script to create a new bucket works fine. however, when I use ay other tool to PUT files, I get a strange error stating "host not found". There is nothing in the gateway logs that would suggest why this happens, i only get the list of get requests from the cliient(s) I use. sample: =============================================================== 2016-05-31 13:30:21.953366 7fb2f37be700 1 civetweb: 0x7fb32800cbc0: 10.0.0.1 - - [31/May/2016:13:30:21 +0200] "GET / HTTP/1.1" 200 0 - CrossFTP/1.97.6 (Linux/4.4.0-21-generic; amd64; en; JVM 1.8.0_91) 2016-05-31 13:30:22.975609 7fb2f2fbd700 1 ====== starting new request req=0x7fb2f2fb77e0 ===== 2016-05-31 13:30:22.978613 7fb2f2fbd700 1 ====== req done req=0x7fb2f2fb77e0 op status=0 http_status=200 ====== 2016-05-31 13:30:22.978710 7fb2f2fbd700 1 civetweb: 0x7fb330016690: 10.0.0.1 - - [31/May/2016:13:30:22 +0200] "GET / HTTP/1.1" 200 0 - CrossFTP/1.97.6 (Linux/4.4.0-21-generic; amd64; en; JVM 1.8.0_91) 2016-05-31 13:32:04.032800 7fb2f27bc700 1 ====== starting new request req=0x7fb2f27b67e0 ===== 2016-05-31 13:32:04.034847 7fb2f27bc700 1 ====== req done req=0x7fb2f27b67e0 op status=0 http_status=200 ====== 2016-05-31 13:32:04.034895 7fb2f27bc700 1 civetweb: 0x7fb32c005910: 10.0.0.1 - - [31/May/2016:13:32:04 +0200] "GET / HTTP/1.1" 200 0 - DragonDisk 1.05 ( http://www.dragondisk.com ) ============================================================== example error message when I try a PUT operation on DragonDisk client to a bucket I created (myb), file called testfile ======================================================== 2 Operation: Copy /home/wes/testfile -> http://myb.xen1/testfile Host not found ======================================================== example error I got from using CrossFTP client to upload a file ================================================== L2] LIST All Buckets [R1] LIST /myb [R1] LIST All Buckets (cached) [R1] Succeeded [R1] LIST All Buckets [R1] Succeeded [L2] Succeeded Secure random seed initialized. [L2] S3 Error: -1 (null) error: Request Error: myb.xen1; XML Error Message: null [L2] -1 (null) error: Request Error: myb.xen1; XML Error Message: null [R1] S3 Error: -1 (null) error: Request Error: myb.xen1: unknown error; XML Error Message: null [R1] -1 (null) error: Request Error: myb.xen1: unknown error; XML Error Message: null ==================================================== example put operation for file "ceph-deploy-ceph.log" using s3cmd client on the gateway node (xen1) ===================================================== root@xen1:/home/cl# s3cmd put ceph-deploy-ceph.log s3://myb upload: 'ceph-deploy-ceph.log' -> 's3://myb/ceph-deploy-ceph.log' [1 of 1] 0 of 641045 0% in 0s 0.00 B/s failed WARNING: Retrying failed request: /ceph-deploy-ceph.log ([Errno -2] Name or service not known) WARNING: Waiting 3 sec... upload: 'ceph-deploy-ceph.log' -> 's3://myb/ceph-deploy-ceph.log' [1 of 1] 0 of 641045 0% in 0s 0.00 B/s failed WARNING: Retrying failed request: /ceph-deploy-ceph.log ([Errno -2] Name or service not known) WARNING: Waiting 6 sec... ======================================================= Here is my ceph.conf ============================================= [global] fsid = 77dbb949-8eed-4eea-b0ff-0c612e7e2991 mon_initial_members = xen1, xen2, xen3 mon_host = 10.0.0.10,10.0.0.11,10.0.0.12 auth_cluster_required = cephx auth_service_required = cephx auth_client_required = cephx osd_pool_default_size = 2 [client.radosgw.gateway] rgw_frontends = "civetweb port=80" host = xen1 keyring = /etc/ceph/ceph.client.radosgw.keyring rgw socket path = /var/run/ceph/ceph.radosgw.gateway.sock rgw print continue = false ============================================= Any troubleshooting help will be appreciated. Thanks, hpcre
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com