ovn: Add neutron-cleanup
The service cleans up orphaned tap devices on node boot. This is good for cases were node was fenced or hard rebooted. There is similar patch for OVS deployments [1]. [1]8126573718
Closes-bug: #1899799 Conflicts: deployment/ovn/ovn-controller-container-puppet.yaml Change-Id: Idec9e5ca0a8d3de7414938c7f280c06bcbd906c1 Signed-off-by: Jakub Libosvar <libosvar@redhat.com> (cherry picked from commit92b6f30624
)
This commit is contained in:
parent
47acbfb9c0
commit
8372d5e6d1
|
@ -294,6 +294,21 @@ outputs:
|
|||
name: virt_sandbox_use_netlink
|
||||
persistent: yes
|
||||
state: yes
|
||||
- name: Copy in cleanup script
|
||||
copy:
|
||||
content: {get_file: ../neutron/neutron-cleanup}
|
||||
dest: '/usr/libexec/neutron-cleanup'
|
||||
force: yes
|
||||
mode: '0755'
|
||||
- name: Copy in cleanup service
|
||||
copy:
|
||||
content: {get_file: ../neutron/neutron-cleanup.service}
|
||||
dest: '/usr/lib/systemd/system/neutron-cleanup.service'
|
||||
force: yes
|
||||
- name: Enabling the cleanup service
|
||||
service:
|
||||
name: neutron-cleanup
|
||||
enabled: yes
|
||||
upgrade_tasks:
|
||||
- name: Switch ovn remote setting
|
||||
tags:
|
||||
|
|
Loading…
Reference in New Issue