Actions
Bug #52504
closedraw: list is failing when using logical partition on the host
% Done:
0%
Source:
Tags:
Backport:
pacific,octopus
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
This is a regression introduced by [1]
When a logical partition is present on the host then the lsblk output displays the parent/child relationship between the device and the partition via the `└─` character.
# lsblk --paths --output=NAME --noheadings /dev/sda └─/dev/sda1 /dev/sdb /dev/sdc /dev/sdd
Due to this output, the `ceph-volume raw list` command is failing (in fact, the command returns zero but stderr shows the lsblk error)
# ceph-volume raw list {} stderr: lsblk: `-/dev/sda1: not a block device
[1] https://github.com/ceph/ceph/commit/9212420bbc88e0caaf0b2302dd1f379f563f7d26
Actions