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

[openshift-4.22] DPU Operator Intel VSP build failure - pip command not found

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • Proposed
    • None
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description

      DPU Operator Intel VSP component build fails in ART due to missing pip command in the build environment.

      Version-Release Number

      OpenShift 4.22.0 (affects 4.21, 4.20, 4.19 as well)

      How Reproducible

      Always

      Steps to Reproduce

      1. Trigger DPU Operator build in ART/Konflux
      2. Build reaches Intel VSP component processing
      3. Script copy_p4rt_python_deps.sh attempts to install Python dependencies

      Actual Results

      Build fails with error:

      /opt/p4rt_proto/copy_p4rt_python_deps.sh: line 6: pip: command not found
      

      Expected Results

      Build completes successfully with Python dependencies installed correctly.

      Additional Information

      • Root Cause: Script used `pip` command instead of `pip3`
      • Container environment only has `pip3` available, not legacy `pip` symlink
      • Fix: Update script to explicitly use `pip3` instead of `pip`
      • GitHub PR: https://github.com/openshift/dpu-operator/pull/637
      • Verified fix works across OCP versions 5.0, 4.23, 4.22, and 4.21
      • Also cleaned up whitespace issues in errexit option setting

              bnemeth@redhat.com Balazs Nemeth
              lgarciaac Luis GarcĂ­a Acosta
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: