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:
parent
75e1a87ef5
commit
78e8472c2d
@ -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 @@
|
|||||||
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user