Re: rdosgw swift subuser creation

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

 



Hi Tim,

Try adding --gen-key to your create command (you should be able to create
a key for the subuser you already created).

Thanks,
Matt

On 9/27/13 4:35 PM, "Snider, Tim" <Tim.Snider@xxxxxxxxxx> wrote:

>I created an rdosgw user and swift subuser and attempted to generate a
>key for the swift user. Using the commands below. However the swift key
>was empty when the command completed. What did I miss?
>
>root@controller21:/etc# radosgw-admin user create --uid=rados
>--display-name=rados --email=non@xxxxxxxx
>2013-09-27 13:34:08.155162 7f984f0a5780  0 WARNING: cannot read region map
>{ "user_id": "rados",
>  "display_name": "rados",
>  "email": "non@xxxxxxxx",
>  "suspended": 0,
>  "max_buckets": 1000,
>  "auid": 0,
>  "subusers": [],
>  "keys": [
>        { "user": "rados",
>          "access_key": "R5F0D2UCSK3618DJ829A",
>          "secret_key": "PJR1rvV2+Xrzlwo+AZZKXextsDl45EaLljzopgjD"}],
>  "swift_keys": [],
>  "caps": [],
>  "op_mask": "read, write, delete",
>  "default_placement": "",
>  "placement_tags": []}
>
>root@controller21:/etc# radosgw-admin subuser create  --uid=rados
>--subuser=rados:swift   --key-type=swift --access=full
>2013-09-27 13:34:58.761911 7f5307c04780  0 WARNING: cannot read region map
>{ "user_id": "rados",
>  "display_name": "rados",
>  "email": "non@xxxxxxxx",
>  "suspended": 0,
>  "max_buckets": 1000,
>  "auid": 0,
>  "subusers": [
>        { "id": "rados:swift",
>          "permissions": "full-control"}],
>  "keys": [
>        { "user": "rados",
>          "access_key": "R5F0D2UCSK3618DJ829A",
>          "secret_key": "PJR1rvV2+Xrzlwo+AZZKXextsDl45EaLljzopgjD"}],
>  "swift_keys": [],
>  "caps": [],
>  "op_mask": "read, write, delete",
>  "default_placement": "",
>  "placement_tags": []}
>
>root@controller21:/etc# radosgw-admin key create   --subuser=rados:swift
> --key-type=swift
>2013-09-27 13:35:43.544005 7f599e672780  0 WARNING: cannot read region map
>{ "user_id": "rados",
>  "display_name": "rados",
>  "email": "non@xxxxxxxx",
>  "suspended": 0,
>  "max_buckets": 1000,
>  "auid": 0,
>  "subusers": [
>        { "id": "rados:swift",
>          "permissions": "full-control"}],
>  "keys": [
>        { "user": "rados",
>          "access_key": "R5F0D2UCSK3618DJ829A",
>          "secret_key": "PJR1rvV2+Xrzlwo+AZZKXextsDl45EaLljzopgjD"}],
>  "swift_keys": [
>        { "user": "rados:swift",
>          "secret_key": ""}],
>  "caps": [],
>  "op_mask": "read, write, delete",
>  "default_placement": "",
>  "placement_tags": []}
>
>Thanks,
>Tim
>
>Timothy Snider
>Strategic Planning & Architecture - Advanced Development
>NetApp
>316-636-8736 Direct Phone
>316-213-0223 Mobile Phone
>tim.snider@xxxxxxxxxx
>netapp.com
> 
>
>
>_______________________________________________
>ceph-users mailing list
>ceph-users@xxxxxxxxxxxxxx
>http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.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