summaryrefslogtreecommitdiffstats
path: root/build/overcloud-opendaylight.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-04-06 15:40:34 -0400
committerTim Rozet <trozet@redhat.com>2018-04-06 15:40:34 -0400
commit6a64fc7eb990a88ae40e98c615ecc3f6c97e1470 (patch)
tree0400ec6505de51ad1fcbce4be219aba32fc224a7 /build/overcloud-opendaylight.sh
parent7c762620eb801faecc4f041f3a77561e3b9bd5ee (diff)
Fixes deleting security group in SNAPS for ODL scenarios
Sometimes API check was failing for ODL scenarios on security group deletes. This patch backports a fix from upstream to fix the issue: https://review.openstack.org/#/c/538352/4 JIRA: APEX-586 Change-Id: I36a3547228cdcb1883140f17de7b5a713298d366 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'build/overcloud-opendaylight.sh')
-rwxr-xr-xbuild/overcloud-opendaylight.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/overcloud-opendaylight.sh b/build/overcloud-opendaylight.sh
index 9e85859d..3d1fe85d 100755
--- a/build/overcloud-opendaylight.sh
+++ b/build/overcloud-opendaylight.sh
@@ -79,6 +79,8 @@ LIBGUESTFS_BACKEND=direct $VIRT_CUSTOMIZE \
--install capnproto-libs,capnproto \
--upload ${BUILD_ROOT}/patches/neutron-patch-NSDriver.patch:/usr/lib/python2.7/site-packages/ \
--upload ${CACHE_DIR}/opendaylight-7.0.0-0.1.20170531snap665.el7.noarch.rpm:/root/ \
+ --upload ${BUILD_ROOT}/patches/networking-odl-sg-fix.patch:/usr/lib/python2.7/site-packages/ \
+ --run-command "cd /usr/lib/python2.7/site-packages/ && patch -p1 < networking-odl-sg-fix.patch" \
-a overcloud-full-opendaylight_build.qcow2
# Arch dependent on x86