Once again thank you very much, Orit Wasserman.
I think I've found the cause, I have tried to create ... rgw.buckets.data
is erasure and all the remaining pool is replicated, it works fine !


2016-06-02 16:01 GMT+07:00 Orit Wasserman <owass...@redhat.com>:

> Did you run the command radosgw-admin period update --commit after
> configuration?
> Did you restart the gateway after this command?
>
> Orit
>
> On Thu, Jun 2, 2016 at 10:56 AM, Khang Nguyễn Nhật
> <nguyennhatkhang2...@gmail.com> wrote:
> > I guarantee that when I create a user, the health cluster is HEALTH_OK.
> Then
> > I tried
> > # radosgw-admin user metadata list
> > [ ]
> >
> > Here are my results after running the command:
> > radosgw-admin user create --uid="johndoe" --display-name="John Doe"
> > --email="j...@example.com" --debug-rgw=20
> >
> > RGWDataChangesLog::ChangesRenewThread: start
> > get_system_obj_state: rctx=0x7ffe457c84c0 obj=.rgw.root:default.realm
> > state=0x7f5b7b4ab358 s->prefetch_data=0
> > get_system_obj_state: s->obj_tag was set empty
> > //////
> > get_system_obj_state: rctx=0x7ffe457c8520
> > obj=.rgw.root:realms.3e3c4b59-5d67-424c-848a-fe88bfe1f5a9
> > state=0x7f5b7b4ab358 s->prefetch_data=0
> > get_system_obj_state: s->obj_tag was set empty
> > get_system_obj_state: rctx=0x7ffe457c8520
> > obj=.rgw.root:realms.3e3c4b59-5d67-424c-848a-fe88bfe1f5a9
> > state=0x7f5b7b4ab358 s->prefetch_data=0
> > rados->read ofs=0 len=524288
> > rados->read r=0 bl.length=106
> > ///////
> > period zonegroup init ret 0
> > period zonegroup name ap
> > using current period zonegroup ap
> > //
> > run: stack=0x7f5b7b4d7f50 is io blocked
> > cr:s=0x7f5b7b4d8a40:op=0x7f5b7b4d8120:12RGWStatObjCR: operate()
> > //
> > cache get:
> >
> name=ap-southeast.rgw.log+meta.log.dc2ac369-3e0b-465f-bc2b-88d8c77469d7.3 :
> > miss
> > dequeued request req=0x7f5b7b50b8c0
> > RGWWQ: empty
> > //
> > cache get:
> >
> name=ap-southeast.rgw.log+meta.log.dc2ac369-3e0b-465f-bc2b-88d8c77469d7.26 :
> > miss
> > //
> > find_oldest_log_period found no log shards for period
> > dc2ac369-3e0b-465f-bc2b-88d8c77469d7; returning period
> > dc2ac369-3e0b-465f-bc2b-88d8c77469d7
> > init_complete bucket index max shards: 0
> > get_system_obj_state: rctx=0x7ffe457c8670
> > obj=ap-southeast.rgw.users.uid:johndoe state=0x7f5b7b4f45c8
> > s->prefetch_data=0
> > cache get: name=ap-southeast.rgw.users.uid+johndoe : miss
> > //
> > cache get: name=ap-southeast.rgw.users.email+j...@example.com : miss
> > //
> > cache get: name=ap-southeast.rgw.users.keys+MQHDSB6XJXURM8AV7T3G : miss
> >
> > Pools:
> > - ap-southeast.rgw.log
> > - ap-southeast.rgw.users.uid
> > - ap-southeast.rgw.users.email
> > - ap-southeast.rgw.users.keys
> > are jerasure, is there a problem ?
> >
> > 2016-06-02 10:46 GMT+07:00 Khang Nguyễn Nhật
> > <nguyennhatkhang2...@gmail.com>:
> >>
> >> Thank Wang!
> >> I will check it again.
> >>
> >> 2016-06-02 7:37 GMT+07:00 David Wang <linuxhunte...@gmail.com>:
> >>>
> >>> 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
> >>> <nguyennhatkhang2...@gmail.com>:
> >>>>
> >>>> 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 <owass...@redhat.com>:
> >>>>>
> >>>>> did you set the realm, zonegroup and zone as defaults?
> >>>>>
> >>>>>
> >>>>> On Tue, May 31, 2016 at 4:45 AM, Khang Nguyễn Nhật
> >>>>> <nguyennhatkhang2...@gmail.com> 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=us...@example.com, 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@lists.ceph.com
> >>>>> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >>>>> >
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> ceph-users mailing list
> >>>> ceph-users@lists.ceph.com
> >>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >>>>
> >>>
> >>
> >
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to