Actions
Bug #36728
closedceph-volume does not respect $PATH
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
nautilus, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
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 Rishabh Dave over 4 years ago
Can I assign this to myself if there's been no attempt to fix it yet?
Updated by Jan Fajerski over 4 years ago
- Status changed from New to Fix Under Review
- Backport set to nautilus, mimic
- Pull request ID set to 31787
Updated by Jan Fajerski over 4 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #43281: nautilus: ceph-volume does not respect $PATH added
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #43282: mimic: ceph-volume does not respect $PATH added
Updated by Jan Fajerski about 4 years ago
- Status changed from Pending Backport to Resolved
Actions