Skip to content

Commit 267b7fc

Browse files
jovialKayobe Automation
authored andcommitted
Fix config action when OVN is enabled
Prior to this change, if you generated the config before deploying any of the OVN services, it would fail on these tasks as the services will not have been started. TrivialFix Change-Id: Ia85ef26015ff341bff1414da039bed52f34e7cc0 (cherry picked from commit f6c0474)
1 parent 4c1e131 commit 267b7fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ansible/roles/ovn/handlers/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
retries: 10
4141
delay: 6
4242
listen: "Restart ovn-nb-db container"
43+
when:
44+
- kolla_action != "config"
4345

4446
- name: Wait for ovn-sb-db
4547
wait_for:
@@ -52,6 +54,8 @@
5254
retries: 10
5355
delay: 6
5456
listen: "Restart ovn-sb-db container"
57+
when:
58+
- kolla_action != "config"
5559

5660
- name: Restart ovn-northd container
5761
vars:

0 commit comments

Comments
 (0)