Project

General

Profile

Actions

Bug #36728

closed

ceph-volume does not respect $PATH

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

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic
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.


Related issues 2 (0 open2 closed)

Copied to ceph-volume - Backport #43281: nautilus: ceph-volume does not respect $PATHResolvedActions
Copied to ceph-volume - Backport #43282: mimic: ceph-volume does not respect $PATHResolvedActions
Actions #1

Updated by Rishabh Dave over 4 years ago

Can I assign this to myself if there's been no attempt to fix it yet?

Actions #2

Updated by Jan Fajerski over 4 years ago

sure go ahead

Actions #3

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
Actions #4

Updated by Jan Fajerski over 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #43281: nautilus: ceph-volume does not respect $PATH added
Actions #6

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #43282: mimic: ceph-volume does not respect $PATH added
Actions #7

Updated by Jan Fajerski about 4 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF