Skip to content
Snippets Groups Projects
Commit 78e8472c authored by Stig Telfer's avatar Stig Telfer
Browse files

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: default avatarSebastian Luna Valero <sebastian.luna.valero@gmail.com>
parent 75e1a87e
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
dest: "{{ node_config_directory }}/openvswitch-vswitchd/start-ovs" dest: "{{ node_config_directory }}/openvswitch-vswitchd/start-ovs"
mode: "0770" mode: "0770"
when: when:
- inventory_hostname in groups[service.group] - service.host_in_groups | bool
- service.enabled | bool - service.enabled | bool
notify: notify:
- "Restart openvswitch-vswitchd container" - "Restart openvswitch-vswitchd container"
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
dest: "{{ node_config_directory }}/openvswitch-db-server/start-ovsdb-server" dest: "{{ node_config_directory }}/openvswitch-db-server/start-ovsdb-server"
mode: "0770" mode: "0770"
when: when:
- inventory_hostname in groups[service.group] - service.host_in_groups | bool
- service.enabled | bool - service.enabled | bool
notify: notify:
- "Restart openvswitch-db-server container" - "Restart openvswitch-db-server container"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment