https://tracker.ceph.com/
https://tracker.ceph.com/favicon.ico
2016-09-21T19:28:13Z
Ceph
rgw - Bug #17364: rgw: Unable to commit period zonegroup change
https://tracker.ceph.com/issues/17364?journal_id=78825
2016-09-21T19:28:13Z
Robin Johnson
robbat2@gentoo.org
<ul></ul><pre>
# radosgw-admin realm list
{
"default_info": "957adae0-7f18-4e8f-9046-c5c02b873907",
"realms": [
"gold"
]
}
# radosgw-admin period list
{
"periods": [
"957adae0-7f18-4e8f-9046-c5c02b873907:staging",
"d91d342a-9556-4160-825e-abc41f5db858"
]
}
# radosgw-admin zonegroup list
read_default_id : 0
{
"default_info": "default",
"zonegroups": [
"default"
]
}
# radosgw-admin zone list
{
"default_info": "default",
"zones": [
"default"
]
}
# radosgw-admin zonegroup get --rgw-zonegroup=default
{
"id": "default",
"name": "default",
"api_name": "us-west-1",
"is_master": "true",
"endpoints": [
"https:\/\/objects-us-west-1.dream.io",
"https:\/\/objects.dreamhost.com"
],
"hostnames": [
"objects-us-west-1.dream.io",
"objects.dreamhost.com"
],
"hostnames_s3website": [
"objects-website-us-west-1.dream.io"
],
"master_zone": "default",
"zones": [
{
"id": "default",
"name": "default",
"endpoints": [],
"log_meta": "true",
"log_data": "false",
"bucket_index_max_shards": 31,
"read_only": "false"
}
],
"placement_targets": [
{
"name": "default-placement",
"tags": []
}
],
"default_placement": "default-placement",
"realm_id": "957adae0-7f18-4e8f-9046-c5c02b873907"
}
# radosgw-admin zone get --rgw-zonegroup=default
{
"id": "default",
"name": "default",
"domain_root": ".rgw",
"control_pool": ".rgw.control",
"gc_pool": ".rgw.gc",
"log_pool": ".log",
"intent_log_pool": ".intent-log",
"usage_log_pool": ".usage",
"user_keys_pool": ".users",
"user_email_pool": ".users.email",
"user_swift_pool": ".users.swift",
"user_uid_pool": ".users.uid",
"system_key": {
"access_key": "CENSORED",
"secret_key": "CENSORED"
},
"placement_pools": [
{
"key": "default-placement",
"val": {
"index_pool": ".rgw.data.1",
"data_pool": ".rgw.data.1",
"data_extra_pool": ".rgw.data.1",
"index_type": 0
}
}
],
"metadata_heap": ".rgw.meta",
"realm_id": "957adae0-7f18-4e8f-9046-c5c02b873907"
}
# radosgw-admin period update
{
"id": "957adae0-7f18-4e8f-9046-c5c02b873907:staging",
"epoch": 1,
"predecessor_uuid": "d91d342a-9556-4160-825e-abc41f5db858",
"sync_status": [],
"period_map": {
"id": "d91d342a-9556-4160-825e-abc41f5db858",
"zonegroups": [
{
"id": "default",
"name": "default",
"api_name": "us-west-1",
"is_master": "true",
"endpoints": [
"https:\/\/objects-us-west-1.dream.io",
"https:\/\/objects.dreamhost.com"
],
"hostnames": [
"objects-us-west-1.dream.io",
"objects.dreamhost.com"
],
"hostnames_s3website": [
"objects-website-us-west-1.dream.io"
],
"master_zone": "default",
"zones": [
{
"id": "default",
"name": "default",
"endpoints": [],
"log_meta": "true",
"log_data": "false",
"bucket_index_max_shards": 31,
"read_only": "false"
}
],
"placement_targets": [
{
"name": "default-placement",
"tags": []
}
],
"default_placement": "default-placement",
"realm_id": "957adae0-7f18-4e8f-9046-c5c02b873907"
}
],
"short_zone_ids": [
{
"key": "default",
"val": 2610307010
}
]
},
"master_zonegroup": "default",
"master_zone": "default",
"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": "957adae0-7f18-4e8f-9046-c5c02b873907",
"realm_name": "gold",
"realm_epoch": 2
}
# radosgw-admin period update --commit
2016-09-21 19:26:37.433750 7fef47674900 0 Error delete object id default: (2) No such file or directory
2016-09-21 19:26:37.461898 7fef47674900 0 zonegroup default missing zone for master_zone=
couldn't init storage provider
## Now everything failed :-(
# radosgw-admin zonegroup get --rgw-zonegroup=default
{
"id": "default",
"name": "default",
"api_name": "",
"is_master": "true",
"endpoints": [],
"hostnames": [],
"hostnames_s3website": [],
"master_zone": "",
"zones": [
{
"id": "default",
"name": "default",
"endpoints": [],
"log_meta": "false",
"log_data": "false",
"bucket_index_max_shards": 0,
"read_only": "false"
}
],
"placement_targets": [
{
"name": "default-placement",
"tags": []
}
],
"default_placement": "default-placement",
"realm_id": "957adae0-7f18-4e8f-9046-c5c02b873907"
}
</pre>
rgw - Bug #17364: rgw: Unable to commit period zonegroup change
https://tracker.ceph.com/issues/17364?journal_id=78826
2016-09-21T19:46:20Z
Robin Johnson
robbat2@gentoo.org
<ul></ul><p>Even more minimal case that causes commit to fail.<br /><pre>
# radosgw-admin period get
{
"id": "d91d342a-9556-4160-825e-abc41f5db858",
"epoch": 1,
"predecessor_uuid": "",
"sync_status": [],
"period_map": {
"id": "d91d342a-9556-4160-825e-abc41f5db858",
"zonegroups": [
{
"id": "default",
"name": "default",
"api_name": "",
"is_master": "true",
"endpoints": [],
"hostnames": [],
"hostnames_s3website": [],
"master_zone": "",
"zones": [
{
"id": "default",
"name": "default",
"endpoints": [],
"log_meta": "false",
"log_data": "false",
"bucket_index_max_shards": 0,
"read_only": "false"
}
],
"placement_targets": [
{
"name": "default-placement",
"tags": []
}
],
"default_placement": "default-placement",
"realm_id": "957adae0-7f18-4e8f-9046-c5c02b873907"
}
],
"short_zone_ids": [
{
"key": "default",
"val": 2610307010
}
]
},
"master_zonegroup": "default",
"master_zone": "",
"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": "957adae0-7f18-4e8f-9046-c5c02b873907",
"realm_name": "gold",
"realm_epoch": 1
}
# radosgw-admin zonegroup get
{
"id": "default",
"name": "default",
"api_name": "",
"is_master": "true",
"endpoints": [],
"hostnames": [],
"hostnames_s3website": [],
"master_zone": "",
"zones": [
{
"id": "default",
"name": "default",
"endpoints": [],
"log_meta": "false",
"log_data": "false",
"bucket_index_max_shards": 0,
"read_only": "false"
}
],
"placement_targets": [
{
"name": "default-placement",
"tags": []
}
],
"default_placement": "default-placement",
"realm_id": "957adae0-7f18-4e8f-9046-c5c02b873907"
}
# radosgw-admin zone get
{
"id": "default",
"name": "default",
"domain_root": ".rgw",
"control_pool": ".rgw.control",
"gc_pool": ".rgw.gc",
"log_pool": ".log",
"intent_log_pool": ".intent-log",
"usage_log_pool": ".usage",
"user_keys_pool": ".users",
"user_email_pool": ".users.email",
"user_swift_pool": ".users.swift",
"user_uid_pool": ".users.uid",
"system_key": {
"access_key": "",
"secret_key": ""
},
"placement_pools": [],
"metadata_heap": ".rgw.meta",
"realm_id": ""
}
# radosgw-admin zone list
{
"default_info": "default",
"zones": [
"default"
]
}
# radosgw-admin zonegroup list
read_default_id : 0
{
"default_info": "default",
"zonegroups": [
"default"
]
}
# radosgw-admin period update
{
"id": "957adae0-7f18-4e8f-9046-c5c02b873907:staging",
"epoch": 1,
"predecessor_uuid": "d91d342a-9556-4160-825e-abc41f5db858",
"sync_status": [],
"period_map": {
"id": "d91d342a-9556-4160-825e-abc41f5db858",
"zonegroups": [
{
"id": "default",
"name": "default",
"api_name": "",
"is_master": "true",
"endpoints": [],
"hostnames": [],
"hostnames_s3website": [],
"master_zone": "default",
"zones": [
{
"id": "default",
"name": "default",
"endpoints": [],
"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": "957adae0-7f18-4e8f-9046-c5c02b873907"
}
],
"short_zone_ids": [
{
"key": "default",
"val": 2610307010
}
]
},
"master_zonegroup": "default",
"master_zone": "default",
"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": "957adae0-7f18-4e8f-9046-c5c02b873907",
"realm_name": "gold",
"realm_epoch": 2
}
# radosgw-admin period update --commit
2016-09-21 19:46:04.894228 7f6a5b360900 0 Error delete object id default: (2) No such file or directory
2016-09-21 19:46:04.922625 7f6a5b360900 0 zonegroup default missing zone for master_zone=
couldn't init storage provider
</pre></p>
rgw - Bug #17364: rgw: Unable to commit period zonegroup change
https://tracker.ceph.com/issues/17364?journal_id=78834
2016-09-21T23:22:37Z
Robin Johnson
robbat2@gentoo.org
<ul><li><strong>Priority</strong> changed from <i>Immediate</i> to <i>Normal</i></li><li><strong>Severity</strong> changed from <i>1 - critical</i> to <i>2 - major</i></li></ul><p>Downgraded priority & severity. As a workaround, I wiped out the .rgw.root pool, and recreated the content as zonegroup=default,zone=default, which worked. Trying to use other names from fresh also caused a very similar problem to happen, with a "default" zonegroup being created anyway.</p>
rgw - Bug #17364: rgw: Unable to commit period zonegroup change
https://tracker.ceph.com/issues/17364?journal_id=79066
2016-09-29T18:47:00Z
Yehuda Sadeh
yehuda@redhat.com
<ul><li><strong>Subject</strong> changed from <i>Unable to commit period zonegroup change</i> to <i>rgw: Unable to commit period zonegroup change</i></li><li><strong>Assignee</strong> set to <i>Orit Wasserman</i></li></ul>
rgw - Bug #17364: rgw: Unable to commit period zonegroup change
https://tracker.ceph.com/issues/17364?journal_id=81290
2016-11-14T13:44:17Z
Orit Wasserman
owasserm@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li></ul><p><a class="external" href="https://github.com/ceph/ceph/pull/11965">https://github.com/ceph/ceph/pull/11965</a></p>
rgw - Bug #17364: rgw: Unable to commit period zonegroup change
https://tracker.ceph.com/issues/17364?journal_id=81291
2016-11-14T13:44:28Z
Orit Wasserman
owasserm@redhat.com
<ul><li><strong>Backport</strong> set to <i>jewel</i></li></ul>
rgw - Bug #17364: rgw: Unable to commit period zonegroup change
https://tracker.ceph.com/issues/17364?journal_id=82293
2016-12-01T10:10:55Z
Orit Wasserman
owasserm@redhat.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Pending Backport</i></li></ul>
rgw - Bug #17364: rgw: Unable to commit period zonegroup change
https://tracker.ceph.com/issues/17364?journal_id=82314
2016-12-01T15:05:21Z
Loïc Dachary
loic@dachary.org
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/18102">Backport #18102</a>: jewel: rgw: Unable to commit period zonegroup change</i> added</li></ul>
rgw - Bug #17364: rgw: Unable to commit period zonegroup change
https://tracker.ceph.com/issues/17364?journal_id=85382
2017-02-01T15:24:52Z
Nathan Cutler
ncutler@suse.cz
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul>