Skip to content

Commit

Permalink
Fix config action when OVN is enabled
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
jovial committed Jul 14, 2021
1 parent c5cefe3 commit aeb41e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/roles/ovn/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
retries: 10
delay: 6
listen: "Restart ovn-nb-db container"
when:
- kolla_action != "config"

- name: Wait for ovn-sb-db
wait_for:
Expand All @@ -52,6 +54,8 @@
retries: 10
delay: 6
listen: "Restart ovn-sb-db container"
when:
- kolla_action != "config"

- name: Restart ovn-northd container
vars:
Expand Down

0 comments on commit aeb41e9

Please sign in to comment.