CSIT: adds route fix for functest 49/28549/1
authorTim Rozet <trozet@redhat.com>
Mon, 13 Feb 2017 20:51:40 +0000 (15:51 -0500)
committerTim Rozet <trozet@redhat.com>
Mon, 13 Feb 2017 20:51:40 +0000 (15:51 -0500)
Change-Id: I3dae88e8af728bbcef0f0d4be27478cf7b8e06fc
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex-snapshot-deploy.sh

index 05a2d48..dcae0c1 100644 (file)
@@ -99,6 +99,12 @@ for network_def in ${virsh_networks}; do
       echo "Configuring IP 192.168.37.1 on br-external"
       sudo ip addr add  192.168.37.1/24 dev br-external
       sudo ip link set up dev br-external
+      # Route for admin network
+      # The overcloud controller is multi-homed and will fail to respond
+      # to traffic from the functest container due to reverse-path-filtering
+      # This route allows reverse traffic, by forcing admin network destined
+      # traffic through the external network
+      sudo ip route add 192.0.2.0/25 dev br-external
     fi
   fi
 done