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

pacific: ceph-volume: do not call get_device_vgs() per devices #47349

Closed
wants to merge 1 commit into from

Conversation

guits
Copy link
Contributor

@guits guits commented Jul 29, 2022

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


backport of #47168
parent tracker: https://tracker.ceph.com/issues/56623

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

@guits guits requested a review from a team as a code owner July 29, 2022 07:51
@guits guits added this to the pacific milestone Jul 29, 2022
@guits
Copy link
Contributor Author

guits commented Jul 29, 2022

jenkins test api

@guits
Copy link
Contributor Author

guits commented Jul 29, 2022

jenkins test make check

let's call `ceph_volume.api.lvm.get_all_devices_vgs` only one time instead
so we avoid a bunch of subprocess calls that slow down the process when running
`ceph-volume inventory` command.

Fixes: https://tracker.ceph.com/issues/56623

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit f5bd0f6)
@guits
Copy link
Contributor Author

guits commented Aug 1, 2022

jenkins test ceph-volume tox

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