From 889c0d168c9cd2f6b49746c4200bcd020eb04642 Mon Sep 17 00:00:00 2001 From: Michal Arbet Date: Tue, 21 Jun 2022 11:30:48 +0200 Subject: [PATCH] Fix nested mounts of /run/openvswitch As kolla-toolbox is mounting /run:/run there is no need to mount also /run/openvswitch. This is causing /run/openvswitch is mounted again and again up to 32767 times after kolla-toolbox restart. Closes-Bug: #1979295 Change-Id: I49b3bde8b2bd61b6c931a81542a0d89f8a303ffc --- ansible/roles/common/defaults/main.yml | 1 - releasenotes/notes/bug-1979295-3088a4a1c7b391d7.yaml | 7 +++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/bug-1979295-3088a4a1c7b391d7.yaml diff --git a/ansible/roles/common/defaults/main.yml b/ansible/roles/common/defaults/main.yml index 5dc995cce1..a6fe1e7c7f 100644 --- a/ansible/roles/common/defaults/main.yml +++ b/ansible/roles/common/defaults/main.yml @@ -101,7 +101,6 @@ kolla_toolbox_default_volumes: - "/dev/:/dev/" - "/run/:/run/:shared" - "kolla_logs:/var/log/kolla/" - - "/run/openvswitch:/run/openvswitch:shared" cron_default_volumes: - "{{ node_config_directory }}/cron/:{{ container_config_directory }}/:ro" - "/etc/localtime:/etc/localtime:ro" diff --git a/releasenotes/notes/bug-1979295-3088a4a1c7b391d7.yaml b/releasenotes/notes/bug-1979295-3088a4a1c7b391d7.yaml new file mode 100644 index 0000000000..71879e3bd5 --- /dev/null +++ b/releasenotes/notes/bug-1979295-3088a4a1c7b391d7.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Fixes the issue of exponential growth of + /run/openvswitch mounts when kolla-toolbox + container is restarted. + `LP#1979295 `__