helps need for 403 error when first swift/A3 request sent to object gateway

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Experts

i am fresh user for the CEPH cluster

after my installation of CEPH gateway, the HTTP transaction never work!!
i think there is something wrong in the configuration, but i don't know where

from the apache2 log show, the message sent to protocol handle already and reply with 403, seems issue exist in Radosgw.

what should i check for the configuration ?, any suggestion ?  thanks in advance

Best Regards

/Yijun

my test steps:
1.  user creation

{ "user_id": "testuser",
  "display_name": "First User",
  "email": "",
  "suspended": 0,
  "max_buckets": 1000,
  "auid": 0,
  "subusers": [
        { "id": "testuser:swift",
          "permissions": "full-control"}],
  "keys": [
        { "user": "testuser:swift",
          "access_key": "BYHHGLIZ0CG1ICPDJF98",
          "secret_key": ""},
        { "user": "testuser",
          "access_key": "PYNPGRM0VVLHE1VGJVWD",
          "secret_key": "OMUT8kjLmwpFPCPUQCTYrbPJvU0TMG4lD3aCc+LD"},
        { "user": "testuser:swift",
          "access_key": "RFC5BX59PL40PG4FN0ZW",
          "secret_key": ""}],
  "swift_keys": [
        { "user": "testuser:swift",
          "secret_key": "TsmyxOJXEkBJ86jVtYpLS2rVziEmIyrc2hRNHNXh"}],
  "caps": [],
  "op_mask": "read, write, delete",
  "default_placement": "",
  "placement_tags": [],
  "bucket_quota": { "enabled": false,
      "max_size_kb": -1,
      "max_objects": -1},
  "user_quota": { "enabled": false,
      "max_size_kb": -1,
      "max_objects": -1},
  "temp_url_keys": []}





zyj@zyj-virtual-machine:~$ curl -v -X GET -H "X-Auth-Key: zyj:swift" -H "X-Auth-Token: BYHHGLIZ0CG1ICPDJF98" http://10.74.124.87/auth
* About to connect() to 10.74.124.87 port 80 (#0)
*   Trying 10.74.124.87... connected
> GET /auth HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: 10.74.124.87
> Accept: */*
> X-Auth-Key: testuser:swift
> X-Auth-Token: BYHHGLIZ0CG1ICPDJF98
< HTTP/1.1 403 Forbidden
< Date: Tue, 01 Sep 2015 04:57:55 GMT
< Server: Apache/2.4.7 (Ubuntu)
< Accept-Ranges: bytes
< Content-Length: 23
< Content-Type: application/json
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux