define quota for Copr

This commit is contained in:
Miroslav Suchý 2015-03-09 10:54:58 +00:00
parent 18967b31a3
commit 22cf623004

View file

@ -887,3 +887,15 @@
ethertype: "IPv4"
protocol: "tcp"
remote_ip_prefix: "172.30.0.1/12"
# Update quota for Copr
# SEE:
# nova quota-defaults
# nova quota-show --tenant $TENANT_ID
# default is 10 instances, 20 cores, 51200 RAM, 10 floating IPs
- shell: source /root/keystonerc_admin && keystone tenant-list | grep 'copr' | awk '{print $2}'
register: TENANT_ID
- shell: source /root/keystonerc_admin && nova quota-update --instances 40 --cores 80 --ram 512000 --floating_ips 40 {{ TENANT_ID.stdout }}