nova/nova/virt/powervm
esberglu a01caaa30b Use correct arguments in task inits
The CreateAndConnectCfgDrive and DeleteVOpt tasks were passing the
instance into the task.Task init as the first argument. The first arg
for the Task init is actually the task name [1]. This means that those
task names were string representations of the instance which will cause
failures if there are any non-ascii characters. This corrects the Task
init calls by removing instance as the first argument. The name kwarg
is now being used throughout the PowerVM tasks to avoid similar issues
in the future.

[1] https://github.com/openstack/taskflow/blob/3.1.0/taskflow/task.py#L62

Change-Id: I991a5ea33daa9a21f774fe24882ed40f990b8e0e
Closes-Bug: #1748950
(cherry picked from commit db686fe185)
2018-02-13 17:05:21 -05:00
..
disk PowerVM Driver: SSP emphemeral disk support 2017-05-25 16:21:23 -05:00
tasks Use correct arguments in task inits 2018-02-13 17:05:21 -05:00
__init__.py PowerVM Driver: spawn/delete #1: no-ops 2017-04-10 14:59:40 -05:00
driver.py PowerVM driver: ovs vif 2018-01-16 19:02:25 -06:00
host.py hypervisor_hostname must match get_available_nodes 2017-06-20 16:34:38 -05:00
media.py PowerVM driver: ovs vif 2018-01-16 19:02:25 -06:00
vif.py PowerVM Driver: SEA 2018-01-22 11:18:55 -06:00
vm.py PowerVM driver: ovs vif 2018-01-16 19:02:25 -06:00