-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
octopus: mon/MonCommands.h: fix target_size_ratio range #45398
octopus: mon/MonCommands.h: fix target_size_ratio range #45398
Conversation
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> (cherry picked from commit e5a5b81) Conflicts: src/mon/MonCommands.h - trivial fix
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> (cherry picked from commit 1b88205)
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> (cherry picked from commit 0978547)
jenkins test make check |
1 similar comment
jenkins test make check |
make check dashboard failure seems unrelated and found the tracker https://tracker.ceph.com/issues/55011#change-213145:
|
@neha-ojha think this one should be good for testing |
http://pulpito.front.sepia.ceph.com/yuriw-2022-04-26_20:58:55-rados-wip-yuri2-testing-2022-04-26-1132-octopus-distro-default-smithi/ Failures, unrelated: Details: |
jenkins test make check |
jenkins test make check |
1 similar comment
jenkins test make check |
target_size_ratio
from0.0 -> 1.0
to0.0 -> nolimit
target_size_ratio
to negative using the command:osd pool set <pool> target_size_ratio <float>
target_size_ratio
to qa/workunits/cephtool/test.sh4add5feff657aad2afbec56a21b544bedf7f9b95
because octopus doesn't contain the commit that contains white space.Backporting related commits from master PR(s):
#45078
Fixes: https://tracker.ceph.com/issues/54568
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard cephadm
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox
jenkins test windows