Project

General

Profile

Actions

Bug #5813

closed

Normalize ceph-deploy Exceptions for better error reporting

Added by Alfredo Deza over 10 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 #1

Updated by Alfredo Deza over 10 years ago

  • Status changed from New to Closed

With the combination of the new decorator to catch exceptions I noticed most of the exceptions are inherited from exc.DeployError.

Once pull request #39 gets merged into master, it will catch all exc.DeployError exceptions and return a nice error message.

Actions

Also available in: Atom PDF