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-mcp10-ovs/openstack.yaml b/tcp_tests/templates/virtual-mcp10-ovs/openstack.yaml
index 80440b5..5b2d223 100644
--- a/tcp_tests/templates/virtual-mcp10-ovs/openstack.yaml
+++ b/tcp_tests/templates/virtual-mcp10-ovs/openstack.yaml
@@ -182,7 +182,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
@@ -278,4 +278,4 @@
cmd: salt-call cmd.run 'pvcreate /dev/vdb1'
node_name: {{ HOSTNAME_CTL01 }}
retry: {count: 1, delay: 30}
- skip_fail: false
\ No newline at end of file
+ skip_fail: false