Project

General

Profile

Actions

Bug #22842

open

(luminous) ceph-disk prepare of simple filestore failed with 'Unable to set partition name' under ubuntu trusty

Added by Enrico Labedzki over 6 years ago. Updated about 6 years ago.

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

0%

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

Description

Hi,

can't create a simple filestore with help of ceph-disk under ubuntu trusy, please have a look on this...

root@luminous-node1:~# ceph-disk prepare --filestore --cluster ceph --cluster-uuid 1da14634-950f-4ebf-90c5-6dd7d906c071 --fs-type xfs /dev/sde
/usr/lib/python2.7/dist-packages/ceph_disk/main.py:5653: UserWarning:
*******************************************************************************
This tool is now deprecated in favor of ceph-volume.
It is recommended to use ceph-volume for OSD deployments. For details see:

    http://docs.ceph.com/docs/master/ceph-volume/#migrating

*******************************************************************************

  warnings.warn(DEPRECATION_WARNING)
Creating new GPT entries.
Could not create partition 2 from 2048 to 2099199
Unable to set partition 2's name to 'ceph journal'!
Could not change partition 2's type code to 45b0969e-9b03-4f30-b4c6-b4b80ceff106!
Error encountered; not saving changes.
'/sbin/sgdisk --new=2:0:+1024M --change-name=2:ceph journal --partition-guid=2:6ddb9c38-e2b5-461d-b992-f859e100a077 --typecode=2:45b0969e-9b03-4f30-b4c6-b4b80ceff106 --mbrtogpt -- /dev/sde' failed with status code 4

ceph-volume is currently not a option because he has another open bug http://tracker.ceph.com/issues/22840 which makes it impossible to create a filestore in the normal way.

At the moment we do this manually, which is error prone.

Best regards
Enrico

Actions

Also available in: Atom PDF