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
This commit is contained in:
Michal Arbet 2022-06-21 11:30:48 +02:00
parent 8f3b61cedd
commit 889c0d168c
2 changed files with 7 additions and 1 deletions

View File

@ -101,7 +101,6 @@ kolla_toolbox_default_volumes:
- "/dev/:/dev/" - "/dev/:/dev/"
- "/run/:/run/:shared" - "/run/:/run/:shared"
- "kolla_logs:/var/log/kolla/" - "kolla_logs:/var/log/kolla/"
- "/run/openvswitch:/run/openvswitch:shared"
cron_default_volumes: cron_default_volumes:
- "{{ node_config_directory }}/cron/:{{ container_config_directory }}/:ro" - "{{ node_config_directory }}/cron/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Fixes the issue of exponential growth of
/run/openvswitch mounts when kolla-toolbox
container is restarted.
`LP#1979295 <https://launchpad.net/bugs/1979295>`__