20739463 Nova driver should support migration
authorXujin Zhang <xujin.zhang@oracle.com>
Fri, 22 Jul 2016 15:24:01 -0700
changeset 6458 d1b4766148c2
parent 6457 c93341f8b028
child 6467 e5632698211d
20739463 Nova driver should support migration
components/openstack/nova/files/solariszones/driver.py
--- a/components/openstack/nova/files/solariszones/driver.py	Fri Jul 22 15:56:30 2016 -0500
+++ b/components/openstack/nova/files/solariszones/driver.py	Fri Jul 22 15:24:01 2016 -0700
@@ -2993,9 +2993,6 @@
         :param power_on: True if the instance should be powered on, False
                          otherwise
         """
-        if not resize_instance:
-            raise NotImplementedError()
-
         samehost = (migration['dest_node'] == migration['source_node'])
         if samehost:
             instance.system_metadata['old_vm_state'] = vm_states.RESIZED