rgw create bucket 403 error

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

 



HI ALL,

I use java code to invoke s3 api to create bucket, but I get some error as follow. And I found many hours with google but can’t solve it. 

The access_key,  secret_key and the java code is no problem, because I change to another rgw (use the same code only change the rgw url) is OK. 

My ceph version is 0.80.5.

Please help. Thank you.

====================================================================
2014-09-29 19:30:58.206898 7f265e1fc700 20 enqueued request req=0x7f2644011e40
2014-09-29 19:30:58.206913 7f265e1fc700 20 RGWWQ:
2014-09-29 19:30:58.206915 7f265e1fc700 20 req: 0x7f2644011e40
2014-09-29 19:30:58.206920 7f265e1fc700 10 allocated request req=0x7f26440124f0
2014-09-29 19:30:58.206953 7f26417fb700 20 dequeued request req=0x7f2644011e40
2014-09-29 19:30:58.206964 7f26417fb700 20 RGWWQ: empty
2014-09-29 19:30:58.207005 7f26417fb700 20 CONTENT_LENGTH=0
2014-09-29 19:30:58.207007 7f26417fb700 20 CONTENT_TYPE=application/x-www-form-urlencoded; charset=utf-8
2014-09-29 19:30:58.207009 7f26417fb700 20 DOCUMENT_ROOT=/var/www/html
2014-09-29 19:30:58.207010 7f26417fb700 20 FCGI_ROLE=RESPONDER
2014-09-29 19:30:58.207010 7f26417fb700 20 GATEWAY_INTERFACE=CGI/1.1
2014-09-29 19:30:58.207011 7f26417fb700 20 HTTP_AUTHORIZATION=AWS ESWEOCEAYEYSB59JROLB:odBmvMAX+LWeWsP/8Ak/sEnVTuI=
2014-09-29 19:30:58.207012 7f26417fb700 20 HTTP_CONNECTION=Keep-Alive
2014-09-29 19:30:58.207014 7f26417fb700 20 HTTP_DATE=Mon, 29 Sep 2014 03:30:29 GMT
2014-09-29 19:30:58.207014 7f26417fb700 20 HTTP_HOST=10.42.36.44
2014-09-29 19:30:58.207015 7f26417fb700 20 HTTP_USER_AGENT=aws-sdk-java/1.8.9.1 Windows_7/6.1 Java_HotSpot(TM)_Client_VM/14.0-b16/1.6.0_14
2014-09-29 19:30:58.207018 7f26417fb700 20 PATH=/sbin:/usr/sbin:/bin:/usr/bin
2014-09-29 19:30:58.207019 7f26417fb700 20 QUERY_STRING=
2014-09-29 19:30:58.207020 7f26417fb700 20 REMOTE_ADDR=10.42.8.57
2014-09-29 19:30:58.207020 7f26417fb700 20 REMOTE_PORT=51343
2014-09-29 19:30:58.207021 7f26417fb700 20 REQUEST_METHOD=PUT
2014-09-29 19:30:58.207022 7f26417fb700 20 REQUEST_URI=/zzm-bucket3/
2014-09-29 19:30:58.207023 7f26417fb700 20 SCRIPT_FILENAME=/var/www/html/s3gw.fcgi
2014-09-29 19:30:58.207024 7f26417fb700 20 SCRIPT_NAME=/zzm-bucket3/
2014-09-29 19:30:58.207025 7f26417fb700 20 SCRIPT_URI=http://10.42.36.44/zzm-bucket3/
2014-09-29 19:30:58.207026 7f26417fb700 20 SCRIPT_URL=/zzm-bucket3/
2014-09-29 19:30:58.207027 7f26417fb700 20 SERVER_ADDR=10.42.36.44
2014-09-29 19:30:58.207027 7f26417fb700 20 SERVER_ADMIN=tiankai517@xxxxxxxxxxxxx
2014-09-29 19:30:58.207028 7f26417fb700 20 SERVER_NAME=10.42.36.44
2014-09-29 19:30:58.207029 7f26417fb700 20 SERVER_PORT=80
2014-09-29 19:30:58.207030 7f26417fb700 20 SERVER_PROTOCOL=HTTP/1.1
2014-09-29 19:30:58.207030 7f26417fb700 20 SERVER_SIGNATURE=
2014-09-29 19:30:58.207031 7f26417fb700 20 SERVER_SOFTWARE=Apache/2.2.22 (Fedora)
2014-09-29 19:30:58.207033 7f26417fb700  1 ====== starting new request req=0x7f2644011e40 =====
2014-09-29 19:30:58.207048 7f26417fb700  2 req 100:0.000015::PUT /zzm-bucket3/::initializing
2014-09-29 19:30:58.207082 7f26417fb700 10 s->object=<NULL> s->bucket=zzm-bucket3
2014-09-29 19:30:58.207088 7f26417fb700  2 req 100:0.000056:s3:PUT /zzm-bucket3/::getting op
2014-09-29 19:30:58.207094 7f26417fb700  2 req 100:0.000062:s3:PUT /zzm-bucket3/:create_bucket:authorizing
2014-09-29 19:30:58.207133 7f26417fb700 20 get_obj_state: rctx=0x7f25d80074d0 obj=.users:ESWEOCEAYEYSB59JROLB state=0x7f25d8009d58 s->prefetch_data=0
2014-09-29 19:30:58.207143 7f26417fb700 10 cache get: name=.users+ESWEOCEAYEYSB59JROLB : type miss (requested=6, cached=0)
2014-09-29 19:30:58.208548 7f26417fb700 10 cache put: name=.users+ESWEOCEAYEYSB59JROLB
2014-09-29 19:30:58.208562 7f26417fb700 10 moving .users+ESWEOCEAYEYSB59JROLB to cache LRU end
2014-09-29 19:30:58.208572 7f26417fb700  5 error reading user info, uid=ESWEOCEAYEYSB59JROLB can't authenticate
2014-09-29 19:30:58.208575 7f26417fb700 10 failed to authorize request
2014-09-29 19:30:58.208706 7f26417fb700  2 req 100:0.001673:s3:PUT /zzm-bucket3/:create_bucket:http status=403
2014-09-29 19:30:58.208715 7f26417fb700  1 ====== req done req=0x7f2644011e40 http_status=403 ======
2014-09-29 19:30:58.208723 7f26417fb700 20 process_request() returned -1--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux