Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ceph-volume: fix regression introcuded via ceph#43536
The recent changes from PR ceph#43536 introduced a regeression preventing from running ceph-volume in a containerized context on Ubuntu 18.04. Given that the path for the binary `lvs` differs between CentOS 8 and Ubuntu 18.04. (`/usr/sbin/lvs` and `/sbin/lvs` respictively). It means that ceph-volume running in the container on CentOS 8 sees the `lvs` binary at `/usr/sbin/lvs` and try to run it with `nsenter` on the host which is running Ubuntu 18.04. Fixes: https://tracker.ceph.com/issues/53812 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 95e88cda3df76b59b548ae808df0ef7f19db1f63) Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
- Loading branch information
Showing
3 changed files
with
81 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters