From: Michael Chapman Date: Wed, 19 Oct 2016 06:57:31 +0000 (-0400) Subject: Use correct OVS version for SFC X-Git-Tag: danube.1.0~156 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=ed1361c3ddfb3633850759386daafae42b4c859c;p=apex.git Use correct OVS version for SFC JIRA: APEX-334 This regressed when we moved over to installing the replacement ovs at runtime instead of build time Change-Id: I0fec6b68be56a3aa41e502c2e09375aca34be22c Signed-off-by: Michael Chapman --- diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh index 18d1ec46..a42162f2 100755 --- a/lib/overcloud-deploy-functions.sh +++ b/lib/overcloud-deploy-functions.sh @@ -109,12 +109,6 @@ EOF -a overcloud-full.qcow2 fi - if [ "${deploy_options_array['sfc']}" == 'True' ]; then - # upgrade ovs into ovs 2.5.90 with NSH function - LIBGUESTFS_BACKEND=direct virt-customize --run-command "yum install -y /root/ovs/rpm/rpmbuild/RPMS/x86_64/${ovs_kmod_rpm_name}" \ - --run-command "yum upgrade -y /root/ovs/rpm/rpmbuild/RPMS/x86_64/${ovs_rpm_name}" \ - -a overcloud-full.qcow2 - fi EOI elif [ "${deploy_options_array['dataplane']}" != 'ovs' ]; then @@ -126,6 +120,15 @@ EOI ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" "LIBGUESTFS_BACKEND=direct virt-customize -a overcloud-full.qcow2 --root-password password:opnfvapex" fi + # upgrade ovs into ovs 2.5.90 with NSH function if SFC is enabled + if [ "${deploy_options_array['sfc']}" == 'True' && "${deploy_options_array['dataplane']}" == 'ovs' ]; then + ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <