Project

General

Profile

Actions

Bug #23693

closed

ceph-volume lvm list miss Ceph's disks

Added by Anonymous about 6 years ago. Updated about 6 years ago.

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 #1

Updated by Alfredo Deza about 6 years ago

  • Status changed from New to Resolved

Pull request at: https://github.com/ceph/ceph/pull/21409

merged commit 336866a into ceph:master

Actions #3

Updated by Alfredo Deza about 6 years ago

merged commit 285df7b into luminous

Actions

Also available in: Atom PDF