Project

General

Profile

Bug #4887

ceph-disk list: Doesn't list properly devices using dm-mapper

Added by Alexandre Marangone almost 11 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Support
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

$ sudo ceph-disk list
[...]
/dev/sdl :
 /dev/sdl1 ceph data, unprepared
 /dev/sdl2 ceph journal
/dev/sdm :
 /dev/sdm1 ceph data, unprepared
 /dev/sdm2 ceph journal
$ sudo cat /proc/mounts
[...]
/dev/mapper/6b475e99-eba5-4cb2-a99d-02085b4ebd8e /var/lib/ceph/osd/ceph-662 xfs rw,noatime,attr2,delaylog,logbsize=64k,sunit=128,swidth=128,noquota 0 0
/dev/mapper/0eeda417-29f5-4bbe-92bc-bdf7f22cba5d /var/lib/ceph/osd/ceph-882 xfs rw,noatime,attr2,delaylog,logbsize=64k,sunit=128,swidth=128,noquota 0 0

The OSDs are up and in.

Tested on bobtail-deploy branch.


Related issues

Duplicated by devops - Bug #7157: ceph-disk list fails in encrypted disk setup Duplicate 01/15/2014

History

#1 Updated by Sage Weil almost 11 years ago

  • Project changed from Ceph to devops
  • Priority changed from Normal to High

#2 Updated by Ian Colle about 10 years ago

  • Assignee set to Alfredo Deza

Alfredo - please confirm this issue no longer exists in current ceph-disk

#3 Updated by Ian Colle almost 10 years ago

  • Assignee deleted (Alfredo Deza)

#4 Updated by Ian Colle almost 10 years ago

  • Assignee set to Alfredo Deza
  • Priority changed from High to Urgent
  • Source changed from other to Support

#5 Updated by Alfredo Deza almost 10 years ago

  • Status changed from New to In Progress

#6 Updated by Alfredo Deza almost 10 years ago

There are two components here that will fix this. First is issue #6700 which had a PR but was not reviewed.

It just got merged and I guess it will need to get backported.

The other component to this is the issue that got marked as a duplicate to this one ( #7157 ) but includes a patch that was never
merged.

I will create a PR so that it can be added, and possibly backported too.

#7 Updated by Alfredo Deza almost 10 years ago

  • Status changed from In Progress to Resolved

This is now no longer a problem in master. However, there are two related issues that might prevent someone from being able to
create OSDs with dmcrypt that will need fixing: #8591 and #8592

Also available in: Atom PDF