diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-07-23 13:04:41 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-07-23 13:06:00 +0200 |
commit | e6b4dfc325847ccf76c0d0a0d3dbe367eb7052cd (patch) | |
tree | 49695ff73b14a996e1ff626c55dd66708803c51e | |
parent | dc77bb253463ceef27c8db08a91a5e78a0ffde96 (diff) |
Rename ext_network to floating_network in Rally tasks
It now fails [1]:
Traceback (most recent call last):
File "/src/rally/rally/task/runner.py", line 70, in _run_scenario_once
getattr(scenario_inst, method_name)(**scenario_kwargs)
File "/usr/lib/python3.8/site-packages/rally_openstack/task/scenarios/nova/servers.py", line 1115, in run
floatingip = self.neutron.create_floatingip(**create_floating_ip_args)
File "/src/rally/rally/task/service.py", line 114, in wrapper
return func(instance, *args, **kwargs)
File "/src/rally/rally/task/atomic.py", line 91, in func_atomic_actions
f = func(self, *args, **kwargs)
TypeError: create_floatingip() got an unexpected keyword argument 'ext_network'
[1] http://artifacts.opnfv.org/functest/JOGVTC31O1IL/functest-opnfv-functest-smoke-latest-rally_sanity-run-905/rally_sanity/rally_sanity.html#/NovaServers.boot_server_associate_and_dissociate_floating_ip/failures
Change-Id: I7157847980b417b814d15e4bf3bbac3c4f114690
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r-- | functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml | 2 | ||||
-rw-r--r-- | functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml index fec3a5639..965eddd8b 100644 --- a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml +++ b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml @@ -396,7 +396,7 @@ args: {{ vm_params(image_name, flavor_name) }} create_floating_ip_args: - ext_network: {{ floating_network }} + floating_network: {{ floating_network }} nics: - net-id: {{ netid }} context: diff --git a/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml b/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml index 820ec3c0a..138e53b00 100644 --- a/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml +++ b/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml @@ -143,7 +143,7 @@ args: {{ vm_params(image_name, flavor_name) }} create_floating_ip_args: - ext_network: {{ floating_network }} + floating_network: {{ floating_network }} nics: - net-id: {{ netid }} context: |