Commit Graph

15 Commits

Author SHA1 Message Date
Frode Nordahl ffa98f31b2 ovn: Add chassis DPDK test 2022-04-26 13:09:27 +02:00
Frode Nordahl 16e0fbbfa7 ovn: Fix `wrong_bridge_config` test
The test blindly reverts the ``bridge-interface-mappings``
configuration to an empty string, which would be the wrong thing
to do if it was previously set up by a test configure step.

The test also does not properly populate target_deploy_status and
the test will always wait for the next update status to run,
which may take several minutes, before completing.
2022-04-26 11:44:59 +02:00
Frode Nordahl 0ca76a86a5 ovn: Skip NRPE tests on Jammy
Related-Bug: #1968008
2022-04-06 15:39:00 +02:00
Gabriel Angelo Sgarbi Cocenza ea341f1eb4 Check blocked ovn-chassis units with bad config (#605)
* Check blocked ovn-chassis units with bad config

LP bug#1919481 [0] needs to have a func-test to check if units can
handle bad bridge-interface-mappings configuration and set units
workload to block state and return to active state with good config.

[0] https://bugs.launchpad.net/charm-ovn-chassis/+bug/1919481

* Changing test_wrong_bridge_config to use config_change

Instead of using block_until_unit_wl_status, change the test_config
to be able to check blocked state for ovn-chassis units

Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2021-07-29 11:09:33 +02:00
Frode Nordahl ecf5bca268 ovn: Add prefer-chassis-as-gw test 2021-07-07 11:47:52 +02:00
Aurelien Lourot acd1793741 Fix neutron-api-plugin-ovn's num-expected-units
After zaza#451 Zaza's application readiness detection
has been improved, which now exposes issues from the
past that were hidden. In other words, we were relying
on a bug on Zaza's side and need to get this straight.
2021-07-05 11:41:45 +02:00
Liam Young 669b57574b Add deferred restart test for ovn central 2021-04-13 10:24:15 +00:00
Liam Young 7d02173914 Fix bug caused by disable-mlockall being unseet 2021-04-09 17:10:09 +00:00
Liam Young 01544d22ed Deferred restart test fixes (#540)
* Add ovn-chassis test
* Yet another refactor to reduce the amount that implementations need to override.
* Add ovn dedicated chassis support
* Fix race with checking wlm
2021-04-09 10:48:52 +01:00
Frode Nordahl dc886f65d5 Add workaround for OVS-OVN migration on Groovy
The root of the issue is in Open vSwitch itself and it is not
easilly workaroundable in the charms.

We'll pursue a upstream/package level fix.
2021-01-28 10:25:52 +01:00
Xav Paice 7a67d98b45 Only log OVN NRPE failure when it fails 2020-10-02 11:00:51 +13:00
Xav Paice e70be304e5 Add tests for OVN charm NRPE checks
The ovn-* charms have added NRPE service checks, this ensures that the
service check files have been added to the units as expected.
2020-09-28 17:45:42 +13:00
Frode Nordahl 332294d752 Handle OVS to OVN migration with neutron-gateway topologies
Merge two similar config set patterns into a common method.

Add missing docstrings.

Fix typos.
2020-09-10 17:28:37 +02:00
Frode Nordahl 3c457e4fbb Add OVS to OVN migration tests 2020-09-07 10:36:13 +02:00
Frode Nordahl 8edff98f94 Add OVN charm tests 2020-05-08 12:34:21 +02:00