Fix post-config of OVS for manila-share servers
A host that is in the manila-share group, but not in controllers network, etc., will fail service deployment if it is not using the generic manila driver (eg, if it is using the CephFS native driver). This is because deployment of openvswitch-vswitchd is predicated on the drivers enabled for manila-share. However, this predicate is not universally applied. Where inventory group membership is used the dependency on openvswitch-vswitchd presence will fail. Closes-Bug: #1993285 Change-Id: I821e513d24f2a1c59240d65ad68c3b5f2080e439 (cherry picked from commit 10b72b98e038ca47440d4b1b1731026d068508db)
This commit is contained in:
parent
80353fe721
commit
2f1984f91b
@ -16,6 +16,8 @@
|
|||||||
loop:
|
loop:
|
||||||
- { col: "external_ids", name: "system-id", value: "{{ openvswitch_system_id }}" }
|
- { col: "external_ids", name: "system-id", value: "{{ openvswitch_system_id }}" }
|
||||||
- { col: "other_config", name: "hw-offload", value: true, state: "{{ 'present' if openvswitch_hw_offload | bool else 'absent' }}" }
|
- { col: "other_config", name: "hw-offload", value: true, state: "{{ 'present' if openvswitch_hw_offload | bool else 'absent' }}" }
|
||||||
|
when:
|
||||||
|
- openvswitch_services['openvswitch-vswitchd'].host_in_groups | bool
|
||||||
notify:
|
notify:
|
||||||
- "Restart openvswitch-vswitchd container"
|
- "Restart openvswitch-vswitchd container"
|
||||||
|
|
||||||
|
5
releasenotes/notes/bug-1993285-127fe764e461465a.yaml
Normal file
5
releasenotes/notes/bug-1993285-127fe764e461465a.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes handling of openvswitch on ``manila-share`` nodes.
|
||||||
|
`LP#1993285 <https://launchpad.net/bugs/1993285>`__
|
Loading…
x
Reference in New Issue
Block a user