From d782d4f09acf5aeac1a66698b3f92efa0e7d4506 Mon Sep 17 00:00:00 2001 From: James Slagle Date: Wed, 17 Sep 2014 13:28:31 -0400 Subject: [PATCH] Disable nova quotas --- .../os-refresh-config/post-configure.d/98-undercloud-setup | 3 +++ .../os-refresh-config/post-configure.d/98-undercloud-setup | 3 +++ 2 files changed, 6 insertions(+) diff --git a/elements/undercloud-post-config-package/os-refresh-config/post-configure.d/98-undercloud-setup b/elements/undercloud-post-config-package/os-refresh-config/post-configure.d/98-undercloud-setup index 3af772f09..9d7b7b64c 100755 --- a/elements/undercloud-post-config-package/os-refresh-config/post-configure.d/98-undercloud-setup +++ b/elements/undercloud-post-config-package/os-refresh-config/post-configure.d/98-undercloud-setup @@ -78,4 +78,7 @@ for flavor in m1.tiny m1.small m1.medium m1.large m1.xlarge; do fi done +# Disable nova quotas +nova quota-update --cores -1 --instances -1 --ram -1 $(keystone tenant-get admin | awk '$2=="id" {print $4}') + touch $OK_FILE diff --git a/elements/undercloud-post-config-source/os-refresh-config/post-configure.d/98-undercloud-setup b/elements/undercloud-post-config-source/os-refresh-config/post-configure.d/98-undercloud-setup index 65931ae3d..597b1be6c 100755 --- a/elements/undercloud-post-config-source/os-refresh-config/post-configure.d/98-undercloud-setup +++ b/elements/undercloud-post-config-source/os-refresh-config/post-configure.d/98-undercloud-setup @@ -83,4 +83,7 @@ for flavor in m1.tiny m1.small m1.medium m1.large m1.xlarge; do fi done +# Disable nova quotas +nova quota-update --cores -1 --instances -1 --ram -1 $(keystone tenant-get admin | awk '$2=="id" {print $4}') + touch $OK_FILE