Project

General

Profile

Bug #50010

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

Added by Rishabh Dave 8 months ago. Updated 7 months ago.

Status:
Fix Under Review
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.

History

#1 Updated by Patrick Donnelly 8 months ago

  • Assignee set to Rishabh Dave
  • Target version set to v17.0.0

#2 Updated by Rishabh Dave 7 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 40434

Also available in: Atom PDF