Project

General

Profile

Actions

Bug #43273

closed

mgr/rook: inconsistent path value for Devices

Added by Kiefer Chang over 4 years ago. Updated over 4 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Kiefer Chang over 4 years ago

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

Updated by Sage Weil over 4 years ago

  • Status changed from New to Triaged
  • Priority changed from Normal to Urgent
Actions #3

Updated by Sage Weil over 4 years ago

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

Updated by Sage Weil over 4 years ago

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

Updated by Sebastian Wagner over 4 years ago

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

Also available in: Atom PDF