* 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 <venkatrangang@hcl.com>
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