Do not create shared external networks
It looks like that some openstack.yaml templates contain incorrect
command templates. For some reason they activate 'shared' option
for external network 'net04_ext'. This situation leads to broken
tempest tests:
- tempest.api.network.test_networks.NetworksIpV6Test.test_external_network_visibility
- tempest.api.network.test_networks.NetworksTest.test_external_network_visibility
I have deleted shared option to fix the issue.
Change-Id: I80991a5cb878c07a6cea293e5770a7ff3ac79ef4
Reviewed-on: https://review.gerrithub.io/373812
Reviewed-by: Dennis Dmitriev <dis.xcom@gmail.com>
Tested-by: Dennis Dmitriev <dis.xcom@gmail.com>
diff --git a/tcp_tests/templates/virtual-mcp11-dvr/openstack.yaml b/tcp_tests/templates/virtual-mcp11-dvr/openstack.yaml
index a5c2383..e48f2d2 100644
--- a/tcp_tests/templates/virtual-mcp11-dvr/openstack.yaml
+++ b/tcp_tests/templates/virtual-mcp11-dvr/openstack.yaml
@@ -193,7 +193,7 @@
- description: Create net04_external
cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'ctl01*' cmd.run
- '. /root/keystonercv3; neutron net-create net04_ext --shared --router:external True --provider:physical_network physnet1 --provider:network_type flat'
+ '. /root/keystonercv3; neutron net-create net04_ext --router:external True --provider:physical_network physnet1 --provider:network_type flat'
node_name: {{ HOSTNAME_CFG01 }}
retry: {count: 1, delay: 30}
skip_fail: false
@@ -379,4 +379,4 @@
remote_filename: "report_*.html"
local_path: {{ os_env('PWD') }}
node_name: {{ HOSTNAME_GTW01 }}
- skip_fail: true
\ No newline at end of file
+ skip_fail: true