Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-29859

[cnv-tests network 4.16 backport] Fix MetalLB teardown

XMLWordPrintable

    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • ---
    • ---
    • None

      The automated MetalLB tests involve installing the MetalLB operator during setup, and removing it at teardown.

      The operator removal on teardown results in cordoning nodes (for a reason we still don't know), and therefore many of the following tests fail.

      We should either investigate whether this long-time cordoning is a bug, or fix the tests with a wait for all the nodes to become schedulable again (which might be tricky, because the cordoning doesn't happen immediately, but rather a few minutes after the operator removal is done).

      Until then - MetalLB tests shouldn't run.

       

      Update 2024-Mar-20:
      The solution we will implement is:

      • On setup: Check if metallb is already installed, and install it if not.
      • On teardown: Don't uninstall metallb.

              phoracek@redhat.com Petr Horacek
              ysegev@redhat.com Yossi Segev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: