mon/MonCommands.h: fix target_size_ratio range#45078
Merged
yuriw merged 4 commits intoceph:masterfrom Mar 15, 2022
Merged
Conversation
3faa7d2 to
767f14d
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
Member
|
@kamoltat could you please rebase this PR? |
767f14d to
52da219
Compare
Member
Author
|
jenkins retest this please |
The `target_size_ratio` should be 0.0 -> nolimit not limited to 0.0 -> 1.0 Fixes: https://tracker.ceph.com/issues/54316 Signed-off-by: Kamoltat <ksirivad@redhat.com>
52da219 to
e5a5b81
Compare
neha-ojha
approved these changes
Mar 3, 2022
Throw an error when user set `target_size_ratio` to negative using the command: `osd pool set <pool> target_size_ratio <float>` Signed-off-by: Kamoltat <ksirivad@redhat.com>
Test the commands: `osd pool create` <pool> --target_size_ratio <float> `osd pool set` <pool> target_size_ratio <float> `osd pool get` <pool> target_size_ratio Signed-off-by: Kamoltat <ksirivad@redhat.com>
remove white space and weird indentations Signed-off-by: Kamoltat <ksirivad@redhat.com>
Member
Author
|
jenkins test make check |
Member
Author
|
jenkins test windows |
Member
Author
|
1/1 passed for testing cephtool/test.sh Verified that in teuthology.log, all added test cases has been exercised ksirivad-2022-03-04_18:43:53-rados:singleton-bluestore:all:cephtool.yaml-wip-ksirivad-fix-target-size-ratio-bound-distro-basic-smithi/6720605/ |
Member
|
jenkins test make check |
Member
Author
|
jenkins test windows |
Member
Author
|
jenkins test windows |
This was referenced Mar 15, 2022
14 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
target_size_ratiofrom0.0 -> 1.0to0.0 -> nolimittarget_size_ratioto negative using the command:osd pool set <pool> target_size_ratio <float>target_size_ratioto qa/workunits/cephtool/test.shFixes: https://tracker.ceph.com/issues/54316
Signed-off-by: Kamoltat ksirivad@redhat.com
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox