Actions
Bug #38119
closedrgw can't create bucket, because can't find zonegroup? location constraint (default) can't be found.
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
- error #########
location constraint (default) can't be found.
Unable to create bucket "riketest2", InvalidLocationConstraint: The specified location-constraint is not valid
- version #######
ceph -v ceph version 12.2.8-217
- my env/info ######
# radosgw-admin zonegroup list { "default_info": "90e0fb71-6938-43be-9e92-4ec4afbdaf3d", "zonegroups": [ "default" ] }
# radosgw-admin zonegroup get --rgw-zonegroup=default { "id": "90e0fb71-6938-43be-9e92-4ec4afbdaf3d", "name": "default", "api_name": "", "is_master": "true", "endpoints": [], "hostnames": [], "hostnames_s3website": [], "master_zone": "79827543-8f55-41e9-acc0-8c6bcf8e1b78", "zones": [ { "id": "79827543-8f55-41e9-acc0-8c6bcf8e1b78", "name": "default", "endpoints": [], "log_meta": "false", "log_data": "false", "bucket_index_max_shards": 0, "read_only": "false", "tier_type": "", "sync_from_all": "true", "sync_from": [] } ], "placement_targets": [ { "name": "default-placement", "tags": [] } ], "default_placement": "default-placement", "realm_id": "" }
# conf [client.rgw.client1] rgw_frontends = fastcgi rgw_thread_pool_size = 512 rgw_socket_path = /var/run/ceph/ceph-client.rgw.client1.sock rgw_content_length_compat = true rgw_print_continue = false rgw zone = default rgw region = default
Updated by Casey Bodley about 5 years ago
- Status changed from New to Triaged
The request to create a bucket is comparing the LocationConstraint against the zonegroup's api_name. It looks like you upgraded an old zonegroup, and this field was left empty. Try setting api_name=default.
Updated by Sebastian Wagner about 4 years ago
- Related to Bug #44926: dashboard: creating a new bucket causes InvalidLocationConstraint added
Actions