Actions
Bug #5311
closedExistence of parent directories for admin and bootstrap keys in ceph-create-keys not checked
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