Dear all,
I tried another way that use command ceph-deploy to create radosgw.
After that I can get list or create container finally.
But new problem is if I tried to upload files or delete container that
radosgw will return the message "Access denied".
Totally have no idea. Any help will be appreciated.
Dear
Best wishes,
Mika
2015-06-18 20:26 GMT+08:00 venkat <[email protected]>:
>
> can you please let me know if you solved this issue please
>
>
>
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
192.168.1.110
DEBUG:requests.packages.urllib3.connectionpool:"GET /auth HTTP/1.1" 204 0
DEBUG:swiftclient:REQ: curl -i http://192.168.1.110:7480/auth -X GET
DEBUG:swiftclient:RESP STATUS: 204 No Content
DEBUG:swiftclient:RESP HEADERS: [('content-length', '0'), ('x-auth-token',
'AUTH_rgwtk0b0000006d656c6f6e3a7377696674a4c215527f22deaca1fa8855dd4f9b3afc303f314d61ad4312a233cf3406ec6061366933'),
('connection', 'Keep-Alive'), ('x-storage-token',
'AUTH_rgwtk0b0000006d656c6f6e3a7377696674a4c215527f22deaca1fa8855dd4f9b3afc303f314d61ad4312a233cf3406ec6061366933'),
('x-storage-url', 'http://192.168.1.110:7480/swift/v1'), ('content-type',
'application/json')]
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
192.168.1.110
DEBUG:requests.packages.urllib3.connectionpool:"GET /swift/v1/test?format=json
HTTP/1.1" 401 23
INFO:swiftclient:REQ: curl -i
http://192.168.1.110:7480/swift/v1/test?format=json -X GET -H "X-Auth-Token:
AUTH_rgwtk0b0000006d656c6f6e3a7377696674a4c215527f22deaca1fa8855dd4f9b3afc303f314d61ad4312a233cf3406ec6061366933"
INFO:swiftclient:RESP STATUS: 401 Unauthorized
INFO:swiftclient:RESP HEADERS: [('accept-ranges', 'bytes'), ('connection',
'Keep-Alive'), ('content-type', 'application/json; charset=utf-8'),
('content-length', '23')]
INFO:swiftclient:RESP BODY: {"Code":"AccessDenied"}
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
192.168.1.110
DEBUG:requests.packages.urllib3.connectionpool:"GET /auth HTTP/1.1" 204 0
DEBUG:swiftclient:REQ: curl -i http://192.168.1.110:7480/auth -X GET
DEBUG:swiftclient:RESP STATUS: 204 No Content
DEBUG:swiftclient:RESP HEADERS: [('content-length', '0'), ('x-auth-token',
'AUTH_rgwtk0b0000006d656c6f6e3a73776966747d5731764d837adfa2fa88556829053b865c872c3c66238b500f2d0fd766f80126e68774'),
('connection', 'Keep-Alive'), ('x-storage-token',
'AUTH_rgwtk0b0000006d656c6f6e3a73776966747d5731764d837adfa2fa88556829053b865c872c3c66238b500f2d0fd766f80126e68774'),
('x-storage-url', 'http://192.168.1.110:7480/swift/v1'), ('content-type',
'application/json')]
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
192.168.1.110
DEBUG:requests.packages.urllib3.connectionpool:"GET /swift/v1/test?format=json
HTTP/1.1" 401 23
INFO:swiftclient:REQ: curl -i
http://192.168.1.110:7480/swift/v1/test?format=json -X GET -H "X-Auth-Token:
AUTH_rgwtk0b0000006d656c6f6e3a73776966747d5731764d837adfa2fa88556829053b865c872c3c66238b500f2d0fd766f80126e68774"
INFO:swiftclient:RESP STATUS: 401 Unauthorized
INFO:swiftclient:RESP HEADERS: [('accept-ranges', 'bytes'), ('connection',
'Keep-Alive'), ('content-type', 'application/json; charset=utf-8'),
('content-length', '23')]
INFO:swiftclient:RESP BODY: {"Code":"AccessDenied"}
ERROR:swiftclient:Container GET failed:
http://192.168.1.110:7480/swift/v1/test?format=json 401 Unauthorized
{"Code":"AccessDenied"}
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line
1261, in _retry
rv = func(self.url, self.token, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line
656, in get_container
http_response_content=body)
ClientException: Container GET failed:
http://192.168.1.110:7480/swift/v1/test?format=json 401 Unauthorized
{"Code":"AccessDenied"}
Error Deleting: test: Container GET failed:
http://192.168.1.110:7480/swift/v1/test?format=json 401 Unauthorized
{"Code":"AccessDenied"}
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
192.168.1.110
DEBUG:requests.packages.urllib3.connectionpool:"GET /auth HTTP/1.1" 204 0
DEBUG:swiftclient:REQ: curl -i http://192.168.1.110:7480/auth -X GET
DEBUG:swiftclient:RESP STATUS: 204 No Content
DEBUG:swiftclient:RESP HEADERS: [('content-length', '0'), ('x-auth-token',
'AUTH_rgwtk0b0000006d656c6f6e3a7377696674febff3bb269a52bbcafa88550f36d831425f2f1d0e071f3f3849723da372011cff9154d4'),
('connection', 'Keep-Alive'), ('x-storage-token',
'AUTH_rgwtk0b0000006d656c6f6e3a7377696674febff3bb269a52bbcafa88550f36d831425f2f1d0e071f3f3849723da372011cff9154d4'),
('x-storage-url', 'http://192.168.1.110:7480/swift/v1'), ('content-type',
'application/json')]
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
192.168.1.110
DEBUG:requests.packages.urllib3.connectionpool:"PUT /swift/v1/test HTTP/1.1"
201 0
DEBUG:swiftclient:REQ: curl -i http://192.168.1.110:7480/swift/v1/test -X PUT
-H "Content-Length: 0" -H "X-Auth-Token:
AUTH_rgwtk0b0000006d656c6f6e3a7377696674febff3bb269a52bbcafa88550f36d831425f2f1d0e071f3f3849723da372011cff9154d4"
DEBUG:swiftclient:RESP STATUS: 201 Created
DEBUG:swiftclient:RESP HEADERS: [('accept-ranges', 'bytes'), ('connection',
'Keep-Alive'), ('content-type', 'text/plain; charset=utf-8'),
('content-length', '0')]
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
192.168.1.110
DEBUG:requests.packages.urllib3.connectionpool:"GET /auth HTTP/1.1" 204 0
DEBUG:swiftclient:REQ: curl -i http://192.168.1.110:7480/auth -X GET
DEBUG:swiftclient:RESP STATUS: 204 No Content
DEBUG:swiftclient:RESP HEADERS: [('content-length', '0'), ('x-auth-token',
'AUTH_rgwtk0b0000006d656c6f6e3a73776966741fd178aae7244d03cafa8855c70c543b2493558cd91353e7c7d59467f46485aa0341e920'),
('connection', 'Keep-Alive'), ('x-storage-token',
'AUTH_rgwtk0b0000006d656c6f6e3a73776966741fd178aae7244d03cafa8855c70c543b2493558cd91353e7c7d59467f46485aa0341e920'),
('x-storage-url', 'http://192.168.1.110:7480/swift/v1'), ('content-type',
'application/json')]
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
192.168.1.110
DEBUG:requests.packages.urllib3.connectionpool:"HEAD /swift/v1/test/cirr.img
HTTP/1.1" 404 0
INFO:swiftclient:REQ: curl -i http://192.168.1.110:7480/swift/v1/test/cirr.img
-I -H "X-Auth-Token:
AUTH_rgwtk0b0000006d656c6f6e3a73776966741fd178aae7244d03cafa8855c70c543b2493558cd91353e7c7d59467f46485aa0341e920"
INFO:swiftclient:RESP STATUS: 404 Not Found
INFO:swiftclient:RESP HEADERS: [('accept-ranges', 'bytes'), ('connection',
'Keep-Alive'), ('content-type', 'text/plain; charset=utf-8'),
('content-length', '9')]
ERROR:swiftclient:Object HEAD failed:
http://192.168.1.110:7480/swift/v1/test/cirr.img 404 Not Found
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line
1261, in _retry
rv = func(self.url, self.token, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line
922, in head_object
http_response_content=body)
ClientException: Object HEAD failed:
http://192.168.1.110:7480/swift/v1/test/cirr.img 404 Not Found
DEBUG:requests.packages.urllib3.connectionpool:"PUT /swift/v1/test/cirr.img
HTTP/1.1" 401 12
INFO:swiftclient:REQ: curl -i http://192.168.1.110:7480/swift/v1/test/cirr.img
-X PUT -H "X-Auth-Token:
AUTH_rgwtk0b0000006d656c6f6e3a73776966741fd178aae7244d03cafa8855c70c543b2493558cd91353e7c7d59467f46485aa0341e920"
INFO:swiftclient:RESP STATUS: 401 Unauthorized
INFO:swiftclient:RESP HEADERS: [('accept-ranges', 'bytes'), ('connection',
'Keep-Alive'), ('content-type', 'text/plain; charset=utf-8'),
('content-length', '12')]
INFO:swiftclient:RESP BODY: AccessDenied
put_object('test', 'cirr.img', ...) failure and no ability to reset contents
for reupload.
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com