Project

General

Profile

Actions

Bug #36727

closed

ceph-volume does not respect $PATH

Added by Marius Bakke over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

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 #2

Updated by Nathan Cutler over 5 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF