Project

General

Profile

Bug #43273

mgr/rook: inconsistent path value for Devices

Added by Kiefer Chang about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
mgr/rook
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

The Rook orchestrator backend returns devices whose paths have no `/dev/` prefix, e.g.:

Host k8s-2:
 Path  Type   Size  Available  Ceph Device ID  Reject Reasons 
 sdd   hdd   32.0G    False         None         not empty    
 sdb   hdd   20.0G     True         None                      
 sdc   hdd   20.0G     True         None                      
 sda   hdd   20.0G     True         None                      
Host k8s-3:
 Path  Type   Size  Available  Ceph Device ID  Reject Reasons 
 sdd   hdd   32.0G    False         None         not empty    
 sdb   hdd   20.0G     True         None                      
 sdc   hdd   20.0G     True         None                      
 sda   hdd   20.0G     True         None                      
Host k8s-1:
 Path  Type   Size  Available  Ceph Device ID  Reject Reasons 
 sdd   hdd   32.0G    False         None         not empty    
 sdb   hdd   20.0G     True         None                      
 sdc   hdd   20.0G     True         None                      
 sda   hdd   20.0G     True         None                     

The cephadm returns paths with `/dev/` prefix:

Host osd0:
 Path      Type   Size  Available  Ceph Device ID  Reject Reasons 
 /dev/vdb  hdd   5120M     True                                   
 /dev/vdc  hdd   5120M     True                                   
 /dev/vdd  hdd   5120M     True                                   
 /dev/vda  hdd   41.0G    False                        locked    

If the attribute is called path, then suppose Rook backend should return `/dev/` prefixes.


Related issues

Related to Dashboard - Bug #43136: mgr/dashboard: OSD IDs are not displayed in inventory page when using ssh-orchestrator Resolved

History

#1 Updated by Kiefer Chang about 3 years ago

  • Related to Bug #43136: mgr/dashboard: OSD IDs are not displayed in inventory page when using ssh-orchestrator added

#2 Updated by Sage Weil about 3 years ago

  • Status changed from New to Triaged
  • Priority changed from Normal to Urgent

#3 Updated by Sage Weil about 3 years ago

  • Status changed from Triaged to Fix Under Review
  • Pull request ID set to 32654

#4 Updated by Sage Weil about 3 years ago

  • Project changed from mgr to Orchestrator
  • Category deleted (orchestrator)

#5 Updated by Sebastian Wagner about 3 years ago

  • Category set to mgr/rook
  • Status changed from Fix Under Review to Resolved
  • Pull request ID set to 32654

Also available in: Atom PDF