Actions
Bug #5813
closedNormalize ceph-deploy Exceptions for better error reporting
% 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.
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