Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-58306

OVN-K8S expected NAD when Multus disabled in HyperShift

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Rejected
    • CORENET Sprint 273, CORENET Sprint 274, CORENET Sprint 275
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:
      When disableMultus is enabled in a HyperShift cluster, Multus is correctly not deployed by the CNO, but ovnkube-node still expects NAD. no CNI config is written, and the network remains in a NetworkNotReady state.

      Version-Release number of selected component (if applicable):
      Tested on OpenShift 4.20 nightly

      How reproducible:
      Always, when disableMultus is enabled in a HyperShift deployment using OVN-Kubernetes. 

      Steps to Reproduce:

      1. Create a guest cluster with --disable-multus set using the implementation here - https://github.com/openshift/hypershift/pull/6358
      1. Wait for hc to start and create a worker. check the state of ovnk in HC.
      1. Observe the logs

      Actual results:

      • ovnk pod crashes repeatedly.
      • /etc/kubernetes/cni/net.d/ is empty — no CNI config is written.
      • Error in logs: failed to list *v1.NetworkAttachmentDefinition: the server could not find the requested resource (get network-attachment-definitions.k8s.cni.cncf.io)

      Expected results:

      ovnk should not expect the NAD CRD when Multus is disabled (I believe).

              rravaiol@redhat.com Riccardo Ravaioli
              rh-ee-lhadad Linoy Hadad
              None
              None
              Anurag Saxena Anurag Saxena
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: