Actions
Bug #23693
closedceph-volume lvm list miss Ceph's disks
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
In a container :
- run "ceph-volume lvm prepare --bluestore --data /dev/sde"
- run "ceph-volume lvm list"
The lvm list reports the newly created osd, perfect.
Now, jump on the host :- run "ceph-volume lvm list"
or - run "ceph-volume lvm list /dev/sde"
The lvm list commands reports nothing.
This could be at least misleading because its says there is no configured device.
In the later case, asking if a block device is configured and getting no answer means the disk is out of any Ceph data, which is wrong.
This could lead to destructive actions.
ceph-volume should reports the disks as used regarding-less in that is from the container or the host.
This is an issue as this could be considered
Actions