Fix devstack scripts

Removed ubuntu-12.04 image, for setup nova quotas need admin
user permissions.

Change-Id: Ic5f9c2742933a973234c6da78fe31e6791b3e20f
This commit is contained in:
Evgeny Sikachev 2016-08-26 14:26:58 +03:00
parent c13f558f8e
commit d1c9a28f9a

View File

@ -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