summaryrefslogtreecommitdiffstats
path: root/build/overcloud-full.sh
diff options
context:
space:
mode:
authorRicardo Noriega <rnoriega@redhat.com>2018-04-12 18:53:09 +0200
committerTim Rozet <trozet@redhat.com>2018-04-12 17:23:45 -0400
commitbd2595f0b0eea504bfcfadc8a77627957669e9fa (patch)
treeb127ae59abbd969e0854517f17b392d360fefad1 /build/overcloud-full.sh
parent814c37ee17c9e797b5a4f1944bd52facf22fb513 (diff)
Avoiding exception if guest refuses to detach a volume
https://review.openstack.org/#/c/551950/ JIRA: APEX-589 Change-Id: I490f1030a32a44316e62c93cf1ed8642aef30527 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Diffstat (limited to 'build/overcloud-full.sh')
-rwxr-xr-xbuild/overcloud-full.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh
index a4006c4a..3739fc3f 100755
--- a/build/overcloud-full.sh
+++ b/build/overcloud-full.sh
@@ -147,6 +147,8 @@ LIBGUESTFS_BACKEND=direct $VIRT_CUSTOMIZE \
--install docker,kubelet,kubeadm,kubectl,kubernetes-cni \
--upload ${BUILD_ROOT}/patches/puppet-ceph.patch:/etc/puppet/modules/ceph/ \
--run-command "cd /etc/puppet/modules/ceph && patch -p1 < puppet-ceph.patch" \
+ --upload ${BUILD_ROOT}/patches/fix_volume_exception.patch:/usr/lib/python2.7/site-packages/ \
+ --run-command "cd /usr/lib/python2.7/site-packages/ && patch -p1 < fix_volume_exception.patch" \
-a overcloud-full_build.qcow2
# upload and install barometer packages