Project

General

Profile

Actions

Bug #5295

closed

mon keyring path in mon.py not checked properly

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

In the file mon.py, line 37 ff., of the ceph-deploy code the mon keyring path is not checked properly. Prior to writing the mon keyring the existence of the "done_path" (set to /var/lib/ceph/mon/ceph-{hostname}/done) is checked but subsequently the mon keyring is written to /var/lib/ceph/tmp/{cluster}-{hostname}.mon.keyring. This will fail if /var/lib/ceph/tmp does not exist.

Actions #1

Updated by Sage Weil almost 11 years ago

  • Status changed from New to Resolved

commit:dd9392023da4773c7006ec1fb86fee07a862d8f9

Actions

Also available in: Atom PDF