Project

General

Profile

Actions

Bug #5311

closed

Existence of parent directories for admin and bootstrap keys in ceph-create-keys not checked

Added by Peter Wienemann almost 11 years ago. Updated almost 11 years ago.

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

0%

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

Description

The ceph-create-key script does not check the existence of the parent directories in which the admin and the bootstrap keys are created. This can result in a failure of "ceph-deploy gatherkeys ..." with messages like:

root@ceph-admin:~# ceph-deploy gatherkeys mon01
Unable to find /var/lib/ceph/bootstrap-osd/ceph.keyring on ['mon01']
Unable to find /var/lib/ceph/bootstrap-mds/ceph.keyring on ['mon01']

Actions

Also available in: Atom PDF