Project

General

Profile

Actions

Bug #22282

closed

ceph-volume fails when sudo is not installed

Added by Alwin Antreich over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
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

On systems where sudo is not installed, ceph-volume fails. Debian 9.1 / Python 2.7.13

root@sumi1:~# ceph-volume lvm create --bluestore --data /dev/sdh
-->  OSError: [Errno 2] No such file or directory

As sudo is not installed by default on some systems, ceph-volume should be able to run without. This would make it possible to run it as root on systems w/o sudo and by user intention with sudo (eg. sudo ceph-volume ...).

Actions #1

Updated by Alfredo Deza over 6 years ago

  • Category set to 135
Actions #2

Updated by Andrew Schoen over 6 years ago

  • Assignee set to Andrew Schoen
Actions #3

Updated by Patrick Donnelly over 6 years ago

  • Project changed from Ceph to ceph-volume
Actions #4

Updated by Andrew Schoen over 6 years ago

  • Status changed from New to Fix Under Review
Actions #5

Updated by Andrew Schoen over 6 years ago

  • Status changed from Fix Under Review to Resolved
Actions #6

Updated by Alfredo Deza over 6 years ago

this PR targeted mimic-dev1

Actions #7

Updated by Andrew Schoen over 6 years ago

backporting to luminous here https://github.com/ceph/ceph/pull/19525

Actions

Also available in: Atom PDF