summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2013-01-28 23:25:23 +0000
committerRick Harris <rconradharris@gmail.com>2013-01-30 18:00:08 +0000
commit8ab6a0fd9e16f650e202c8cf631fa03004451d9f (patch)
tree945e7265d3e4a05c6a6bfaa077afc7696436cc7a /nova/exception.py
parent05751bb7861892b949dedeccc283ce48abee0d16 (diff)
downloadnova-8ab6a0fd9e16f650e202c8cf631fa03004451d9f.tar.gz
nova-8ab6a0fd9e16f650e202c8cf631fa03004451d9f.tar.xz
nova-8ab6a0fd9e16f650e202c8cf631fa03004451d9f.zip
Code cleanup for rebuild block device mapping
* Removes extra call to get block-device-mappings when detaching during recreate. * Untangle network handling from block-device handling in rebuild * DRYs up evacuate hosts tests * Temporary mutation supports dicts as well as objs * Make instance recreate exceptions more specific to aid testing Change-Id: I242f9f6a7d329f27b06b7e81b9a418e01682c82e
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 6915c14bb..6bb8097c3 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -1120,3 +1120,7 @@ class CryptoCAFileNotFound(FileNotFound):
class CryptoCRLFileNotFound(FileNotFound):
message = _("The CRL file for %(project)s could not be found")
+
+
+class InstanceRecreateNotSupported(Invalid):
+ message = _('Instance recreate is not implemented by this virt driver.')