Skip to content

Commit

Permalink
bin/helpers: add workaround for https://bugs.launchpad.net/microovn/+…
Browse files Browse the repository at this point in the history
…bug/2091660

Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Dec 12, 2024
1 parent af2919c commit aa85c1b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/helpers
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,14 @@ configure_ovn() {
echo "" > /var/log/ovn/ovn-controller.log
else
microovn status || microovn cluster bootstrap

# Workaround for https://bugs.launchpad.net/microovn/+bug/2091660
# Allow some time for the cluster to be ready to accept connections
for _ in 1 2 3; do
_ < /dev/tcp/127.0.0.1/6641 && break
sleep 1
done

lxc config set network.ovn.northbound_connection "ssl:127.0.0.1:6641"
fi
}
Expand Down

0 comments on commit aa85c1b

Please sign in to comment.