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

ovnkube-trace is expecting a different format for ovn annotation than what ovn provides

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      1. It appears that ovnkube-trace file is looking for an annotation " k8s.ovn.org/node-mgmt-port-mac-addresses" in map[string]string format with default network and fails to execute, but in the default installation, there is already an annotation in the node " k8s.ovn.org/node-mgmt-port-mac-address". 
      
      F0816 01:50:26.953094 1538153 ovnkube-trace.go:1282] Failed to get information from pod ovnkube-node-5vfz6: macAddress annotation not found for node sptl4ocpsno02.telecom.tcnz.net; error: could not find "k8s.ovn.org/node-mgmt-port-mac-addresses" annotation
      
      What ovnkube-trace tool expects: 
      k8s.ovn.org/node-mgmt-port-mac-addresses: '{"default": "7a:87:e4:f1:50:7e"}' 
      
      What's present on the node: 
      k8s.ovn.org/node-mgmt-port-mac-address: '{"7a:87:e4:f1:50:7e"}'
      
      2.  ovnkube-trace file inside the ovnkube-node, is built with cgo enabled.
      
      ./ovnkube-trace --src-namespace openshift-ovn-kubernetes --src ovnkube-node-mgfxb -dst-namespace trident -dst trident-controller-6f585579f5-9prb7  -udp -dst-port 443 -loglevel 0
      ./ovnkube-trace: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./ovnkube-trace)
      ./ovnkube-trace: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./ovnkube-trace)
       

              sdn-team-bot sdn-team bot
              rhn-support-dasmall Daniel Small
              Anurag Saxena Anurag Saxena
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: