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

Pull release image command failed for podman error "cni support is not enabled in this build"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • None
    • 4.17.0
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      This is a clone of issue OCPBUGS-39178. The following is the description of the original issue:

      Description of problem:

      The latest 4.17-e2e-aws-ovn-workers-rhel8 job, such as https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/logs/periodic-ci-openshift-release-master-nightly-4.17-e2e-aws-ovn-workers-rhel8/1828966105192861696/artifacts/e2e-aws-ovn-workers-rhel8/workers-rhel-scaleup/build-log.txt 
      
      is failing for 
      
          "stderr_lines": [
              "time=\"2024-08-29T02:21:37Z\" level=warning msg=\"Using cgroups-v1 which is deprecated in favor of cgroups-v2 with Podman v5 and will be removed in a future version. Set environment variable `PODMAN_IGNORE_CGROUPSV1_WARNING` to hide this warning.\"",
              "Error: cni support is not enabled in this build, only netavark. Got unsupported network backend \"cni\""
      
      
      
      Checked on the RHEL machine, the podman version being installed now is ""Installed: podman-4:5.2.0-3.rhaos4.17.el8.x86_64" which doesn't support "cni" network backend anymore, so all podman commands will fail.  
      https://docs.podman.io/en/latest/markdown/podman-network.1.html 
      
      [root@ptalgulk-29c-v5f5q-w-a-l-rhel-0 ~]# podman ps 
      WARN[0000] Using cgroups-v1 which is deprecated in favor of cgroups-v2 with Podman v5 and will be removed in a future version. Set environment variable `PODMAN_IGNORE_CGROUPSV1_WARNING` to hide this warning. Error: cni support is not enabled in this build, only netavark. Got unsupported network backend "cni"
      
      
      The network_backend is configured to "cni" by default in containers-common-1-86.rhaos4.17.el8.x86_64 package.
      
      [root@ptalgulk-29c-v5f5q-w-a-l-rhel-0 ~]# grep ^network_backend /usr/share/containers/containers.conf
      network_backend = "cni" 
      [root@ptalgulk-29c-v5f5q-w-a-l-rhel-0 ~]# rpm -qf /usr/share/containers/containers.conf
      containers-common-1-86.rhaos4.17.el8.x86_64
      
      

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

          

      How reproducible:

          Always

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              rh-ee-gpei Gaoyun Pei
              openshift-crt-jira-prow OpenShift Prow Bot
              Gaoyun Pei Gaoyun Pei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: