OVN tests for main test suite#14651
Conversation
There was a problem hiding this comment.
Couldn't see it in action due to minor issues flagged by CodeQL but LGTM so far, thanks!
862c055 to
59ca184
Compare
|
@simondeziel just setting the northbound connection isn't enough. I've also set the certificates (based on a previous failed run). But now it fails with the following error: Not sure on next steps. |
There was a problem hiding this comment.
Love it but couldn't see it in action due to my protocol mistake (ssl:// vs ssl:).
Ahhh of course. I'll update the commit. Then I think I'll split up this PR because the formatting of |
59ca184 to
11e3af0
Compare
11e3af0 to
55978eb
Compare
55978eb to
4879e0e
Compare
This allows specifying the output of `lxd sql` as `sql`, `csv`, `table`, `compact`, `json`, or `yaml`. The new `sql` format is added so that the column names are not auto-formatted (upper cased, replacing underscores with spaces). This is added to ease scripting in tests and is required for #14651.
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com> Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
4879e0e to
9d2e6e6
Compare
|
@simondeziel strange failure now: https://github.com/canonical/lxd/actions/runs/12356855388/job/34484491302?pr=14651#step:13:45737 It seems the IPv6 address is already up in the instance when running in CI, but the test fails locally if this line is not present. |
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
9d2e6e6 to
4df816a
Compare
This PR adds OVN networking tests to the main suite. This is primarily to give faster feedback when driver changes are made. This initial PR just validates that the configuration is applied correctly to the ovn northbound database. The
LXD_OVN_NB_CONNECTIONenvironment variable must be set to run the tests. The tests will fail if there is any existing data in the northbound database. The test expects thatovn-nbctlis available on the PATH.