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
This commit is contained in:
@@ -909,8 +909,8 @@ class PasteAppNotFound(NovaException):
|
|||||||
message = _("Could not load paste app '%(name)s' from %(path)s")
|
message = _("Could not load paste app '%(name)s' from %(path)s")
|
||||||
|
|
||||||
|
|
||||||
class CannotResizeToSameSize(NovaException):
|
class CannotResizeToSameFlavor(NovaException):
|
||||||
message = _("When resizing, instances must change size!")
|
message = _("When resizing, instances must change flavor!")
|
||||||
|
|
||||||
|
|
||||||
class ImageTooLarge(NovaException):
|
class ImageTooLarge(NovaException):
|
||||||
|
|||||||
Reference in New Issue
Block a user