Ensure OVN is restarted on package update
Change-Id: I851a81d47e2ab985213f711ccd81a6870f42317b Needed-By: https://review.opendev.org/c/openstack/openstack-ansible/+/879890
This commit is contained in:
parent
e9ef1f0707
commit
d58bdb151a
@ -141,7 +141,20 @@
|
||||
state: started
|
||||
|
||||
# (NOTE) Restarting twice to cleanup some pid.
|
||||
- name: restart ovn service
|
||||
- name: Restart ovn northd
|
||||
service:
|
||||
name: "{{ neutron_ovn_northd_service_name }}"
|
||||
state: restarted
|
||||
when:
|
||||
- neutron_services['neutron-ovn-northd']['group'] in group_names and neutron_plugin_type == 'ml2.ovn'
|
||||
listen:
|
||||
- restart ovn service
|
||||
|
||||
- name: Restart ovn controller
|
||||
service:
|
||||
name: "{{ neutron_ovn_controller_service_name }}"
|
||||
state: restarted
|
||||
when:
|
||||
- neutron_services['neutron-ovn-controller']['group'] in group_names and neutron_plugin_type == 'ml2.ovn'
|
||||
listen:
|
||||
- restart ovn service
|
||||
|
@ -39,6 +39,7 @@
|
||||
notify:
|
||||
- "Restart neutron services"
|
||||
- "Restart provider services"
|
||||
- "restart ovn service"
|
||||
|
||||
- name: Remove known problem packages
|
||||
package:
|
||||
|
Loading…
Reference in New Issue
Block a user