-
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
ceph-volume: introduce class hierachy for strategies #25238
ceph-volume: introduce class hierachy for strategies #25238
Conversation
retest this please |
This needs a ticket in the tracker so that it can be associated with it, and I think it would be useful to split these commits |
4a32a5a
to
5d1196e
Compare
Tracker ticket added and commits split (though I'm still not sure how this improves things). |
5d1196e
to
fb24cfd
Compare
@alfredodeza anything blocking this? |
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.
Thanks @jan--f, it's a good initial change. What I'd like to see in the future is a better distinction between SSDs and NVMe, so basically we should try something else than rotational
to verify that.
@leseb Yes, the extension to batch (https://github.com/jan--f/ceph/tree/c-v-extend-batch) will be a step in that direction I believe. It'll refactor the strategies so that data and wl/db volumes/devices can be explicitly specified. Other code (or even a user) can then classify devices as needed. |
fb24cfd
to
664f7c0
Compare
jenkins test ceph-volume lvm all |
Functional tests fail due to regression fixed by #25469 |
Mind a quick rebase so that we can verify once again before merging? Thanks! |
4a7ba5b
to
0df03b9
Compare
@alfredodeza rebased |
jenkins test ceph-volume lvm all |
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
0df03b9
to
34df12e
Compare
jenkins test ceph-volume lvm all |
All tests fail with |
@jan--f yeah ceph-ansible changes caused this regression ceph/ceph-ansible#3440 I'm going to just merge this, otherwise this would need to wait another day or so while we fix this for master |
This PR had valid tox failures. Left an unused import behind in stragegies/bluestore.py The fix is being addressed with this commit: d127ae3 |
Sorry my bad. That was left over from the last rebase. |
Removes duplicate code.
Signed-off-by: Jan Fajerski jfajerski@suse.com
Fixes: http://tracker.ceph.com/issues/37389