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

[cnv-tests network 4.15 backport] Fix MetalLB teardown

XMLWordPrintable

    • 0.42
    • False
    • Hide

      None

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

      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.

            nrozen@redhat.com Nir Rozen
            ysegev@redhat.com Yossi Segev
            Nir Rozen Nir Rozen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: