Project

General

Profile

Actions

Bug #11612

closed

ceph-disk: get_partition_type fails on /dev/cciss...

Added by Loïc Dachary almost 9 years ago. Updated almost 9 years ago.

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

0%

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

Description

Because the regular expression is incorrect in ceph-disk, it should be

    if 'loop' in dev or 'cciss' in dev:
        (base, partnum) = re.match('(.*\d+)p(\d+)', dev).group(1, 2)
    else:
        (base, partnum) = re.match('(\D+)(\d+)', dev).group(1, 2)


Related issues 2 (0 open2 closed)

Copied to Ceph - Backport #11759: ceph-disk: get_partition_type fails on /dev/cciss...ResolvedNathan Cutler05/13/2015Actions
Copied to Ceph - Backport #11760: ceph-disk: get_partition_type fails on /dev/cciss...ResolvedAbhishek Lekshmanan05/13/2015Actions
Actions #1

Updated by Sage Weil almost 9 years ago

  • Project changed from rgw to Ceph
Actions #2

Updated by Loïc Dachary almost 9 years ago

  • Description updated (diff)
  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Nathan Cutler almost 9 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF