diff options
author | Alessandro Tagliapietra <tagliapietra.alessandro@gmail.com> | 2012-09-11 19:39:13 +0200 |
---|---|---|
committer | Alessandro Tagliapietra <tagliapietra.alessandro@gmail.com> | 2012-09-12 17:16:38 +0200 |
commit | 843af52d49554f15c13e5617b9eb672c35c7fe51 (patch) | |
tree | 7e5d38e7629534c6ec0009e89bbb4efc5eee29bc /nova/exception.py | |
parent | 511807ed248fbe63cb6642c1cff6e0bd4bb8ae5d (diff) | |
download | nova-843af52d49554f15c13e5617b9eb672c35c7fe51.tar.gz nova-843af52d49554f15c13e5617b9eb672c35c7fe51.tar.xz nova-843af52d49554f15c13e5617b9eb672c35c7fe51.zip |
Check flavor id on resize.
Actually it checks for memory size changes so you can't change just cpu or hdd when resizing instances.
Fixes bug 1049195
Change-Id: I793d19dbf5f1d89d365e63ab61b4edb983fdb11c
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/exception.py b/nova/exception.py index 1f51a08b5..ad90559bb 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -909,8 +909,8 @@ class PasteAppNotFound(NovaException): message = _("Could not load paste app '%(name)s' from %(path)s") -class CannotResizeToSameSize(NovaException): - message = _("When resizing, instances must change size!") +class CannotResizeToSameFlavor(NovaException): + message = _("When resizing, instances must change flavor!") class ImageTooLarge(NovaException): |