restart compute nodes after controller reprovision
This commit is contained in:
parent
60f48b09ae
commit
ae350033ad
2 changed files with 8 additions and 1 deletions
|
@ -828,7 +828,7 @@
|
|||
# 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}'
|
||||
- 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 }}
|
||||
|
||||
|
|
|
@ -266,3 +266,10 @@
|
|||
- file: src=/etc/neutron/plugins/ml2/ml2_conf.ini dest=/etc/neutron/plugin.ini state=link
|
||||
notify:
|
||||
- restart openstack-nova-compute
|
||||
|
||||
- name: "restart neutron-openvswitch-agent"
|
||||
service: name=neutron-openvswitch-agent state=restarted
|
||||
|
||||
- name: "restart openstack-nova-compute"
|
||||
service: name=openstack-nova-compute state=restarted
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue