Re: RGW Could not create user

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

 



Khang Nguyễn Nhật writes:

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

Is the ceph cluster healthy? BTW I don't think radosgw-admin accepts
spacing before & after the equals sign (this would end up creating a uid
called "=" I guess). Are there any other warnings or errors printed out?

You could also try cranking up the debug output by passing
--debug-rgw=20 --debug-ms=1 during user create and see the output, this
might indicate the problem better.
>
> 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


--
Abhishek Lekshmanan
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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