CPERF: Open CSIT testing ports in overcloud 69/60669/1
authorTim Rozet <trozet@redhat.com>
Tue, 7 Aug 2018 04:00:01 +0000 (00:00 -0400)
committerTim Rozet <trozet@redhat.com>
Tue, 7 Aug 2018 04:00:01 +0000 (00:00 -0400)
Port 12345 needs to be open so that a netcat server can respond to
client requests.

Change-Id: Iaf6e59bcb16a7afe329d522b80d6678e65f10140
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/cperf/cirros-upload.yaml.ansible

index bd7d789..855bb1f 100644 (file)
       shell: >
         source /home/heat-admin/overcloudrc && openstack flavor create
         --id 42 --ram 64 --disk 0 --vcpus 1 m1.nano
+    - name: Open CSIT TCP port for netcat
+      iptables:
+        chain: INPUT
+        action: insert
+        protocol: tcp
+        destination_port: 12345
+        jump: ACCEPT
+      become: yes
+    - name: Open CSIT UDP port for netcat
+      iptables:
+        chain: INPUT
+        action: insert
+        protocol: udp
+        destination_port: 12345
+        jump: ACCEPT
+      become: yes
+