Skip to content

ceph-volume: introduce class hierachy for strategies - #25238

Merged
alfredodeza merged 3 commits into
ceph:masterfrom
jan--f:c-v-refactor-strategies-into-hierachy
Dec 12, 2018
Merged

alfredodeza merged 3 commits into
ceph:masterfrom
jan--f:c-v-refactor-strategies-into-hierachy

Conversation

@jan--f

@jan--f jan--f commented Nov 23, 2018 •

Copy link
Copy Markdown
Contributor

@tchaikov

Copy link
Copy Markdown
Contributor

retest this please

@alfredodeza

Copy link
Copy Markdown
Contributor

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

@jan--f
jan--f force-pushed the c-v-refactor-strategies-into-hierachy branch 2 times, most recently from 4a32a5a to 5d1196e Compare November 26, 2018 13:04
@jan--f

jan--f commented Nov 26, 2018

Copy link
Copy Markdown
Contributor Author

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

Tracker ticket added and commits split (though I'm still not sure how this improves things).

@jan--f
jan--f force-pushed the c-v-refactor-strategies-into-hierachy branch from 5d1196e to fb24cfd Compare November 26, 2018 13:08
@jan--f

jan--f commented Dec 3, 2018

Copy link
Copy Markdown
Contributor Author

@alfredodeza anything blocking this?

@jan--f

jan--f commented Dec 7, 2018

Copy link
Copy Markdown
Contributor Author

@leseb leseb left a comment

Copy link
Copy Markdown
Contributor

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.

@jan--f

jan--f commented Dec 7, 2018

Copy link
Copy Markdown
Contributor Author

@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.

@alfredodeza

Copy link
Copy Markdown
Contributor

@jan--f we are trying to get pr #25354 done before this. I'm thinking next week at the latest

@jan--f
jan--f force-pushed the c-v-refactor-strategies-into-hierachy branch from fb24cfd to 664f7c0 Compare December 11, 2018 09:04
@jan--f

jan--f commented Dec 11, 2018

Copy link
Copy Markdown
Contributor Author

jenkins test ceph-volume lvm all

@jan--f

jan--f commented Dec 11, 2018

Copy link
Copy Markdown
Contributor Author

Functional tests fail due to regression fixed by #25469

@alfredodeza

Copy link
Copy Markdown
Contributor

Mind a quick rebase so that we can verify once again before merging? Thanks!

@jan--f
jan--f force-pushed the c-v-refactor-strategies-into-hierachy branch 2 times, most recently from 4a7ba5b to 0df03b9 Compare December 12, 2018 12:43
@jan--f

jan--f commented Dec 12, 2018

Copy link
Copy Markdown
Contributor Author

@alfredodeza rebased

@jan--f

jan--f commented Dec 12, 2018

Copy link
Copy Markdown
Contributor Author

jenkins test ceph-volume lvm all

@jan--f
jan--f force-pushed the c-v-refactor-strategies-into-hierachy branch from 0df03b9 to 34df12e Compare December 12, 2018 14:03
@jan--f

jan--f commented Dec 12, 2018

Copy link
Copy Markdown
Contributor Author

jenkins test ceph-volume lvm all

@jan--f

jan--f commented Dec 12, 2018

Copy link
Copy Markdown
Contributor Author

All tests fail with stat: cannot stat '/var/run/ceph/test-mon*.asok': No such file or directory. Seems unrelated, any idea @alfredodeza?

@alfredodeza

Copy link
Copy Markdown
Contributor

@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

@alfredodeza

Copy link
Copy Markdown
Contributor

This PR had valid tox failures. Left an unused import behind in stragegies/bluestore.py

The fix is being addressed with this commit: d127ae3

@jan--f

jan--f commented Dec 19, 2018

Copy link
Copy Markdown
Contributor Author

Sorry my bad. That was left over from the last rebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants