Project

General

Profile

Actions

Bug #52905

closed

cephadm gather-facts is returning zram* devices as a valid block device

Added by Paul Cuzner over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cephadm (binary)
Target version:
% Done:

100%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Since zram are not usable devices for Ceph, gather-facts should not return them.

e.g.

  "flash_count": 1,
  "flash_list": [
    {
      "description": "Unknown Unknown (66.6GB)",
      "dev_name": "zram0",
      "disk_size_bytes": 66597158912,
      "model": "Unknown",
      "rev": "Unknown",
      "vendor": "Unknown",
      "wwid": "Unknown" 
    }

The zram device is shown, but also it's capacity is reported incorrectly!

The gather-facts code should be excluding zram.

A similar tracker for ceph-volume is https://tracker.ceph.com/issues/52904

Actions

Also available in: Atom PDF