Hello,

I try to use s3curl to test swift3 but I miss something.

Here is the command which I use:
./s3curl.pl - 'swift' -key '3d8b70ad194a4cf6857e59ec6cccc38d' -get - -s -v
http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a

It shows:
Can't locate Digest/HMAC_SHA1.pm in @INC (@INC contains:
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./
s3curl.pl line 20.
BEGIN failed--compilation aborted at ./s3curl.pl line 20.

I am not sure that I write the command correctly.

*swift* - is the account
*3d8b70ad194a4cf6857e59ec6cccc38d* - is the X-Subject-Token I have got in
the header with this command:

curl -i \
  -H "Content-Type: application/json" \
  -d '
{ "auth": {
    "identity": {
      "methods": ["password"],
      "password": {
        "user": {
          "name": "swift",
          "domain": { "name": "default" },
          "password": "swift"
        }
      }
    },
    "scope": {
      "project": {
        "name": "service",
        "domain": { "name": "default" }
      }
    }
  }
}' \
  http://keystone:5000/v3/auth/tokens ; echo

*http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a
<http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a>* - is the
public endpoint

Am I doing correctly?

Why doesn't it work?

Sincerely,
Alexandr
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to