Project

General

Profile

Actions

Bug #52904

open

zram devices should not be displayed as disk devices by ceph-volume

Added by Paul Cuzner over 2 years 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

Currently zram shows as a device to ceph-volume. These devices are volatile and not really usable by ceph, so it would make sense to exclude zram* from the block devices that are returned during inventory.

e.g.
[ceph: root@f34cluster /]# ceph-volume inventory

Device Path Size rotates available Model name
/dev/sda 32.00 GB True False Virtual disk
/dev/sdb 1024.00 GB True False Virtual disk
/dev/sdc 1024.00 GB True False Virtual disk
/dev/sdd 1024.00 GB True False Virtual disk
/dev/zram0 7.75 GB False False

if they are masked by ceph-volume then all consumers of this data would also benefit (orch device ls, the UI etc)

A similar issue exists in the cephadm gather-facts code (will raise as a separate tracker)

The presence of zram was first raised in https://tracker.ceph.com/issues/47978 (October 2020)

No data to display

Actions

Also available in: Atom PDF