nova/nova/virt/powervm
Matt Riedemann a958dc5fcc Add power_on kwarg to ComputeDriver.spawn() method
For a cross-cell resize, the equivalent of the "finish_resize"
method on the destination compute is going to call the
driver spawn() method rather than the finish_migration()
method and needs to pass through the power_on value, similar
to finish_migration, so that when resizing a stopped server
it remains stopped once it is resized.

The finish_migration method in the driver behaves very similar
to spawn so the semantics are the same.

This change updates the spawn method signature for all in-tree
compute drivers but only implements the logic for the libvirt
driver as that is the only driver (currently) which supports
cross-cell resize (note the can_connect_volume method is also
necessary for cross-cell resize implementation in the driver).

Part of blueprint cross-cell-resize

Change-Id: I6929c588dd2e0e805f2e30b2e30d29967469d756
2019-08-27 14:26:33 -04:00
..
disk fix PowerVM get_bootdisk_path docstring 2018-06-20 16:49:58 -04:00
tasks conf: Rename 'configuration drive' to 'config drive' 2019-06-20 18:23:14 +01:00
volume PowerVM Driver: vSCSI Fibre Channel volume adapter 2018-05-22 11:39:32 -05:00
__init__.py PowerVM Driver: spawn/delete #1: no-ops 2017-04-10 14:59:40 -05:00
driver.py Add power_on kwarg to ComputeDriver.spawn() method 2019-08-27 14:26:33 -04:00
host.py Remove unused LOG variables 2018-02-27 11:19:48 +00:00
image.py Share snapshot image membership with instance owner 2019-02-08 18:06:27 -05:00
media.py Add missing ws seperator between words 2018-11-26 23:42:18 +00:00
mgmt.py Style corrections for privsep usage. 2019-04-01 23:35:53 +00:00
vif.py remove unnecessary conf imports 2018-03-09 14:30:10 -05:00
vm.py PowerVM: Add proc_units_factor conf option 2018-04-10 11:24:20 -05:00