summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-07-01 23:25:26 -0400
committerDan Radez <dradez@redhat.com>2016-07-05 17:26:23 +0000
commitc1275dbf5e225dc79c60e1247d6364c65f76665a (patch)
treee1dcf8ad3bef0bd5b84ee296e52737b6e5a4740c /ci
parent908ec812c1305a59d2009cb6d3dac4c4afa6199d (diff)
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 <trozet@redhat.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh10
1 files changed, 10 insertions, 0 deletions
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" <<EOI
source overcloudrc
set -o errexit