From d1c9a28f9aad1719f3396eef2d111cadb95723c3 Mon Sep 17 00:00:00 2001 From: Evgeny Sikachev Date: Fri, 26 Aug 2016 14:26:58 +0300 Subject: [PATCH] Fix devstack scripts Removed ubuntu-12.04 image, for setup nova quotas need admin user permissions. Change-Id: Ic5f9c2742933a973234c6da78fe31e6791b3e20f --- config/devstack/local.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/devstack/local.sh b/config/devstack/local.sh index 18ec53e8..4a6469a4 100755 --- a/config/devstack/local.sh +++ b/config/devstack/local.sh @@ -58,6 +58,9 @@ openstack flavor create --public --id 20 --ram 2048 --disk 40 --vcpus 1 qa-flavo openstack flavor delete m1.small openstack flavor create --public --id 2 --ram 1024 --disk 20 --vcpus 1 m1.small +# setup quota for ci tenent in nova +openstack quota set --ram 200000 --instances 64 --cores 150 --volumes 100 --gigabytes 2000 --floating-ips 64 --secgroup-rules 10000 --secgroups 1000 $CI_TENANT_ID + # switch to ci-user credentials source $ADMIN_RCFILE ci-user ci export OS_CLOUD='devstack-ci' @@ -74,8 +77,7 @@ echo " devstack-ci: region_name: RegionOne " >> /etc/openstack/clouds.yaml -# setup quota for ci tenant -openstack quota set --ram 200000 --instances 64 --cores 150 --volumes 100 --gigabytes 2000 --floating-ips 64 --secgroup-rules 10000 --secgroups 1000 $CI_TENANT_ID +# setup quota for ci tenant in neutron neutron quota-update --tenant_id $CI_TENANT_ID --port 64 # add images for tests