Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2316019

Summary: [crimson] OSD device class is not being displayed in outputs
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Harsh Kumar <hakumar>
Component: RADOSAssignee: Matan Breizman <mbreizma>
Status: CLOSED ERRATA QA Contact: Harsh Kumar <hakumar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.0CC: bhubbard, ceph-eng-bugs, cephqe-warriors, jcaratza, ngangadh, nojha, vumrao
Target Milestone: ---Keywords: Reopened, TechPreview
Target Release: 9.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-20.1.0-63 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-29 06:52:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Harsh Kumar 2024-10-01 21:43:10 UTC
Description of problem:
Downstream equivalent of Upstream tracker - https://tracker.ceph.com/issues/66627
Issue is pretty basic, the device class for Crimson OSD does not get displayed in ceph osd tree and ceph osd df outputs.

Issue was reported in upstream builds previously and is being worked on.
This is a downstream tracker for the same issue as the problem has also been observed in downstream build of Crimson

Version-Release number of selected component (if applicable):
ceph version 19.1.1-60.0.crimson.el9cp (c1b82983c7814645622bbf28e147fbb28708ba17) squid (rc)

How reproducible:
3/3

Steps to Reproduce:
1. Deploy Crimson cluster
2. Run `ceph osd tree` or `ceph osd df`
3. Observe the CLASS column being blank

Actual results:
    [ceph: root@folio01 /]# ceph osd tree
    2024-09-30T21:58:59.199+0000 7feb08cda640 -1 WARNING: the following dangerous and experimental features are enabled: crimson
    2024-09-30T21:58:59.200+0000 7feb08cda640 -1 WARNING: the following dangerous and experimental features are enabled: crimson
    ID  CLASS  WEIGHT    TYPE NAME         STATUS  REWEIGHT  PRI-AFF
    -1         19.78711  root default                               
    -2          4.94678      host folio02                           
     4          1.23669          osd.4         up   1.00000  1.00000
     5          1.23669          osd.5         up   1.00000  1.00000
     9          1.23669          osd.9         up   1.00000  1.00000
    12          1.23669          osd.12        up   1.00000  1.00000
    -5          4.94678      host folio03                           
     3          1.23669          osd.3         up   1.00000  1.00000
     6          1.23669          osd.6         up   1.00000  1.00000
    10          1.23669          osd.10        up   1.00000  1.00000
    14          1.23669          osd.14        up   1.00000  1.00000
    -3          4.94678      host folio04                           
     0          1.23669          osd.0         up   1.00000  1.00000
     1          1.23669          osd.1         up   1.00000  1.00000
     8          1.23669          osd.8         up   1.00000  1.00000
    13          1.23669          osd.13        up   1.00000  1.00000
    -4          4.94678      host folio05                           
     2          1.23669          osd.2         up   1.00000  1.00000
     7          1.23669          osd.7         up   1.00000  1.00000
    11          1.23669          osd.11        up   1.00000  1.00000
    15          1.23669          osd.15        up   1.00000  1.00000

[ceph: root@folio01 /]# ceph osd df
2024-10-01T21:39:15.604+0000 7f6822514640 -1 WARNING: the following dangerous and experimental features are enabled: crimson
2024-10-01T21:39:15.605+0000 7f6822514640 -1 WARNING: the following dangerous and experimental features are enabled: crimson
ID  CLASS  WEIGHT   REWEIGHT  SIZE     RAW USE  DATA     OMAP    META     AVAIL    %USE   VAR   PGS  STATUS
 4         1.23669   1.00000      0 B      0 B      0 B     0 B      0 B      0 B      0     0    0    down
 5         1.23669   1.00000      0 B      0 B      0 B     0 B      0 B      0 B      0     0    5    down
 9         1.23669   1.00000  1.2 TiB  374 GiB  1.6 GiB   4 KiB  357 MiB  892 GiB  29.55  1.00   67      up
12         1.23669   1.00000      0 B      0 B      0 B     0 B      0 B      0 B      0     0    0    down
 3         1.23669   1.00000      0 B      0 B      0 B     0 B      0 B      0 B      0     0    0    down
 6         1.23669   1.00000      0 B      0 B      0 B     0 B      0 B      0 B      0     0    0    down
10         1.23669   1.00000  1.2 TiB  374 GiB  1.7 GiB   4 KiB  244 MiB  892 GiB  29.56  1.00   68      up
14         1.23669         0      0 B      0 B      0 B     0 B      0 B      0 B      0     0    0    down
 0         1.23669         0      0 B      0 B      0 B     0 B      0 B      0 B      0     0    0    down
 1         1.23669         0      0 B      0 B      0 B     0 B      0 B      0 B      0     0    0    down
 8         1.23669         0      0 B      0 B      0 B     0 B      0 B      0 B      0     0    0    down
13         1.23669   1.00000      0 B      0 B      0 B     0 B      0 B      0 B      0     0    0    down
 2         1.23669         0      0 B      0 B      0 B     0 B      0 B      0 B      0     0    0    down
 7         1.23669   1.00000  1.2 TiB  374 GiB  1.3 GiB   3 KiB  590 MiB  892 GiB  29.53  1.00   54      up
11         1.23669   1.00000  1.2 TiB  373 GiB  576 MiB   2 KiB  118 MiB  893 GiB  29.47  1.00   26    down
15         1.23669   1.00000  1.2 TiB  374 GiB  1.1 GiB   2 KiB  862 MiB  893 GiB  29.51  1.00   66      up
                       TOTAL  6.2 TiB  1.8 TiB  6.2 GiB  18 KiB  2.1 GiB  4.4 TiB  29.52                   
MIN/MAX VAR: 0/1.00  STDDEV: 21.80

Expected results:

[root@ceph-hakumar-elyt5c-node7 ~]# ceph osd tree
ID   CLASS  WEIGHT   TYPE NAME                            STATUS  REWEIGHT  PRI-AFF
 -1         0.48798  root default                                                  
 -9         0.09760      host ceph-hakumar-elyt5c-node10                           
  3    hdd  0.02440          osd.3                            up   1.00000  1.00000
  8    hdd  0.02440          osd.8                            up   1.00000  1.00000
 13    hdd  0.02440          osd.13                           up   1.00000  1.00000
 18    hdd  0.02440          osd.18                           up   1.00000  1.00000
-11         0.09760      host ceph-hakumar-elyt5c-node3                            
  4    hdd  0.02440          osd.4                            up   1.00000  1.00000
  9    hdd  0.02440          osd.9                            up   1.00000  1.00000
 14    hdd  0.02440          osd.14                           up   1.00000  1.00000
 19    hdd  0.02440          osd.19                           up   1.00000  1.00000
 -5         0.09760      host ceph-hakumar-elyt5c-node4                            
  0    hdd  0.02440          osd.0                            up   1.00000  1.00000
  7    hdd  0.02440          osd.7                            up   1.00000  1.00000
 12    hdd  0.02440          osd.12                           up   1.00000  1.00000
 16    hdd  0.02440          osd.16                           up   1.00000  1.00000
 -3         0.09760      host ceph-hakumar-elyt5c-node5                            
  1    hdd  0.02440          osd.1                            up   1.00000  1.00000
  6    hdd  0.02440          osd.6                            up   1.00000  1.00000
 10    hdd  0.02440          osd.10                           up   1.00000  1.00000
 15    hdd  0.02440          osd.15                           up   1.00000  1.00000
 -7         0.09760      host ceph-hakumar-elyt5c-node9                            
  2    hdd  0.02440          osd.2                            up   1.00000  1.00000
  5    hdd  0.02440          osd.5                            up   1.00000  1.00000
 11    hdd  0.02440          osd.11                           up   1.00000  1.00000
 17    hdd  0.02440          osd.17                           up   1.00000  1.00000

Additional info:

Comment 8 errata-xmlrpc 2026-01-29 06:52:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 9.0 Security and Enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2026:1536