Project

General

Profile

Actions

Bug #50010

closed

qa/cephfs: get_key_from_keyfile() return None when key is not found in keyfile

Added by Rishabh Dave about 3 years ago. Updated almost 2 years ago.

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

0%

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

Description

Absence of key in a keyring file is an odd and exceptional situation. Therefore, CephFSMount.get_key_from_keyfile() should raise an exception instead of ignoring the situation and returning None.

Actions

Also available in: Atom PDF