Re: Empty swift_key after key create

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

 



I think you have to add ‘--gen-secret’  in ‘radosgw-admin key create --subuser=testuser:swift --key-type=swift’

 

 

 

De: ceph-users-bounces@xxxxxxxxxxxxxx [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] En nombre de Mihály Árva-Tóth
Enviado el: viernes, 21 de junio de 2013 13:37
Para: ceph-users@xxxxxxxxxxxxxx
Asunto: Empty swift_key after key create

 

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


____________
Verificada la ausencia de virus por G Data AntiVirus Versión: AVA 22.10538 del 21.06.2013 Noticias de virus: www.antiviruslab.com
_______________________________________________
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