Project

General

Profile

Actions

Bug #19105

closed

ceph-disk prepare fails when the output of parted has got more string attached

Added by Nicholas Gim about 7 years ago. Updated almost 3 years ago.

Status:
Won't Fix
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Hi, I've encountered an error during ceph-disk_prepare

"stderr": "prepare_device: OSD will not be hot-swappable if journal is not the same device as the osd data\nceph-disk: Error: parted output expected to contain /dev/mapper/vg--ssd2-lv--ssd2: BYT;\n/dev/mapper/vg--ssd2-lv--ssd2:326GB:dm:512:512:gpt:Linux device-mapper (linear):;"

It makes me guess that ceph-disk prepare fails when the output of parted has got too many additional informative string attached though I'm not sure.

The version number was 10.2.5-1xenial

Best Wishes
Gunwoo Gim

Actions #1

Updated by Nathan Cutler about 7 years ago

  • Project changed from 18 to Ceph
Actions #2

Updated by Nicholas Gim about 7 years ago

This PR fixes this problem by editing around 1460th line of src/ceph-disk/ceph_disk/main.py: https://github.com/ceph/ceph/pull/13994

Actions #3

Updated by Nathan Cutler about 7 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Sage Weil almost 3 years ago

  • Status changed from Fix Under Review to Won't Fix
Actions

Also available in: Atom PDF