summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuraj.linkes <jlinkes@cisco.com>2017-06-16 14:42:40 +0200
committerjuraj.linkes <jlinkes@cisco.com>2017-06-16 16:09:39 +0200
commit66198bf5b52a4342e7c54f3d361fe523c489479a (patch)
tree532aa1958621955b0b3bac22265f89c2ff46135a
parentabb2b6f9008c7661aa0aaeb12a58aeba02106eaa (diff)
Workaround for vhost-user binding
This is a workaround for this bug: https://bugs.launchpad.net/networking-odl/+bug/1696968 JIRA: APEX-475 Change-Id: Ic115e094c2906d6572d6af411872d5584e665aec Signed-off-by: juraj.linkes <jlinkes@cisco.com>
-rwxr-xr-xlib/overcloud-deploy-functions.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh
index 445f5fb5..19528d96 100755
--- a/lib/overcloud-deploy-functions.sh
+++ b/lib/overcloud-deploy-functions.sh
@@ -146,6 +146,8 @@ EOF
--upload uio_pci_generic.modules:/etc/sysconfig/modules/ \
--run-command "chmod 0755 /etc/sysconfig/modules/vfio_pci.modules" \
--run-command "chmod 0755 /etc/sysconfig/modules/uio_pci_generic.modules" \
+ --run-command "sed -i 's/ is portbindings.VIF_TYPE_VHOST_USER:/ == portbindings.VIF_TYPE_VHOST_USER:/' \
+/usr/lib/python2.7/site-packages/networking_odl/ml2/pseudo_agentdb_binding.py" \
-a overcloud-full.qcow2
if [ "${deploy_options_array['dataplane']}" == 'ovs_dpdk' ]; then