Re: Manual bucket resharding problem
Thank You for response, how I can upload this to metadata? Is this operation safe? Regards Mateusz Skała W dniu sob., 21.11.2020 o 18:01 Amit Ghadge <amitg.b14@gmail.com> napisał(a):
I go through this and you need to update bucket metadata, radosgw-admin metadata get bucket.instance:bucket:xxx > bucket.json, update two parameter I don't remember but it's look reshard: false and next_marker set empty.
-AmitG On Sat, 21 Nov, 2020, 2:04 PM Mateusz Skała, <mateusz.skala@gmail.com> wrote:
Hello Community. I need Your help. Few days ago I started manual resharding of one bucket with large objects. Unfortunately I interrupted this by Ctrl+c. At now I can’t start this process again. There is message: # radosgw-admin bucket reshard --bucket objects --num-shards 2 ERROR: the bucket is currently undergoing resharding and cannot be added to the reshard list at this time
But list of reshard process is empty: # radosgw-admin reshard list []
# radosgw-admin reshard status --bucket objects [ { "reshard_status": "not-resharding", "new_bucket_instance_id": "", "num_shards": -1 } ]
How can I fix this situation ? How to restore possibility resharding this bucket? And BTW is resharding process locking writes/reads on bucket? Regards Mateusz Skała _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Try to look at `radosgw-admin reshard stale-instances list` command. And if list is not empty just rm this stale reshard and then start reshard process again. k Sent from my iPhone
On 22 Nov 2020, at 15:35, Mateusz Skała <mateusz.skala@gmail.com> wrote:
Thank You for response, how I can upload this to metadata? Is this operation safe? Regards Mateusz Skała
W dniu sob., 21.11.2020 o 18:01 Amit Ghadge <amitg.b14@gmail.com> napisał(a):
I go through this and you need to update bucket metadata, radosgw-admin metadata get bucket.instance:bucket:xxx > bucket.json, update two parameter I don't remember but it's look reshard: false and next_marker set empty.
-AmitG
On Sat, 21 Nov, 2020, 2:04 PM Mateusz Skała, <mateusz.skala@gmail.com> wrote:
Hello Community. I need Your help. Few days ago I started manual resharding of one bucket with large objects. Unfortunately I interrupted this by Ctrl+c. At now I can’t start this process again. There is message: # radosgw-admin bucket reshard --bucket objects --num-shards 2 ERROR: the bucket is currently undergoing resharding and cannot be added to the reshard list at this time
But list of reshard process is empty: # radosgw-admin reshard list []
# radosgw-admin reshard status --bucket objects [ { "reshard_status": "not-resharding", "new_bucket_instance_id": "", "num_shards": -1 } ]
How can I fix this situation ? How to restore possibility resharding this bucket? And BTW is resharding process locking writes/reads on bucket? Regards Mateusz Skała _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hi. This list is empty :( # radosgw-admin reshard stale-instances list [] I will try tu put fixed meta on Sunday, as I write before. Someone have done this on production? Regards Mateusz Skała
Wiadomość napisana przez Konstantin Shalygin <k0ste@k0ste.ru> w dniu 24.11.2020, o godz. 11:35:
Try to look at `radosgw-admin reshard stale-instances list` command. And if list is not empty just rm this stale reshard and then start reshard process again.
k
Sent from my iPhone
On 22 Nov 2020, at 15:35, Mateusz Skała <mateusz.skala@gmail.com> wrote:
Thank You for response, how I can upload this to metadata? Is this operation safe? Regards Mateusz Skała
W dniu sob., 21.11.2020 o 18:01 Amit Ghadge <amitg.b14@gmail.com> napisał(a):
I go through this and you need to update bucket metadata, radosgw-admin metadata get bucket.instance:bucket:xxx > bucket.json, update two parameter I don't remember but it's look reshard: false and next_marker set empty.
-AmitG
On Sat, 21 Nov, 2020, 2:04 PM Mateusz Skała, <mateusz.skala@gmail.com> wrote:
Hello Community. I need Your help. Few days ago I started manual resharding of one bucket with large objects. Unfortunately I interrupted this by Ctrl+c. At now I can’t start this process again. There is message: # radosgw-admin bucket reshard --bucket objects --num-shards 2 ERROR: the bucket is currently undergoing resharding and cannot be added to the reshard list at this time
But list of reshard process is empty: # radosgw-admin reshard list []
# radosgw-admin reshard status --bucket objects [ { "reshard_status": "not-resharding", "new_bucket_instance_id": "", "num_shards": -1 } ]
How can I fix this situation ? How to restore possibility resharding this bucket? And BTW is resharding process locking writes/reads on bucket? Regards Mateusz Skała _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
I think is safe to modify this params. Just make a backup of your json. Cheers, k Sent from my iPhone
On 30 Nov 2020, at 12:20, Mateusz Skała <mateusz.skala@gmail.com> wrote:
Hi. This list is empty :( # radosgw-admin reshard stale-instances list []
I will try tu put fixed meta on Sunday, as I write before. Someone have done this on production? Regards Mateusz Skała
Wiadomość napisana przez Konstantin Shalygin <k0ste@k0ste.ru> w dniu 24.11.2020, o godz. 11:35:
Try to look at `radosgw-admin reshard stale-instances list` command. And if list is not empty just rm this stale reshard and then start reshard process again.
k
Sent from my iPhone
On 22 Nov 2020, at 15:35, Mateusz Skała <mateusz.skala@gmail.com> wrote:
Thank You for response, how I can upload this to metadata? Is this operation safe? Regards Mateusz Skała
W dniu sob., 21.11.2020 o 18:01 Amit Ghadge <amitg.b14@gmail.com> napisał(a):
I go through this and you need to update bucket metadata, radosgw-admin metadata get bucket.instance:bucket:xxx > bucket.json, update two parameter I don't remember but it's look reshard: false and next_marker set empty.
-AmitG
On Sat, 21 Nov, 2020, 2:04 PM Mateusz Skała, <mateusz.skala@gmail.com> wrote:
Hello Community. I need Your help. Few days ago I started manual resharding of one bucket with large objects. Unfortunately I interrupted this by Ctrl+c. At now I can’t start this process again. There is message: # radosgw-admin bucket reshard --bucket objects --num-shards 2 ERROR: the bucket is currently undergoing resharding and cannot be added to the reshard list at this time
But list of reshard process is empty: # radosgw-admin reshard list []
# radosgw-admin reshard status --bucket objects [ { "reshard_status": "not-resharding", "new_bucket_instance_id": "", "num_shards": -1 } ]
How can I fix this situation ? How to restore possibility resharding this bucket? And BTW is resharding process locking writes/reads on bucket? Regards Mateusz Skała _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (2)
-
Konstantin Shalygin
-
Mateusz Skała