Fix devstack scripts
Removed ubuntu-12.04 image, for setup nova quotas need admin user permissions. Change-Id: Ic5f9c2742933a973234c6da78fe31e6791b3e20f
This commit is contained in:
parent
c13f558f8e
commit
d1c9a28f9a
@ -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 delete m1.small
|
||||||
openstack flavor create --public --id 2 --ram 1024 --disk 20 --vcpus 1 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
|
# switch to ci-user credentials
|
||||||
source $ADMIN_RCFILE ci-user ci
|
source $ADMIN_RCFILE ci-user ci
|
||||||
export OS_CLOUD='devstack-ci'
|
export OS_CLOUD='devstack-ci'
|
||||||
@ -74,8 +77,7 @@ echo " devstack-ci:
|
|||||||
region_name: RegionOne
|
region_name: RegionOne
|
||||||
" >> /etc/openstack/clouds.yaml
|
" >> /etc/openstack/clouds.yaml
|
||||||
|
|
||||||
# setup quota for ci tenant
|
# setup quota for ci tenant in neutron
|
||||||
openstack quota set --ram 200000 --instances 64 --cores 150 --volumes 100 --gigabytes 2000 --floating-ips 64 --secgroup-rules 10000 --secgroups 1000 $CI_TENANT_ID
|
|
||||||
neutron quota-update --tenant_id $CI_TENANT_ID --port 64
|
neutron quota-update --tenant_id $CI_TENANT_ID --port 64
|
||||||
|
|
||||||
# add images for tests
|
# add images for tests
|
||||||
|
Loading…
Reference in New Issue
Block a user