On Wed, Jan 11, 2017 at 2:53 PM, Marko Stojanovic <mstojanovic@xxxxxxxx> wrote: > > Hello all, > > I have issue with radosgw-admin regionmap update . It doesn't update map. > > With zone configured like this: > > radosgw-admin zone get > { > "id": "fc12ac44-e27e-44e3-9b13-347162d3c1d2", > "name": "oak-1", > "domain_root": "oak-1.rgw.data.root", > "control_pool": "oak-1.rgw.control", > "gc_pool": "oak-1.rgw.gc", > "log_pool": "oak-1.rgw.log", > "intent_log_pool": "oak-1.rgw.intent-log", > "usage_log_pool": "oak-1.rgw.usage", > "user_keys_pool": "oak-1.rgw.users.keys", > "user_email_pool": "oak-1.rgw.users.email", > "user_swift_pool": "oak-1.rgw.users.swift", > "user_uid_pool": "oak-1.rgw.users.uid", > "system_key": { > "access_key": "XXXXXXXXXX", > "secret_key": "XXXXXXXXXXXXXX" > }, > "placement_pools": [ > { > "key": "default-placement", > "val": { > "index_pool": "oak-1.rgw.buckets.index", > "data_pool": "oak-1.rgw.buckets.data", > "data_extra_pool": "oak-1.rgw.buckets.non-ec", > "index_type": 0 > } > }, > { > "key": "ssd-placement", > "val": { > "index_pool": "oak-1.rgw.buckets.index-ssd", > "data_pool": "oak-1.rgw.buckets.data-ssd", > "data_extra_pool": "oak-1.rgw.buckets.non-ec-ssd", > "index_type": 0 > } > } > ], > "metadata_heap": "oak-1.rgw.meta", > "realm_id": "67e26f6b-4774-4b14-9668-a5cf76b9e9ce" > } > > And region > > radosgw-admin region get > { > "id": "dbec3557-87bb-4460-8546-b59b4fde7e10", > "name": "oak", > "api_name": "oak", > "is_master": "true", > "endpoints": [], > "hostnames": [], > "hostnames_s3website": [], > "master_zone": "fc12ac44-e27e-44e3-9b13-347162d3c1d2", > "zones": [ > { > "id": "fc12ac44-e27e-44e3-9b13-347162d3c1d2", > "name": "oak-1", > "endpoints": [ > "http:\/\/ceph1.oak.vast.com:7480" > ], > "log_meta": "true", > "log_data": "false", > "bucket_index_max_shards": 0, > "read_only": "false" > } > ], > "placement_targets": [ > { > "name": "default-placement", > "tags": [ > "default-placement" > ] > }, > { > "name": "ssd-placement", > "tags": [ > "ssd-placement" > ] > } > ], > "default_placement": "default-placement", > "realm_id": "67e26f6b-4774-4b14-9668-a5cf76b9e9ce" > > > > When I run radosgw-admin regionmap update I don't get ssd-placement as > placement_target: > > { > "zonegroups": [ > { > "key": "dbec3557-87bb-4460-8546-b59b4fde7e10", > "val": { > "id": "dbec3557-87bb-4460-8546-b59b4fde7e10", > "name": "oak", > "api_name": "oak", > "is_master": "true", > "endpoints": [], > "hostnames": [], > "hostnames_s3website": [], > "master_zone": "fc12ac44-e27e-44e3-9b13-347162d3c1d2", > "zones": [ > { > "id": "fc12ac44-e27e-44e3-9b13-347162d3c1d2", > "name": "oak-1", > "endpoints": [ > "http:\/\/ceph1.oak.vast.com:7480" > ], > "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": "67e26f6b-4774-4b14-9668-a5cf76b9e9ce" > } > } > ], > "master_zonegroup": "dbec3557-87bb-4460-8546-b59b4fde7e10", > "bucket_quota": { > "enabled": false, > "max_size_kb": -1, > "max_objects": -1 > }, > "user_quota": { > "enabled": false, > "max_size_kb": -1, > "max_objects": -1 > } > } > > Ceph version is: > ceph --version > ceph version 10.2.5 (c461ee19ecbc0c5c330aca20f7392c9a00730367) > > Any advises? > First I recommend using zonegroup for jewel as region was renamed to zonegroup. How did you create/update the zones and zonegroup? Did you executed period update? Orit > > Thanks in advance > > Marko Stojanovic > > > > _______________________________________________ > 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