Skip to content
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: calculate min_size on osd pool set size #34528

Merged
merged 2 commits into from May 7, 2020

Conversation

smithfarm
Copy link
Contributor

@smithfarm smithfarm commented Apr 12, 2020

backport tracker:


backport of

parent tracker:

this backport was staged using ceph-backport.sh version 15.1.1.389
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh

@smithfarm smithfarm added this to the octopus milestone Apr 12, 2020
@smithfarm smithfarm added the core label Apr 12, 2020
Copy link
Member

@gregsfortytwo gregsfortytwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@neha-ojha neha-ojha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smithfarm we don't want to backport #33281, see https://tracker.ceph.com/issues/44025#note-8. Is there a reason why you think we should?

@smithfarm
Copy link
Contributor Author

smithfarm commented Apr 16, 2020

@neha-ojha My understanding was that it should not be backported to nautilus. But if it's a pacific-only feature, then we shouldn't backport it to octopus, either, and I'll remove it from this PR.

By the way, does it already have a PendingReleaseNote in master/pacific? YES

Deepika Upadhyay added 2 commits April 16, 2020 10:30
currently `osd pool set size` only modifies min_size when it is above new size,
while it should be recalculated unconditionally.

fixes: https://tracker.ceph.com/issues/44862
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
(cherry picked from commit b69dcaa)
verify whether min_size is recalculated when osd
pool size is changed.

fixes: https://tracker.ceph.com/issues/44862
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
(cherry picked from commit 0a7325a)

Conflicts:
    qa/workunits/mon/pool_ops.sh
- master/pacific needs "--yes-i-really-mean-it" when setting pool size
  to 1
@smithfarm
Copy link
Contributor Author

@neha-ojha Please have another look - I removed the feature cherry-pick.

@neha-ojha
Copy link
Member

@neha-ojha Please have another look - I removed the feature cherry-pick.

@smithfarm looks good, thanks!

@yuriw
Copy link
Contributor

yuriw commented May 4, 2020

@yuriw yuriw merged commit 65181ea into ceph:octopus May 7, 2020
@smithfarm smithfarm deleted the wip-45039-octopus branch May 8, 2020 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants