Browse Source

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 commit 92b6f30624)
changes/15/759415/1
Jakub Libosvar 7 months ago
parent
commit
8372d5e6d1
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      deployment/ovn/ovn-controller-container-puppet.yaml

+ 15
- 0
deployment/ovn/ovn-controller-container-puppet.yaml View File

@ -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…
Cancel
Save