Project

General

Profile

Actions

Bug #17833

closed

missing key-management-mode in ceph.conf after default deployment

Added by Joshua Schmid over 7 years ago. Updated over 7 years ago.

Status:
Duplicate
Priority:
Immediate
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
ceph-disk, osd-lockbox, dmcrypt
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-disk
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

If you depoloy a cluster with the --dmcrypt option, without specifically setting the key-management-mode in the ceph.conf ceph-disk will complain about a unknown key-management-mode in the ceph-disk systemdservice logs [*attached]

Looking at the code tells me that ceph-disk expects a k/v here unlike during the creation phase where ceph-disk falls back to the default(ceph-mon v1).

source: https://github.com/ceph/ceph/blob/master/src/ceph-disk/ceph_disk/main.py#L1150

adding key-management-mode = ceph-mon v1 obviously solves that issue.

That shouldn't happen in the first place as it should be written to the ceph.conf:

source: https://github.com/ceph/ceph/blob/master/src/ceph-disk/ceph_disk/main.py#L2408


Files

ceph-disk.log (3.53 KB) ceph-disk.log Joshua Schmid, 11/09/2016 10:55 AM

Related issues 1 (0 open1 closed)

Is duplicate of Ceph - Bug #17849: ceph-disk --dmcrypt create must not require admin keyResolvedLoïc Dachary11/09/2016

Actions
Actions

Also available in: Atom PDF