Re: RGW Could not create user

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

 



Thank Wang!
I will check it again.

2016-06-02 7:37 GMT+07:00 David Wang <linuxhunter80@xxxxxxxxx>:
First, please check your ceph cluster is HEALTH_OK and then check if you have the caps the create users.

2016-05-31 16:11 GMT+08:00 Khang Nguyễn Nhật <nguyennhatkhang2704@xxxxxxxxx>:
Thank, Wasserman!
I followed the instructions here: http://docs.ceph.com/docs/master/radosgw/multisite/
Step 1:  radosgw-admin realm create --rgw-realm=default  --default
Step 2:  radosgw-admin zonegroup delete --rgw-zonegroup=default
Step3:   radosgw-admin zonegroup create --rgw-zonegroup=ap --master --default
            radosgw-admin zonegroup default --rgw-zonegroup=ap
Step4:  radosgw-admin zone create --rgw-zonegroup=ap --rgw-zone=ap-southeast --default --master
            radosgw-admin zone default --rgw-zone=ap-southeast
            radosgw-admin zonegroup add --rgw-zonegroup=ap --rgw-zone=ap-southeast

I tried to create the zone group, zone, realm with another name and also similar problems.


2016-05-31 13:33 GMT+07:00 Orit Wasserman <owasserm@xxxxxxxxxx>:
did you set the realm, zonegroup and zone as defaults?


On Tue, May 31, 2016 at 4:45 AM, Khang Nguyễn Nhật
<nguyennhatkhang2704@xxxxxxxxx> wrote:
> Hi,
> I'm having problems with CEPH v10.2.1 Jewel when create user. My cluster is
> used CEPH Jewel, including: 3 OSD, 2 monitors and 1 RGW.
> - Here is the list of cluster pools:
> .rgw.root
> ap-southeast.rgw.control
> ap-southeast.rgw.data.root
> ap-southeast.rgw.gc
> ap-southeast.rgw.users.uid
> ap-southeast.rgw.buckets.data
> ap-southeast.rgw.users.email
> ap-southeast.rgw.users.keys
> ap-southeast.rgw.buckets.index
> ap-southeast.rgw.buckets.non-ec
> ap-southeast.rgw.log
> ap-southeast.rgw.meta
> ap-southeast.rgw.intent-log
> ap-southeast.rgw.usage
> ap-southeast.rgw.users.swift
> - Zonegroup info:
> {
>     "id": "e9585cbd-df92-42a0-964b-15efb1cc0ad6",
>     "name": "ap",
>     "api_name": "ap",
>     "is_master": "true",
>     "endpoints": [
>         "http:\/\/192.168.1.1:8888"
>     ],
>     "hostnames": [],
>     "hostnames_s3website": [],
>     "master_zone": "e1d58724-e44f-4520-b56f-19a40b2ce8c4",
>     "zones": [
>         {
>             "id": "e1d58724-e44f-4520-b56f-19a40b2ce8c4",
>             "name": "ap-southeast",
>             "endpoints": [
>                 "http:\/\/192.168.1.1:8888"
>             ],
>             "log_meta": "true",
>             "log_data": "false",
>             "bucket_index_max_shards": 0,
>             "read_only": "false"
>         }
>     ],
>     "placement_targets": [
>         {
>             "name": "default-placement",
>             "tags": []
>         }
>     ],
>     "default_placement": "default-placement",
>     "realm_id": "93dc1f56-6ec6-48f8-8caa-a7e864eeaeb3"
> }
> - Zone:
> {
>     "id": "e1d58724-e44f-4520-b56f-19a40b2ce8c4",
>     "name": "ap-southeast",
>     "domain_root": "ap-southeast.rgw.data.root",
>     "control_pool": "ap-southeast.rgw.control",
>     "gc_pool": "ap-southeast.rgw.gc",
>     "log_pool": "ap-southeast.rgw.log",
>     "intent_log_pool": "ap-southeast.rgw.intent-log",
>     "usage_log_pool": "ap-southeast.rgw.usage",
>     "user_keys_pool": "ap-southeast.rgw.users.keys",
>     "user_email_pool": "ap-southeast.rgw.users.email",
>     "user_swift_pool": "ap-southeast.rgw.users.swift",
>     "user_uid_pool": "ap-southeast.rgw.users.uid",
>     "system_key": {
>         "access_key": "1555b35654ad1656d805",
>         "secret_key":
> "h7GhxuBLTrlhVUyxSPUKUV8r\/2EI4ngqJxD7iBdBYLhwluN30JaT3Q12"
>     },
>     "placement_pools": [
>         {
>             "key": "default-placement",
>             "val": {
>                 "index_pool": "ap-southeast.rgw.buckets.index",
>                 "data_pool": "ap-southeast.rgw.buckets.data",
>                 "data_extra_pool": "ap-southeast.rgw.buckets.non-ec",
>                 "index_type": 0
>             }
>         }
>     ],
>     "metadata_heap": "ap-southeast.rgw.meta",
>     "realm_id": "93dc1f56-6ec6-48f8-8caa-a7e864eeaeb3"
> }
> - Realm:
> {
>     "id": "93dc1f56-6ec6-48f8-8caa-a7e864eeaeb3",
>     "name": "default",
>     "current_period": "345bcfd4-c120-4862-9c13-1575d8876ce1",
>     "epoch": 1
> }
> - Period:
>     "period_map": {
>         "id": "5e66c0e2-a195-4ab4-914f-2b3d7977be0c",
>         "zonegroups": [
>             {
>                 "id": "e9585cbd-df92-42a0-964b-15efb1cc0ad6",
>                 "name": "ap",
>                 "api_name": "ap",
>                 "is_master": "true",
>                 "endpoints": [
>                     "http:\/\/192.168.1.1:8888"
>                 ],
>                 "hostnames": [],
>                 "hostnames_s3website": [],
>                 "master_zone": "e1d58724-e44f-4520-b56f-19a40b2ce8c4",
>                 "zones": [
>                     {
>                         "id": "e1d58724-e44f-4520-b56f-19a40b2ce8c4",
>                         "name": "ap-southeast",
>                         "endpoints": [
>                             "http:\/\/192.168.1.1:8888"
>                         ],
>                         "log_meta": "true",
>                         "log_data": "false",
>                         "bucket_index_max_shards": 0,
>                         "read_only": "false"
>                     }
>                 ],
>      /// /// ///
>     "master_zonegroup": "e9585cbd-df92-42a0-964b-15efb1cc0ad6",
>     "master_zone": "e1d58724-e44f-4520-b56f-19a40b2ce8c4",
>     "period_config": {
>         "bucket_quota": {
>             "enabled": false,
>             "max_size_kb": -1,
>             "max_objects": -1
>         },
>         "user_quota": {
>             "enabled": false,
>             "max_size_kb": -1,
>             "max_objects": -1
>         }
>     },
>     "realm_id": "93dc1f56-6ec6-48f8-8caa-a7e864eeaeb3",
>     "realm_name": "default",
>     "realm_epoch": 2
> }
>
> When I used radosgw-admin user create --uid = 1 --display-name = "user1"
> --email=user1@xxxxxxxxxxx, I get an error "could not create user: unable to
> create user, unable to store user info"
>
> I did wrong something? Can somebody please help me out ?
> Thank !
>
>
> _______________________________________________
> 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



_______________________________________________
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