summaryrefslogtreecommitdiff
path: root/nova/exception.py
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-11-17 16:17:50 +0000
committerJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-12-02 15:58:58 +0000
commitc25f7e7e832472ea2b5801d041cbf126333b1aaa (patch)
tree03e671a832e88cda64c186dc0dcdf653e6d20ce0 /nova/exception.py
parentab215c42a2a31c8b4a6aa455911535183ab931af (diff)
downloadnova-c25f7e7e832472ea2b5801d041cbf126333b1aaa.tar.gz
Implement resize down for XenAPI
This patch implements resizing an instance to a smaller disk. It implements this by copying the VDI and running e2resize, before transferring to the new host. Change-Id: Ic901a59cb6cdb79605c70528cf85064d8335ee2f
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/nova/exception.py b/nova/exception.py
index f30218ab0c..8da1d752c6 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -830,10 +830,6 @@ class CannotResizeToSameSize(NovaException):
message = _("When resizing, instances must change size!")
-class CannotResizeToSmallerSize(NovaException):
- message = _("Resizing to a smaller size is not supported.")
-
-
class ImageTooLarge(NovaException):
message = _("Image is larger than instance type allows")