Increased default VM memory to 4G
3G RAM is not enough for running UC/OC on 64bit system.
This commit is contained in:
@@ -30,7 +30,7 @@ DEPLOYMENT_MODE to scale.
|
||||
3. After the completed installation, create the baremetal flavors to correspond
|
||||
to the overcloud roles you intend to deploy. These are example commands.
|
||||
|
||||
nova flavor-create control auto 3072 40 2
|
||||
nova flavor-create control auto 4096 40 2
|
||||
nova flavor-create compute auto 1024 40 1
|
||||
nova flavor-create blockstorage auto 1024 40 1
|
||||
nova flavor-create swiftstorage auto 1024 40 1
|
||||
|
||||
@@ -20,7 +20,7 @@ Some recommended default environment variables before starting:
|
||||
export NODE_DISK=30
|
||||
|
||||
# memory in MB allocated for each virtual machine created
|
||||
export NODE_MEM=3072
|
||||
export NODE_MEM=4096
|
||||
|
||||
# Operating system distribution to set for each virtual machine created
|
||||
export NODE_DIST=fedora
|
||||
|
||||
@@ -79,7 +79,7 @@ glance image-update --property type='overcloud provisioning kernel' overcloud-sw
|
||||
DEPLOYMENT_MODE=${DEPLOYMENT_MODE:-"poc"}
|
||||
if [ "$DEPLOYMENT_MODE" = "poc" ]; then
|
||||
if ! nova flavor-show baremetal 2>&1 1>/dev/null; then
|
||||
nova flavor-create baremetal auto 3072 30 1
|
||||
nova flavor-create baremetal auto 4096 30 1
|
||||
|
||||
deploy_kernel_id=$(glance image-show bm-deploy-kernel | awk ' / id / {print $4}')
|
||||
deploy_ramdisk_id=$(glance image-show bm-deploy-ramdisk | awk ' / id / {print $4}')
|
||||
|
||||
@@ -11,7 +11,7 @@ fi
|
||||
# setup-baremetal requires this to be set
|
||||
export TRIPLEO_ROOT=.
|
||||
CPU=${CPU:-1}
|
||||
MEM=${MEM:-3072}
|
||||
MEM=${MEM:-4096}
|
||||
DISK=${DISK:-30}
|
||||
ARCH=${ARCH:-amd64}
|
||||
MACS=${MACS:-"52:54:00:b5:bd:f0 52:54:00:f2:be:f0"}
|
||||
|
||||
@@ -41,7 +41,7 @@ fi
|
||||
export NODE_CNT=${NODE_CNT:-4}
|
||||
export NODE_DIST=${NODE_DIST:-"fedora"}
|
||||
export NODE_ARCH=${NODE_ARCH:-x86_64}
|
||||
export NODE_MEM=${NODE_MEM:-3072}
|
||||
export NODE_MEM=${NODE_MEM:-4096}
|
||||
|
||||
source $DEVTEST_VARIABLES
|
||||
|
||||
|
||||
Reference in New Issue
Block a user