Empty swift_key after key create

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

 



Hello,

When I create a user, then sub-user and generate a swift key, the key is missing from json output.
    root@ceph4:~# radosgw-admin user create --uid=testuser --display-name="Test User" --email=test@xxxxxxxxxx
    { "user_id": "testuser",
      "display_name": "Test User",
      "email": "test@xxxxxxxxxx",
      "suspended": 0,
      "max_buckets": 1000,
      "auid": 0,
      "subusers": [],
      "keys": [
            { "user": "testuser",
              "access_key": "26EIDOTCAMA6ZE5OW2EO",
              "secret_key": "8bxpvGiE\/JSz8T9l1Ks\/iEqI6sKMswpto\/mUKHNF"}],
      "swift_keys": [],
      "caps": []}
    root@ceph4:~# radosgw-admin subuser create --uid=testuser --subuser=testuser:swift --access=full
    { "user_id": "testuser",
      "display_name": "Test User",
      "email": "test@xxxxxxxxxx",
      "suspended": 0,
      "max_buckets": 1000,
      "auid": 0,
      "subusers": [
            { "id": "testuser:swift",
              "permissions": "full-control"}],
      "keys": [
            { "user": "testuser",
              "access_key": "26EIDOTCAMA6ZE5OW2EO",
              "secret_key": "8bxpvGiE\/JSz8T9l1Ks\/iEqI6sKMswpto\/mUKHNF"}],
      "swift_keys": [],
      "caps": []}
    root@ceph4:~# radosgw-admin key create --subuser=testuser:swift --key-type=swift
    { "user_id": "testuser",
      "display_name": "Test User",
      "email": "test@xxxxxxxxxx",
      "suspended": 0,
      "max_buckets": 1000,
      "auid": 0,
      "subusers": [
            { "id": "testuser:swift",
              "permissions": "full-control"}],
      "keys": [
            { "user": "testuser",
              "access_key": "26EIDOTCAMA6ZE5OW2EO",
              "secret_key": "8bxpvGiE\/JSz8T9l1Ks\/iEqI6sKMswpto\/mUKHNF"}],
      "swift_keys": [
            { "user": "testuser:swift",
              "secret_key": ""}],
      "caps": []}
    root@ceph4:~#
I'm using 0.61.3-1precise on Ubuntu 12.04 LTS x86_64.

What's the problem?

Thank you,
Mihaly
_______________________________________________
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