Description of problem: KubeVirt Testcase with test_id:4642 fails in SNO Mode. We failed to find the virt-controller leader pod, which in the SNO case would be the only pod. This should be investigated. Version-Release number of selected component (if applicable): 4.10.0 How reproducible: Steps to Reproduce: 1. Run KubeVirt Testcase with test_id:4642 2. 3. Actual results: failed to find the virt-controller leader pod Expected results: The testcase pass, by investing the functionality in SNO Mode. Additional info:
Correction: Expected results: The testcase passes, by checking the functionality in SNO Mode.
On closer inspection, everything works fine, this test just doesn't make sense in SNO. The test expects exactly 2 replicas of virt-controller, deletes the leader and expects the other one to be elected in its place. I will add a skip upstream, but I need the Skip() functions from https://github.com/kubevirt/kubevirt/pull/7301 so I can't PR just yet.
It("[test_id:4642]should succeed afterwards", func() { // This test needs at least 2 controller pods. Skip on single-replica. checks.SkipIfSingleReplica(virtClient) As per the comment2 and current code of release-0.53, this testcase with test_id:4642 is not valid in SNO mode.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.11.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:6526