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

Need ubi repos for the openshift-driver-toolkit-ctr container image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • 4.13, 4.12, 4.14, 4.15, 4.16, 4.17, 4.18, 4.19, 4.20
    • Driver Toolkit
    • Quality / Stability / Reliability
    • None
    • Hide

      None

      Show
      None
    • None
    • None
    • Yes
    • None
    • None
    • Approved
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      "openshift-driver-toolkit-ctr" image does not have the "redhat.repo and ubi.repo" in the 4.20 image
      
      This is needed for running VMs with vGPU devices, in "OpenShift Virtualization".
      
      ---
       lspci
      /mnt/shared-nvidia-driver-toolkit/ocp_dtk_entrypoint: line 102: lspci: command not found
      + dnf install -y pciutils
      Updating Subscription Management repositories.
      Unable to read consumer identity
      
      This system is not registered with an entitlement server. You can use subscription-manager to register.
      
      Error: There are no enabled repositories in "/etc/yum.repos.d", "/etc/yum/repos.d", "/etc/distro.repos.d".
      + trap 'echo "Caught signal"; kill "${child_pid}"; wait "${child_pid}"; exit' HUP INT QUIT PIPE TERM
      + cd /mnt/shared-nvidia-driver-toolkit/driver
      + echo '#'

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

       4.20  

      Actual results:

          etc/yum.repos.d/
      
      0 directories, 0 files

      Expected results:

      etc/yum.repos.d/
      ├── redhat.repo
      └── ubi.repo
      
      0 directories, 2 files    

      Additional info:

          In the above "openshift-driver-toolkit-ctr" container image, lspci command brought in by pciutils pkg, is missing which is used to enable, disable, or configure Virtual Functions (VFs) for SR-IOV-capable devices, such as NVIDIA GPUs, in the NVIDIA vGPU Manager setup.
      
      Currently we do not even have an option to even install the pciutils pkg, as the .repo files are missing.

              ybettan@redhat.com Yoni Bettan
              akrgupta@redhat.com Akriti gupta
              None
              None
              Lital Alon Lital Alon
              None
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: