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 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? 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