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

nautilus: ceph-volume: use correct extents if using db-devices and >1 osds_per_device #32874

Merged
merged 1 commit into from Feb 11, 2020

Conversation

shyukri
Copy link
Contributor

@shyukri shyukri commented Jan 25, 2020

backport tracker: https://tracker.ceph.com/issues/43321


backport of #32177
parent tracker: https://tracker.ceph.com/issues/39442

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

…r_device

Actual data size depending on osds_per_device needs to be calculated here. Otherwise, if osds_per_device is greater than 1, ceph-volume will allocate 100% of the device to the first osd and then fail to create the LV for the second because the volume group is already full.

Fixes: https://tracker.ceph.com/issues/39442
Signed-off-by: Fabian Niepelt <f.niepelt@mittwald.de>
(cherry picked from commit ecde6cd)

 Conflicts:
	src/ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py

I've removed `data_uuid` since it's not in nautilus already
@jan--f
Copy link
Contributor

jan--f commented Feb 11, 2020

jenkins test ceph-volume tox

@jan--f jan--f merged commit 885fbbd into ceph:nautilus Feb 11, 2020
@shyukri shyukri deleted the wip-43321-nautilus branch February 11, 2020 12:04
@it-is-a-robot it-is-a-robot mentioned this pull request Dec 20, 2021
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants