Actions
Bug #22443
closedceph-volume fails when centos7 image doesn't have lvm2 installed
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
ceph-volume
Backport:
luminous
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
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.
Updated by Kefu Chai over 6 years ago
https://github.com/ceph/ceph/pull/19529
I think we need to back port the fix to luminous.
Updated by Kefu Chai over 6 years ago
- Status changed from New to Pending Backport
- Target version deleted (
v12.2.2) - Backport set to luminous
Updated by Nathan Cutler over 6 years ago
- Copied to Backport #22701: luminous: ceph-volume fails when centos7 image doesn't have lvm2 installed added
Updated by Nathan Cutler over 6 years ago
- Status changed from Pending Backport to Resolved
Actions