Repository navigation
tentacle: mon [stretch-mode]: Allow a max bucket weight diff threshold - #67790
Conversation
Config Diff Tool Output+ added: mon_stretch_max_bucket_weight_delta (mon.yaml.in)
The above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
shraddhaag
left a comment
There was a problem hiding this comment.
seems like the cherry pick resolutions resulted in a few errors.
|
|
||
| <<<<<<< HEAD |
There was a problem hiding this comment.
we probably want to get rid of this
| This can be done by making sure the combined weight of the OSDs on each dividing | ||
| bucket are within the fractional difference defined by | ||
| ``mon_stretch_max_bucket_weight_delta``. | ||
| >>>>>>> d58de5174d0 (mon [stretch-mode]: Allow a max bucket weight diff threshold) |
There was a problem hiding this comment.
same here. I think the previous version of these docs also need to be deleted.
| * RADOS: Stretch mode can now be entered even if the two dividing buckets differ | ||
| in weight by a small fraction (default 0.1). This is tunable via | ||
| `mon_stretch_max_bucket_weight_delta`. |
There was a problem hiding this comment.
As per https://github.com/ceph/ceph/pull/66580/changes#diff-e5807f35e3c85ea0c57bba6c6713ace9a5f379edd4ec033f0ac2ac81ccad9972, only these changes should be in the diff?
Problem: Users ran into a problem where the crush bucket weight different check in stretch mode is too strict, e.g., one of the disk that is added to one of the node had slight variation in the capacity and this caused ceph to fail from enabling the stretch cluster because crush weight is not balanced. The difference was very small. Solution: - Introducing: mon_stretch_max_bucket_weight_delta in mon.yaml.in this config var is default to 0.1 and is used as a threshold to allow the difference between the two crush buckets in stretch mode to be no greater than 10%. - Introducing: STRETCH_MODE_BUCKET_WEIGHT_IMBALANCE as health warnings when the weight delta between the two sites exceeds 10% - Modified documentations - Modified tests that exercises this code path Fixes: https://tracker.ceph.com/issues/72994 Signed-off-by: Kamoltat Sirivadhna <[email protected]> (cherry picked from commit d58de51) Conflicts: doc/rados/operations/health-checks.rst - Trivial Fix PendingReleaseNotes - Remove this Signed-off-by: Kamoltat (Junior) Sirivadhna <[email protected]>
bc127b1 to
5a94f78
Compare
Allow a stretch cluster to be configured when the two zones' CRUSH weights differ by up to 10%, matching the tolerance Ceph itself adopted in ceph/ceph#66580 (mon_stretch_max_bucket_weight_delta, default 0.1). The relaxed check is available on Umbrella (v21+) and was backported to tentacle v20.2.2 via ceph/ceph#67790. The squid backport (ceph/ceph#67789) is still pending; the version gate can be loosened to include squid once it lands. Closes: rook#17206 Signed-off-by: Lumir Sliva <[email protected]>
Allow a stretch cluster to be configured when the two zones' CRUSH weights differ by up to 10%, matching the tolerance Ceph itself adopted in ceph/ceph#66580 (mon_stretch_max_bucket_weight_delta, default 0.1). The relaxed check is available on Umbrella (v21+) and was backported to tentacle v20.2.2 via ceph/ceph#67790. The squid backport (ceph/ceph#67789) is still pending; the version gate can be loosened to include squid once it lands. Closes: rook#17206 Signed-off-by: Lumir Sliva <[email protected]>
Allow a stretch cluster to be configured when the two zones' CRUSH weights differ by up to 10%, matching the tolerance Ceph itself adopted in ceph/ceph#66580 (mon_stretch_max_bucket_weight_delta, default 0.1). The relaxed check is available on Umbrella (v21+) and was backported to tentacle v20.2.2 via ceph/ceph#67790. The squid backport (ceph/ceph#67789) is still pending; the version gate can be loosened to include squid once it lands. Signed-off-by: Lumir Sliva <[email protected]>
Allow a stretch cluster to be configured when the two zones' CRUSH weights differ by up to ten percent, matching the tolerance Ceph itself adopted in ceph/ceph#66580 (mon_stretch_max_bucket_weight_delta, default 0.1). The relaxed check is available on Umbrella (v21+) and was backported to tentacle v20.2.2 via ceph/ceph#67790. The squid backport (ceph/ceph#67789) is still pending; the version gate can be loosened to include squid once it lands. Signed-off-by: Lumir Sliva <[email protected]>
backport tracker: https://tracker.ceph.com/issues/75493
backport of #66580
parent tracker: https://tracker.ceph.com/issues/72994
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh