diff options
author | Jenkins <jenkins@review.openstack.org> | 2012-09-13 00:07:52 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2012-09-13 00:07:52 +0000 |
commit | 40afdf46b9340d734c40c4c42d968d3017cc5cee (patch) | |
tree | 5813c2108f83c7f9ca7e997bffb62ba84676c15a /nova/exception.py | |
parent | 5bb5a10abc9d3731303e87f129256e331e6359b4 (diff) | |
parent | 0d2523f029b291817551e33fe15cd7ab33fe2102 (diff) | |
download | nova-40afdf46b9340d734c40c4c42d968d3017cc5cee.tar.gz nova-40afdf46b9340d734c40c4c42d968d3017cc5cee.tar.xz nova-40afdf46b9340d734c40c4c42d968d3017cc5cee.zip |
Merge "Stop fetch_ca from throwing IOError exceptions"
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index ad90559bb..ca0239f6f 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -1100,6 +1100,14 @@ class UnexpectedTaskStateError(NovaException): "the actual state is %(actual)s") +class CryptoCAFileNotFound(FileNotFound): + message = _("The CA file for %(project)s could not be found") + + +class CryptoCRLFileNotFound(FileNotFound): + message = _("The CRL file for %(project)s could not be found") + + def get_context_from_function_and_args(function, args, kwargs): """Find an arg of type RequestContext and return it. |