Project

General

Profile

Actions

Bug #7334

closed

ceph-disk: cannot run partprobe on used devices with EL6

Added by Alexandre Marangone about 10 years ago. Updated about 9 years ago.

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

0%

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

Description

commit:42900ff9da9f5adcac239a84ebf4d2e407c29699

https://bugzilla.redhat.com/show_bug.cgi?id=614357.

After ceph-disk creates the journal and data partitions, it calls partprobe on both of them.

Doing so on EL6 distros will fail if one of the device partition is being used. This is problematic when using SSDs for Ceph journals since we do create multiple partitions.

To fix this manually, after all the OSDs have been deployed:
- service ceph stop osd
- partprobe
- ceph-disk activate-all

There's also the possibility to patch ceph-disk to check for the linux distribution and if sgdisk returns more than 1 partitions, run partx instead of partprobe.
Ref: https://access.redhat.com/site/solutions/57542

I don't know if this also affects EL7.


Related issues 1 (0 open1 closed)

Related to devops - Bug #10987: ceph-disk broken for rhel 7 due to usage of partxCan't reproduceItamar Landsman03/02/2015

Actions
Actions #1

Updated by Alexandre Marangone about 10 years ago

  • Category set to ceph-disk
Actions #2

Updated by Ian Colle about 10 years ago

  • Assignee set to Alfredo Deza
Actions #3

Updated by Ian Colle about 10 years ago

  • Priority changed from Normal to Urgent
Actions #4

Updated by Alfredo Deza about 10 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Alfredo Deza about 10 years ago

  • Status changed from In Progress to Fix Under Review
Actions #6

Updated by Alfredo Deza about 10 years ago

  • Status changed from Fix Under Review to Resolved

merged into ceph's master branch af5d0fc

Actions #7

Updated by Ian Colle about 10 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to Dumpling

Alfredo - please cherry pick to Dumpling

Actions #8

Updated by Alfredo Deza about 10 years ago

Created branch dumpling-7334 and got all dumpling ceph-deploy suite tests to pass http://pulpito.ceph.com/ubuntu-2014-02-12_16:52:33-ceph-deploy-dumpling-7334-testing-basic-plana/

Opened pull request to merge the backport to dumpling https://github.com/ceph/ceph/pull/1232

Actions #9

Updated by Alfredo Deza about 10 years ago

  • Status changed from Pending Backport to Resolved

Merged into ceph dumpling branch with hash 1c42a6e

Actions #10

Updated by Loïc Dachary about 9 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF