Hi all,
I want to use swift-client to connect ceph cluster. I have done s3 test on this cluster before.
So I follow the guide to create a subuser and use swift client to test it. But always got an error "404 Not Found"
How can I create the "auth" page?Any help will be appreciated.
- 1 Mon(rgw), 3OSD server(each server 3disks).
- CEPH:0.94.1-13
- Swift-client:2.4.0
------------start--------------
test@uclient:~$ swift --debug -V 1.0 -A http://192.168.1.110/auth -U melon:swift -K 'ujZx+foSYDniRzwypqnqNR7hr763zdt+Qe7TpwvR' list
INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.1.110
DEBUG:urllib3.connectionpool:Setting read timeout to <object object at 0x7fa22f0b3090>
DEBUG:urllib3.connectionpool:"GET /auth HTTP/1.1" 404 279
INFO:swiftclient:REQ: curl -i http://192.168.1.110/auth -X GET
INFO:swiftclient:RESP STATUS: 404 Not Found
INFO:swiftclient:RESP HEADERS: [('date', 'Thu, 18 Jun 2015 01:51:58 GMT'), ('content-length', '279'), ('content-type', 'text/html; charset=iso-8859-1'), ('server', 'Apache/2.4.7 (Ubuntu)')]
INFO:swiftclient:RESP BODY: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /auth was not found on this server.</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at 192.168.1.110 Port 80</address>
</body></html>
ERROR:swiftclient:Auth GET failed: http://192.168.1.110/auth 404 Not Found
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line 1253, in _retry
self.url, self.token = self.get_auth()
File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line 1227, in get_auth
insecure=self.insecure)
File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line 397, in get_auth
insecure=insecure)
File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line 278, in get_auth_1_0
http_status=resp.status, http_reason=resp.reason)
ClientException: Auth GET failed: http://192.168.1.110/auth 404 Not Found
Account not found
------------stop--------------
Guide:
Best wishes,
Mika
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com