Re: Radosgw dynamic sharding jewel -> luminous

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

 



Okay, it's sharing the log_pool so you shouldn't need any special pool permissions there.

The 'failed to list reshard log entries' error message is coming from a call to cls_rgw_reshard_list(), which is a new API in cls_rgw. Have all of your osds been upgraded to support that?


On 3/4/20 10:22 AM, Robert LeBlanc wrote:
On Tue, Mar 3, 2020 at 10:31 AM Casey Bodley <cbodley@xxxxxxxxxx <mailto:cbodley@xxxxxxxxxx>> wrote:

    The default value of this reshard pool is
    "default.rgw.log:reshard". You
    can check 'radosgw-admin zone get' for the list of pool
    names/namespaces
    in use. It may be that your log pool is named ".rgw.log" instead,
    so you
    could change your reshard_pool to ".rgw.log:reshard" to share that.


Okay, I can now see the pool and the namespace, but I'm still not exactly sure what permissions I need to give to whom to make it work.
```
$ radosgw-admin zone get --rgw-zone default
{
   "id": "f6dcc86d-1f20-445f-9b5c-ad1ec5abf5cf",
   "name": "default",
   "domain_root": "default.rgw.data.root",
   "control_pool": "default.rgw.control",
   "gc_pool": "default.rgw.gc",
   "lc_pool": "default.rgw.log:lc",
   "log_pool": "default.rgw.log",
   "intent_log_pool": "default.rgw.intent-log",
   "usage_log_pool": "default.rgw.usage",
   "reshard_pool": "default.rgw.log:reshard",
   "user_keys_pool": "default.rgw.users.keys",
   "user_email_pool": "default.rgw.users.email",
   "user_swift_pool": "default.rgw.users.swift",
   "user_uid_pool": "default.rgw.users.uid",
   "system_key": {
       "access_key": "",
       "secret_key": ""
   },
   "placement_pools": [
       {
           "key": "default-placement",
           "val": {
               "index_pool": "default.rgw.buckets.index",
               "data_pool": "default.rgw.buckets.data",
               "data_extra_pool": "default.rgw.buckets.non-ec",
               "index_type": 0,
               "compression": ""
           }
       }
   ],
   "metadata_heap": "",
   "tier_config": [],
   "realm_id": ""
}
```
Also the command would not work without the `--rgw-zone default` option, otherwise I'd get:
```
$ radosgw-admin zone get
unable to initialize zone: (2) No such file or directory
```

Thank you,
Robert LeBlanc

----------------
Robert LeBlanc
PGP Fingerprint 79A2 9CA4 6CC4 45DD A904  C70E E654 3BB2 FA62 B9F1
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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