Project

General

Profile

Bug #22443

ceph-volume fails when centos7 image doesn't have lvm2 installed

Added by Theofilos Mouratidis over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
12/14/2017
Due date:
% Done:

0%

Source:
other
Tags:
ceph-volume
Backport:
luminous
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

As you can see in the following message:

[17:16][root@ceph-xxx-osd001 ~]# ceph-volume lvm create --bluestore --data /dev/sdc
stderr: sudo: vgs: command not found
Running command: sudo vgcreate --force --yes ceph-a3ce9f2a-8ad1-4138-ad52-52180dded0e4 /dev/sdc
stderr: sudo: vgcreate: command not found
--> RuntimeError: command returned non-zero exit status: 1

Installing lvm2 with yum fixed the problem and the osd was created.


Related issues

Copied to ceph-volume - Backport #22701: luminous: ceph-volume fails when centos7 image doesn't have lvm2 installed Resolved

History

#1 Updated by Kefu Chai over 1 year ago

https://github.com/ceph/ceph/pull/19529

I think we need to back port the fix to luminous.

#2 Updated by Kefu Chai over 1 year ago

  • Status changed from New to Pending Backport
  • Target version deleted (v12.2.2)
  • Backport set to luminous

#3 Updated by Nathan Cutler over 1 year ago

  • Copied to Backport #22701: luminous: ceph-volume fails when centos7 image doesn't have lvm2 installed added

#4 Updated by Nathan Cutler over 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF