Skip to content

Commit

Permalink
doc: Describe how to manually connect the MicroOVN northbound connect…
Browse files Browse the repository at this point in the history
…ion to LXD

When a user decides to deploy OVN through a MicroOVN deployment, it is not clearly explained how to connect
LXD and MicroOVN. The only missing info was how to correctly setup the northbound connection:

`lxc config set network.ovn.northbound_connection <ovn-northd-nb-db>`

With `<ovn-northd-nb-db>` that MUST use the `ssl:<microovn_node_ip>:6641`. Passing a UNIX socket
targeting `ovnnb_db.sock` inside the MicroOVN snap will produce certificate errors so we MUSN'T use the UNIX notation.

Signed-off-by: Gabriel Mougard <[email protected]>
  • Loading branch information
gabrielmougard committed Dec 2, 2024
1 parent bcf1ae4 commit ff7f5a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/.custom_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ MiB
Mibit
MicroCeph
MicroCloud
MicroOVN
MII
MinIO
MITM
Expand Down
4 changes: 4 additions & 0 deletions doc/howto/network_ovn_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ See the linked YouTube video for the complete tutorial using four machines.
lxc config set network.ovn.northbound_connection <ovn-northd-nb-db>
```{note}
If you are using a MicroOVN deployment, pass the value of the MicroOVN node IP address you want to target. Prefix the IP address with `ssl:`, and suffix it with the `:6641` port number that corresponds to the OVN central service within MicroOVN.
```

1. Finally, create the actual OVN network (on the first machine):

lxc network create my-ovn --type=ovn
Expand Down

0 comments on commit ff7f5a4

Please sign in to comment.