Project

General

Profile

Bug #13438

ceph-disk prepare fails if device is a symlink

Added by Joe Julian about 7 years ago. Updated over 6 years ago.

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

0%

Source:
other
Tags:
Backport:
hammer,infernalis
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ceph-disk prepare /dev/enclosure0/slot1 /dev/enclosure0/slot0

where the devices are symlinks created by udev rule, fails with:

                 ceph-disk: Error: parted output expected to contain /dev/enclosure0/disk0: BYT;
                 /dev/sdb:100GB:scsi:512:4096:gpt:HITACHI HUSSL4010BSS600:;
                 1:1049kB:5370MB:5369MB::ceph journal:;
                 2:5370MB:10.7GB:5369MB::ceph journal:;
                 3:10.7GB:16.1GB:5369MB::ceph journal:;
                 4:16.1GB:21.5GB:5369MB::ceph journal:;

Related issues

Copied to Ceph - Backport #13440: ceph-disk prepare fails if device is a symlink Resolved
Copied to Ceph - Backport #13933: infernalis: ceph-disk prepare fails if device is a symlink Rejected

Associated revisions

Revision b3c7cb09 (diff)
Added by Joe Julian about 7 years ago

Compare parted output with the dereferenced path

Compare parted output with the dereferenced path of the device as parted
prints that instead of the symlink we called it with.

http://tracker.ceph.com/issues/13438 Fixes: #13438

Signed-off-by: Joe Julian <>

Revision b2f1e76d (diff)
Added by Joe Julian almost 7 years ago

Compare parted output with the dereferenced path

Compare parted output with the dereferenced path of the device as parted
prints that instead of the symlink we called it with.

http://tracker.ceph.com/issues/13438 Fixes: #13438

Signed-off-by: Joe Julian <>
(cherry picked from commit b3c7cb098195111b9c642e5a9b726b63717f2e0d)

History

#1 Updated by Loïc Dachary about 7 years ago

  • Priority changed from Normal to High

#2 Updated by Loïc Dachary about 7 years ago

  • Affected Versions v0.94.3 added
  • Affected Versions deleted (v0.94)

#3 Updated by Loïc Dachary about 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Joe Julian

#4 Updated by Loïc Dachary about 7 years ago

  • Backport set to hammer

#6 Updated by Samuel Just about 7 years ago

  • Status changed from In Progress to Fix Under Review

#7 Updated by Loïc Dachary about 7 years ago

  • Status changed from Fix Under Review to Pending Backport

#8 Updated by Loïc Dachary about 7 years ago

  • Backport changed from hammer to hammer,infernalis

#9 Updated by Loïc Dachary about 7 years ago

  • Copied to Backport #13933: infernalis: ceph-disk prepare fails if device is a symlink added

#10 Updated by Loïc Dachary over 6 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF