Manila - adjust logic for Open vSwitch configuration generation

Work was done to selectively enable Open vSwitch deployment for Manila
services as bug #1884939.  However this did not appear to catch all
cases.  This patch adds a couple more.

Change-Id: I6187997a00f908e87ceace6f79f5f7262ea78738
Closes-Bug: #1886166
Co-Authored-By: Sebastian Luna Valero <sebastian.luna.valero@gmail.com>
This commit is contained in:
Stig Telfer 2020-07-03 11:16:21 +02:00
parent 75e1a87ef5
commit 78e8472c2d
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
dest: "{{ node_config_directory }}/openvswitch-vswitchd/start-ovs"
mode: "0770"
when:
- inventory_hostname in groups[service.group]
- service.host_in_groups | bool
- service.enabled | bool
notify:
- "Restart openvswitch-vswitchd container"
@ -48,7 +48,7 @@
dest: "{{ node_config_directory }}/openvswitch-db-server/start-ovsdb-server"
mode: "0770"
when:
- inventory_hostname in groups[service.group]
- service.host_in_groups | bool
- service.enabled | bool
notify:
- "Restart openvswitch-db-server container"