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

ceph-volume: fix batch report and respect ceph.conf config values #41506

Merged
merged 2 commits into from Jun 5, 2021

Conversation

andrewschoen
Copy link
Contributor

A couple small fixes for ceph-volume lvm batch. Respect the value of bluestore_block_db_size in ceph.conf and fix
the value of % of device in ceph-volume lvm batch --report.

https://tracker.ceph.com/issues/50957
https://tracker.ceph.com/issues/50958

If using --block-db-size, the % of device calculation is incorrect
and always reads 100%.

Resolves: RHBZ#1946478
Fixes: https://tracker.ceph.com/issues/50957

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
If --block-db-size is not given args.block_db_size is set to None,
so we should check for it's value in ceph.conf

Resolves: RHBZ#1962744
Fixes: https://tracker.ceph.com/issues/50958

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
@andrewschoen andrewschoen requested a review from a team as a code owner May 24, 2021 18:43
@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume tox

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume all

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume lvm centos8-bluestore-dmcrypt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants