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:
Jeffrey Zhang 2018-04-09 09:40:53 +08:00
parent 1ff358cb04
commit b0b51e83ae

View File

@ -55,3 +55,9 @@
changed_when: False
run_once: True
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']