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

ovnkube-trace pip3: command not found

XMLWordPrintable

    • Important
    • No
    • 1
    • SDN Sprint 243
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      [cloud-user@preserve-olm-env2 jian]$ ./ovnkube-trace --src-namespace netobserv -src flowlogs-pipeline-b5lqc -dst-namespace openshift-dns -dst dns-default-66lw6 -udp -dst-port 53 -loglevel 0
      I0321 14:35:16.744185 1320430 ovs.go:90] Maximum command line arguments set to: 191102
      ovn-trace source pod to destination pod indicates success from flowlogs-pipeline-b5lqc to dns-default-66lw6
      ovn-trace destination pod to source pod indicates success from dns-default-66lw6 to flowlogs-pipeline-b5lqc
      ovs-appctl ofproto/trace source pod to destination pod indicates success from flowlogs-pipeline-b5lqc to dns-default-66lw6
      ovs-appctl ofproto/trace destination pod to source pod indicates success from dns-default-66lw6 to flowlogs-pipeline-b5lqc
      I0321 14:35:21.434256 1320430 ovnkube-trace.go:1181] Skipped ovn-detrace due to: "dependencies check failed: \"ovn-detrace error in pod ovnkube-node-4lkj6, container ovnkube-node. Error 'command terminated with exit code 127', stdOut: ''\\n stdErr: bash: line 1: pip3: command not found\\n\""

      Version-Release number of selected component (if applicable):

      Cluster version is 4.13.0-0.nightly-2023-03-19-052243

      How reproducible:

      always

      Steps to Reproduce:

      1. Install OCP 4.13
      
      2.  Install ovnlube-trace
      $ POD=$(oc get pods -n openshift-ovn-kubernetes -l app=ovnkube-master -o name | head -1 | awk -F '/' '{print $NF}') 
      $ oc cp -n openshift-ovn-kubernetes $POD:/usr/bin/ovnkube-trace ovnkube-trace
      $ chmod +x ovnkube-trace
      
      3, Run it
      $ ./ovnkube-trace --src-namespace netobserv -src flowlogs-pipeline-b5lqc -dst-namespace openshift-dns -dst dns-default-66lw6 -udp -dst-port 53 -loglevel 0

      Actual results:

      I0321 14:35:21.434256 1320430 ovnkube-trace.go:1181] Skipped ovn-detrace due to: "dependencies check failed: \"ovn-detrace error in pod ovnkube-node-4lkj6, container ovnkube-node. Error 'command terminated with exit code 127', stdOut: ''\\n stdErr: bash: line 1: pip3: command not found\\n\""

      Expected results:

      Working well

      Additional info:

      It works well for OCP 4.12

              pepalani@redhat.com Periyasamy Palanisamy
              rhn-support-jiazha Jian Zhang
              Qiong Wang Qiong Wang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: