From 09e5f25bcc8a5f8096ca2e2d0cd240de567edcc2 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Tue, 7 Aug 2018 00:00:01 -0400 Subject: CPERF: Open CSIT testing ports in overcloud Port 12345 needs to be open so that a netcat server can respond to client requests. Change-Id: Iaf6e59bcb16a7afe329d522b80d6678e65f10140 Signed-off-by: Tim Rozet --- jjb/cperf/cirros-upload.yaml.ansible | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/jjb/cperf/cirros-upload.yaml.ansible b/jjb/cperf/cirros-upload.yaml.ansible index bd7d78974..855bb1f3d 100644 --- a/jjb/cperf/cirros-upload.yaml.ansible +++ b/jjb/cperf/cirros-upload.yaml.ansible @@ -20,3 +20,20 @@ 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 + -- cgit 1.2.3-korg