Problem running S3 middleware ...
Hi,
I set up SWIFT following SAIO 1.4.0 instructions. I am able to run st command as follows:
ghuang@ubuntu:~$ st -A http://
Account: AUTH_6ae1aeae-
Containers: 2
Objects: 9
Bytes: 424992505
Accept-Ranges: bytes
So my next step is trying to make S3 compatibility work on SWIFT by running S3 middleware. I installed s3curl and modified endpoint to 127.0.0.1 in s3curl.pl. But when I run the following command, it failed, any idea?
ghuang@ubuntu:~$ s3curl.pl --id test:tester --key testing --get -- -s -v http://
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 /auth/v1.0 HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-
> Host: 127.0.0.1:8080
> Accept: */*
> Date: Mon, 27 Jun 2011 17:01:02 +0000
> Authorization: AWS test:tester:
>
< HTTP/1.1 401 Unauthorized
< Content-Length: 358
< Content-Type: text/html; charset=UTF-8
< Date: Mon, 27 Jun 2011 17:01:04 GMT
<
{ [data not shown]
* Connection #0 to host 127.0.0.1 left intact
* Closing connection #0
<html>
<head>
<title>401 Unauthorized<
</head>
<body>
<h1>401 Unauthorized</h1>
This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.<br />
<br />
</body>
</html>
Did I miss any configuration step? Any insight is very much appreciated.
Thanks in advance.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask George Huang for more information if necessary.