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
mgr/autoscaler: Introduce noautoscale flag #43716
mgr/autoscaler: Introduce noautoscale flag #43716
Conversation
3da3c90
to
97bcb47
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kamoltat I noticed that if we run ceph osd pool set noautoscale and then create a new pool, the new pool has AUTOSCALE on. I don't think this is the behavior we want. Can you please add a test case to cover this and other scenarios?
@neha-ojha Agreed, will make the changes so that it also newly created pools will have |
97bcb47
to
9267781
Compare
9267781
to
243e2ed
Compare
|
73c9d02
to
f4e73c5
Compare
|
@kamoltat could you please put the test changes in a different commit and provide a link to a test run that is executing the new test? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kamoltat code changes look good, could you update https://docs.ceph.com/en/latest/rados/operations/placement-groups/ to reflect the new flag and make a note about this in the release notes
b2008d2
to
524a59f
Compare
4721bfd
to
a58c925
Compare
|
Work unit passed 1/1 However, I had to comment out the qa/tasks configuration where it sets Working on a way around this since we don't want the qa/workunit to have autoscale on by default |
91292a2
to
37c5fe9
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
8f93b15
to
2ce1aab
Compare
`noautoscale` flag is a feature where the user can choose to flip the switch between turning autoscale `on` and `off` for all pools with a single command. `osd pool set noautoscale` will turn all autoscale mode`off` for all pools. `osd pool unset noautoscale` will turn all autoscale mode `on` for all pools. Signed-off-by: Kamoltat <ksirivad@redhat.com>
2ce1aab
to
24c9262
Compare
set and unset the noautoscale flag, evaluate if the results are what we expected. As well as, evaluate if the flag is correct when we create new pools. Signed-off-by: Kamoltat <ksirivad@redhat.com>
Updated the docs in https://docs.ceph.com/en/latest/rados/operations/placement-groups/ and updated the release notes to reflect noautoscale flag. Signed-off-by: Kamoltat <ksirivad@redhat.com>
24c9262
to
9baed03
Compare
|
jenkins test make check |
|
Failures, unrelated: Details: |
noautoscaleflag is a feature where theuser can choose to flip the switch between
turning autoscale
onandofffor allpools with a single command.
osd pool set noautoscalewill turn allautoscale mode
offfor all pools.osd pool unset noautoscalewill turn allautoscale mode
onfor all pools.Address: https://tracker.ceph.com/issues/51213
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