Project

General

Profile

Actions

Bug #52301

open

Wrong device type detected/reported by orch device ls

Added by M B over 2 years ago. Updated 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

Hello,

I have a new small freshly installed Octopus 16.2.5 cluster on ARM with Samsung SSD 7.6TB 2.5 SATA PM883 disk (MZ7LH7T6HMLA-000) and the "orch device ls" command of ceph reports that this device has HDD type although it should be detected as SDD as you can see below:

$ ceph orch device ls
Hostname  Path      Type  Serial          Size   Health   Ident  Fault  Available  
ceph1g    /dev/sda  hdd   REMOVEDSERIAL  7681G  Unknown  N/A    N/A    No        


As workaround I manually changed the class type but I guess it should have been detected as SDD when adding that specific OSD device.

Related issues 1 (1 open0 closed)

Related to Orchestrator - Bug #52693: orchestrator incorrectly evaluates osd spec filterNew

Actions
Actions #1

Updated by Dimitri Savineau over 2 years ago

Would you be able to run `cephadm ceph-volume inventory` on your node with the SSD device ? and compare the `rotates` field in the output with the ceph orch device ls output.

Just to be sure if the issue is coming from ceph-volume or the orchestrator itself.

Actions #2

Updated by Sebastian Wagner over 2 years ago

  • Description updated (diff)
Actions #3

Updated by Marvin Boothby over 2 years ago

Stumbled upon the same issue,

three identical VMware VMs attached to all-flash-storage. Bootstrapped Pacific 16.2.5 once and all devices were correctly identified as SSD. Reverted to snapshot and installed a second time, then one device was detected as HDD.

$ ceph orch device ls
Hostname Path Type Serial Size Health Ident Fault Available
ceph-1a /dev/sdb ssd 107G Unknown N/A N/A No
ceph-1b /dev/sdb ssd 107G Unknown N/A N/A No
ceph-1c /dev/sdb hdd 107G Unknown N/A N/A No

$ ssh ceph-1c cephadm ceph-volume inventory
Inferring fsid f7d3b2f9-1240-19ec-9496-0150569de6cb
Using recent ceph image docker.io/ceph/ceph@sha256:829ebf54704f2d827de00913b171e5da741aad9b53c1f35ad59251524790eceb

Device Path Size rotates available Model name
/dev/sda 40.00 GB True False Virtual disk
/dev/sdb 100.00 GB True False Virtual disk

Actions #4

Updated by Sebastian Wagner over 2 years ago

  • Project changed from Orchestrator to ceph-volume
  • Category deleted (orchestrator)
Actions #5

Updated by Sebastian Wagner over 2 years ago

  • Related to Bug #52693: orchestrator incorrectly evaluates osd spec filter added
Actions

Also available in: Atom PDF