From: gvrangan Date: Thu, 5 May 2016 00:38:11 +0000 (+0000) Subject: Fix the communication issue between control and compute nodes X-Git-Tag: release/beryllium-sr2~5^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=releng%2Fbuilder.git;a=commitdiff_plain;h=a3224a486f5d9fb747c31ece1e58425128cd290b Fix the communication issue between control and compute nodes * The compute and control nodes are stacked in parallel resulting in the compute nodes stacking before the control node itself, so the hypervisor-list does not feature the compute nodes. * This Patch disabled the firewall in control node after stacking top enable the compute nodes reach the required ports and the control node to recognize the other hypervisors available. Change-Id: Ibc6736a858fcafb13fe4e6f30c076176e470614d Signed-off-by: gvrangan --- diff --git a/jjb/integration/include-raw-integration-deploy-openstack-run-test.sh b/jjb/integration/include-raw-integration-deploy-openstack-run-test.sh index 885936a7d..f573be65f 100644 --- a/jjb/integration/include-raw-integration-deploy-openstack-run-test.sh +++ b/jjb/integration/include-raw-integration-deploy-openstack-run-test.sh @@ -377,6 +377,13 @@ done fi done +#Need to disable firewalld and iptables in control node +echo "Stop Firewall in Control Node for compute nodes to be able to reach the ports and add to hypervisor-list" +ssh ${OPENSTACK_CONTROL_NODE_IP} "sudo systemctl stop firewalld; sudo systemctl stop iptables" +echo "sleep for a minute and print hypervisor-list" +sleep 60 +ssh ${OPENSTACK_CONTROL_NODE_IP} "cd /opt/stack/devstack; source openrc admin admin; nova hypervisor-list" + echo "Locating test plan to use..." testplan_filepath="${WORKSPACE}/test/csit/testplans/${STREAMTESTPLAN}" if [ ! -f "${testplan_filepath}" ]; then