Project

General

Profile

Actions

Feature #63864

closed

When listing devices it would be helpful to have a summary footer with a total of HDDs and SSDs

Added by Paul Cuzner 4 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
orchestrator
Target version:
-
% Done:

100%

Source:
Tags:
backport_processed
Backport:
reef
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently (18.2.0), when you issue a ceph orch device ls <host> you get the devices, but on hosts containing a large device count the output could benefit from a summary footer to confirm quickly whether the device count is as expected. Maybe this could be an additional switch on the command?

e.g.

ceph orch device ls storage-13-09002 --totals
HOST              PATH          TYPE  DEVICE ID                                          SIZE  AVAILABLE  REFRESHED  REJECT REASONS
storage-13-09002  /dev/nvme0n1  ssd   Dell_Ent_NVMe_PM1735a_MU_1.6TB_S6UVNE0TA02403     1490G  No         9s ago     Has a FileSystem, LVM detected
storage-13-09002  /dev/nvme1n1  ssd   Dell_Ent_NVMe_PM1735a_MU_1.6TB_S6UVNE0TA02408     1490G  No         9s ago     Has a FileSystem, LVM detected
storage-13-09002  /dev/nvme2n1  ssd   Dell_Ent_NVMe_PM1735a_MU_1.6TB_S6UVNE0TA02405     1490G  No         9s ago     Has a FileSystem, LVM detected
storage-13-09002  /dev/nvme3n1  ssd   Dell_Ent_NVMe_PM1735a_MU_1.6TB_S6UVNE0TA02406     1490G  No         9s ago     Has a FileSystem, LVM detected
storage-13-09002  /dev/sda      ssd   PERC_H740P_Mini_6f4ee080543e2a002be90d9d1f352512   446G  No         9s ago     Has GPT headers, Has partitions

HDD 0, 5 SSD, 0 devices free


Related issues 1 (0 open1 closed)

Copied to Orchestrator - Backport #63985: reef: When listing devices it would be helpful to have a summary footer with a total of HDDs and SSDsResolvedAdam KingActions
Actions #1

Updated by Paul Cuzner 4 months ago

  • Category changed from cephadm to orchestrator
  • Status changed from New to In Progress
  • Assignee set to Paul Cuzner
  • % Done changed from 0 to 100
  • Backport set to reef
  • Pull request ID set to 54978
Actions #2

Updated by Adam King 4 months ago

  • Status changed from In Progress to Pending Backport
Actions #3

Updated by Backport Bot 4 months ago

  • Copied to Backport #63985: reef: When listing devices it would be helpful to have a summary footer with a total of HDDs and SSDs added
Actions #4

Updated by Backport Bot 4 months ago

  • Tags set to backport_processed
Actions #5

Updated by Adam King about 2 months ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF