Revision history [back]

click to hide/show revision 1
initial version

Hi Chuck,

Thanks for your reply. So what would the storage url be if I just followed the SAIO 1.4.0 instructions (loopback) to setup SWIFT? Would it be http://127.0.0.1:8080/v1.0 (without auth)? I tried it but still didn't work (see below).

ghuang@ubuntu:~$ s3curl.pl --id test:tester --key testing --get -- -s -v -k http://127.0.0.1:8080/v1.0 Unknown option: get * About to connect() to 127.0.0.1 port 8080 (#0) * Trying 127.0.0.1... connected * Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)

GET /v1.0 HTTP/1.1 User-Agent: curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15 Host: 127.0.0.1:8080 Accept: / Date: Thu, 21 Jul 2011 21:16:47 +0000 Authorization: AWS test:tester:qAfC7Rvn17/xaqrVOAOeC8Bapgg=

< HTTP/1.1 500 Internal Server Error < Content-Type: text/plain < Content-Length: 872 < Date: Thu, 21 Jul 2011 21:16:53 GMT < Connection: close <

Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/eventlet/wsgi.py", line 336, in handle_one_response result = self.application(self.environ, start_response) File "/home/ghuang/swift/trunk/swift/common/middleware/healthcheck.py", line 38, in __call__ return self.app(env, start_response) File "/home/ghuang/swift/trunk/swift/common/middleware/memcache.py", line 32, in __call__ return self.app(env, start_response) File "/home/ghuang/swift/trunk/swift/common/middleware/swauth.py", line 133, in __call__ groups = self.get_groups(env, token) File "/home/ghuang/swift/trunk/swift/common/middleware/swauth.py", line 225, in get_groups msg = base64.urlsafe_b64decode(unquote(token)) File "/usr/lib/python2.6/urllib.py", line 1170, in unquote res = s.split('%') AttributeError: 'NoneType' object has no attribute 'split' * Closing connection #0 ghuang@ubuntu:~$

Thanks.