From c1275dbf5e225dc79c60e1247d6364c65f76665a Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Fri, 1 Jul 2016 23:25:26 -0400 Subject: Finishes dpdk post install After dpdk finishes install, br-phy needs to be brought up and ovs-agent needs to be restarted. This cannot happen in tripleO because os-collect-config will try to ping from dpdk interfaces to the controller to validate network connectivity. This doesn't work with dpdk, so we leave br-phy down until end of deployment. JIRA: APEX-119 Change-Id: I3d36d02b773fcbb3c5527b85fd00a2fa1b3cc25d Signed-off-by: Tim Rozet --- ci/deploy.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ci/deploy.sh') diff --git a/ci/deploy.sh b/ci/deploy.sh index bcd8a6bb..d904a6cb 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -1096,6 +1096,16 @@ cat ~/jumphost_id_rsa.pub | ssh -T ${SSH_OPTIONS[@]} "heat-admin@\$node" 'cat >> done EOI + if [ "${deploy_options_array['dataplane']}" == 'ovs_dpdk' ]; then + echo -e "${blue}INFO: Bringing up br-phy and ovs-agent for dpdk compute nodes...${reset}" + compute_nodes=$(undercloud_connect stack "source stackrc; nova list | grep compute | wc -l") + i=0 + while [ "$i" -lt "$compute_nodes" ]; do + overcloud_connect compute${i} "sudo ifup br-phy; sudo systemctl restart neutron-openvswitch-agent" + i=$((i + 1)) + done + fi + ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <