From 83feeb06154e27947310ff0fd55ef68b32d19f47 Mon Sep 17 00:00:00 2001 From: Marcellin Fom Tchassem Date: Sat, 12 Mar 2016 03:37:09 -0600 Subject: [PATCH] Fuel master deployment fails due to disk size From IRC, it has been reported that the 45gb messaged as part of the master install is not sufficient enough to deploy 8.0 with docker containers. The documentation specifies that the minimum size should be 50gb https://docs.mirantis.com/openstack/fuel/fuel-8.0/fuel-install-guide.html# This patch will resolve this issue, will set the minimum disk size requirement to 50gb and will change the related error message. Closes-Bug: #1557628 Change-Id: I634c42d2a8420a3ea35ce3fdae54ab499e9ea154 --- iso/ks.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iso/ks.template b/iso/ks.template index 849dcb2c3..3150afac7 100644 --- a/iso/ks.template +++ b/iso/ks.template @@ -173,9 +173,9 @@ if [ "$format_confirmed" != "yes" ] ; then chvt 1 fi -# verify tgtdrive is at least 45GB +# verify tgtdrive is at least 50GB tgtdrivesize=$(( $(cat "/sys/class/block/${tgtdrive}/size") / 2 / 1024 )) -if [ $tgtdrivesize -lt 46080 ]; then +if [ $tgtdrivesize -lt 51200 ]; then exec < /dev/tty3 > /dev/tty3 2>&1 chvt 3 clear @@ -183,7 +183,7 @@ if [ $tgtdrivesize -lt 46080 ]; then echo '********************************************************************' echo '* E R R O R *' echo '* *' - echo '* Your disk is under 45GB in size. Installation cannot continue. *' + echo '* Your disk is under 50GB in size. Installation cannot continue. *' echo '* Restart installation with a larger disk. *' echo '* *' echo '********************************************************************'