Add and delete port test fails in the Debian package due to error logged from vif-plug-representor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ovn (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
OVN commit 264c825f0a0e ("ovn-controller: remove un-necessary "trying to release" warnings") added a test that fails if any warning or error is logged from the ovn-controller.
This revealed the fact that the OVN-VIF representor plugin logs an error while running the test:
./ovn.at:35873: check_logs "" hv1
--- /dev/null 2023-01-09 10:00:51.000000000 +0000
+++ /<<PKGBUILDDIR>
@@ -0,0 +1 @@
+2023-09-
942. ovn.at:35873: 942. Add and delete port -- ovn-northd -- parallelization=yes -- ovn_monitor_all=no (ovn.at:35873): FAILED (ovn.at:35873)
From cursory view, I do not see this logged on an actual production setup with ovn-controller running directly on a host. I do see it when running this test in a container though.
We should probably make the failure graceful at the initialization stage, and rather log warnings if this state is found while doing a lookup, or just lower the severity to INFO/DBG.
CVE References
description: | updated |
summary: |
- Add and delete port test fails in the Ubuntu package due to error logged + Add and delete port test fails in the Debian package due to error logged from vif-plug-representor |
https:/ /github. com/ovn- org/ovn- vif/pull/ 11