From c25f7e7e832472ea2b5801d041cbf126333b1aaa Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Thu, 17 Nov 2011 16:17:50 +0000 Subject: 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 --- nova/exception.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'nova/exception.py') diff --git a/nova/exception.py b/nova/exception.py index f30218ab0..8da1d752c 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") -- cgit