https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2019-12-12T15:40:34ZCeph rgw - Bug #43172: Radosgw(rgw_build_bucket_policies) fails on old bucketshttps://tracker.ceph.com/issues/43172?journal_id=1542682019-12-12T15:40:34ZCasey Bodleycbodley@redhat.com
<ul></ul><p>could you please share the bucket instance metadata of one of these buckets?</p>
<p>radosgw-admin metadata get --metadata-key=bucket.instance:<bucket name and instance id></p> rgw - Bug #43172: Radosgw(rgw_build_bucket_policies) fails on old bucketshttps://tracker.ceph.com/issues/43172?journal_id=1542692019-12-12T15:40:40ZCasey Bodleycbodley@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Need More Info</i></li></ul> rgw - Bug #43172: Radosgw(rgw_build_bucket_policies) fails on old bucketshttps://tracker.ceph.com/issues/43172?journal_id=1546722019-12-19T06:23:31ZIngo Reimann
<ul></ul><p>Hi Casey,</p>
<p>here you are:<br /><pre>
{
"key": "bucket.instance:dcs:default.7518007.3",
"ver": {
"tag": "_rmiP5GK0UfT1b4mLcLE-Fu1",
"ver": 1
},
"mtime": "2014-08-09 14:29:41.000000Z",
"data": {
"bucket_info": {
"bucket": {
"name": "dcs",
"marker": "default.7518007.3",
"bucket_id": "default.7518007.3",
"tenant": "",
"explicit_placement": {
"data_pool": "rgw.buckets",
"data_extra_pool": "",
"index_pool": "rgw.buckets"
}
},
"creation_time": "2014-08-09 14:29:41.000000Z",
"owner": "Dunkel Archiv",
"flags": 0,
"zonegroup": "default",
"placement_rule": "",
"has_instance_obj": "true",
"quota": {
"enabled": false,
"check_on_raw": false,
"max_size": -1024,
"max_size_kb": 0,
"max_objects": -1
},
"num_shards": 0,
"bi_shard_hash_type": 0,
"requester_pays": "false",
"has_website": "false",
"swift_versioning": "false",
"swift_ver_location": "",
"index_type": 0,
"mdsearch_config": [],
"reshard_status": 0,
"new_bucket_instance_id": ""
},
"attrs": [
{
"key": "user.rgw.acl",
"val": "AgK3AAAAAgIpAAAADQAAAER1bmtlbCBBcmNoaXYUAAAAQXJjaGl2IEFibGFnZSBEdW5rZWwDA4IAAAABAQAAAA0AAABEdW5rZWwgQXJjaGl2DwAAAAEAAAANAAAARHVua2VsIEFyY2hpdgMDSQAAAAICBAAAAAAAAAANAAAARHVua2VsIEFyY2hpdgAAAAAAAAAAAgIEAAAADwAAABQAAABBcmNoaXYgQWJsYWdlIER1bmtlbAAAAAAAAAAA"
}
]
}
}
</pre><br />NB: meanwhile i patched radosgw-admin to be able to change the placement_rule with "radosgw-admin metadata put". That fixed my issue, but this is not possible out of the box.</p> rgw - Bug #43172: Radosgw(rgw_build_bucket_policies) fails on old bucketshttps://tracker.ceph.com/issues/43172?journal_id=1559772020-01-16T15:28:58ZCasey Bodleycbodley@redhat.com
<ul><li><strong>Status</strong> changed from <i>Need More Info</i> to <i>New</i></li><li><strong>Tags</strong> set to <i>placement</i></li></ul> rgw - Bug #43172: Radosgw(rgw_build_bucket_policies) fails on old bucketshttps://tracker.ceph.com/issues/43172?journal_id=1559782020-01-16T15:29:16ZCasey Bodleycbodley@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Triaged</i></li></ul> rgw - Bug #43172: Radosgw(rgw_build_bucket_policies) fails on old bucketshttps://tracker.ceph.com/issues/43172?journal_id=1579612020-02-06T15:28:22ZCasey Bodleycbodley@redhat.com
<ul></ul><blockquote>
<p>if (!store->svc.zone->get_zone_params().valid_placement(s->dest_placement)) {</p>
</blockquote>
<p>It looks like this needs to take the bucket's explicit_placement into account.</p> rgw - Bug #43172: Radosgw(rgw_build_bucket_policies) fails on old bucketshttps://tracker.ceph.com/issues/43172?journal_id=1953272021-05-17T11:52:12ZMarcin Gibulam.gibula@gmail.com
<ul></ul><p>I've hit the same issue, while upgrading (very old) cluster from luminous to nautilus. I'm currently forced to keep old radosgw binaries to keep production running. Was there any progress on this bug?</p>