Project

General

Profile

Actions

Bug #5813

closed

Normalize ceph-deploy Exceptions for better error reporting

Added by Alfredo Deza almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
ceph-deploy
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

ceph-deploy raises many different types of exceptions which makes it difficult for better reporting of the tool's errors.

ceph-deploy errors should raise RuntimeError as a common exception to an error.

In a lot of modules GenericError is being raised, that needs to change in favor or RuntimeError.

Actions

Also available in: Atom PDF