Project

General

Profile

Bug #56614

ceph-volume simple scan can not used deivce part

Added by xiaoliang yang 5 months ago. Updated 4 months ago.

Status:
New
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

when the devices of lvm is part of device,ceph-volume simple scan is unuseful.

[root@node1 ~]# ceph-volume simple scan
stderr: lsblk: /var/lib/ceph/osd/ceph-3:not a block device
stderr: Unknown device, --name=, --path=, or absolute path in /dev/ or /sys expected.
Running command: /usr/sbin/cryptsetup status tmpfs
stderr: blkid: error: tmpfs: No such file or directory
stderr: lsblk: tmpfs:not a block device
--> Ignoring /var/lib/ceph/osd/ceph-3 because it's not a ceph-disk created osd.

截图_选择区域_20220719151708.jpg View (33.5 KB) xiaoliang yang, 07/19/2022 07:17 AM

截图_选择区域_20220719151751.jpg View (110 KB) xiaoliang yang, 07/19/2022 07:17 AM

History

#1 Updated by Ilya Dryomov 5 months ago

  • Target version changed from v16.2.10 to v16.2.11

#2 Updated by Guillaume Abrioux 4 months ago

what's the actual issue with this?
afaik, `simple scan` just goes through all mount points in /var/lib/ceph/osd and tries to detect if the corresponding device was prepared with ceph-disk, if not it skips it.

Also available in: Atom PDF