Actions
Bug #36727
closedceph-volume does not respect $PATH
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Description
Hello!
Attempting to use ceph-volume when LVM is installed in a non-standard location results in:
$ ceph-volume lvm list --> Absolute path not found for executable: lvs --> Ensure $PATH environment variable contains common executable locations --> Absolute path not found for executable: lvs --> Ensure $PATH environment variable contains common executable locations No valid Ceph devices found
Yet:
$ which lvs /root/.guix-profile/sbin/lvs
The problem is that, despite the error message, ceph-volume never actually consults $PATH. It only searches a hard-coded list of locations.
Updated by Marius Bakke over 5 years ago
Whoops, wrong tracker. This can be closed in favor of https://tracker.ceph.com/issues/36728.
Actions