path: root/build
diff options
authorTim Rozet <>2016-09-21 16:06:43 -0400
committerTim Rozet <>2016-09-21 23:30:23 +0000
commitfb33963fecf6cab1ea9cb70b9f3ba74ad5e60f4a (patch)
tree4c23b4fcbb32a9e7c6db19b154a3331c0bd87ef4 /build
parent359794a9002c8912757a703997e7d29682e2fa2e (diff)
Fixes disk space issue with perf scenarios on Undercloud
Scenarios were failing to deploy due to lack of disk space after making multiple overcloud images for each role. This removes the per role images after uploading into glance. JIRA: APEX-279 Change-Id: I09df89e778d36cb08df26df83ae0d7cda267799f Signed-off-by: Tim Rozet <> (cherry picked from commit c552a3c5b0c1c34293930fef8525057fc519a457)
Diffstat (limited to 'build')
1 files changed, 1 insertions, 0 deletions
diff --git a/build/ b/build/
index 0025cc7..d91c20e 100644
--- a/build/
+++ b/build/
@@ -19,6 +19,7 @@ for ROLE in $@; do
KERNEL=$(glance image-show overcloud-full | grep 'kernel_id' | cut -d '|' -f 3 | xargs)
RAMDISK_ID=$(glance image-show ${RAMDISK} | grep id | awk {'print $4'})
glance image-create --name $ROLE-overcloud-full --disk-format qcow2 --file $ROLE-overcloud-full.qcow2 --container-format bare --property ramdisk_id=$RAMDISK_ID --property kernel_id=$KERNEL --is-public True
+ rm -f $ROLE-overcloud-full.qcow2
if [ "$ROLE" == "Controller" ]; then