Refresh nova cell cache in nova-scheduler process
Base on patch https://review.openstack.org/550527 , after nova cell is created, need send SIGHUP to nova-scheduler process to refresh nova cell cache. Change-Id: Ic1f52b2ca736b593b70fc355a057923b01e0b3ed
This commit is contained in:
parent
1ff358cb04
commit
b0b51e83ae
@ -55,3 +55,9 @@
|
|||||||
changed_when: False
|
changed_when: False
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['nova-api'][0] }}"
|
delegate_to: "{{ groups['nova-api'][0] }}"
|
||||||
|
|
||||||
|
- name: Refresh cell cache in nova scheduler
|
||||||
|
command: docker kill --signal HUP nova_scheduler
|
||||||
|
changed_when: False
|
||||||
|
when:
|
||||||
|
- inventory_hostname in groups['nova-scheduler']
|
||||||
|
Loading…
Reference in New Issue
Block a user