Project

General

Profile

Bug #13438

ceph-disk prepare fails if device is a symlink

Added by Joe Julian over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
10/09/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
hammer,infernalis
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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 over 3 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 over 3 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 Loic Dachary over 3 years ago

  • Priority changed from Normal to High

#2 Updated by Loic Dachary over 3 years ago

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

#3 Updated by Loic Dachary over 3 years ago

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

#4 Updated by Loic Dachary over 3 years ago

  • Backport set to hammer

#6 Updated by Samuel Just over 3 years ago

  • Status changed from In Progress to Need Review

#7 Updated by Loic Dachary over 3 years ago

  • Status changed from Need Review to Pending Backport

#8 Updated by Loic Dachary over 3 years ago

  • Backport changed from hammer to hammer,infernalis

#9 Updated by Loic Dachary over 3 years ago

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

#10 Updated by Loic Dachary almost 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF