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

SR-IOV: Network Resource Injector does not support 512M hugepages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.18.0
    • Networking / SR-IOV
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • CNF Network Sprint 273, CNF Network Sprint 274
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:
      It recommends using 512Mi hugepages for ARM cluster, but Network Resource Injector only supports 1Gi and 2Mi sizes.

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

      4.18

      How reproducible:

      100%

      Steps to Reproduce:
      1.

      [dpdk] Downward API [It] Volume is readable in container
      /home/elevin/projects/seba/cnf-features-deploy/cnf-tests/testsuites/e2esuite/dpdk/dpdk.go:785
      
        Timeline >>
        STEP: Label is present in container downward volume @ 06/13/25 15:36:00.182
        STEP: Pod IP, MAC and PCI are present in container downward volume @ 06/13/25 15:36:00.615
        STEP: Huge pages is present in container downward volume @ 06/13/25 15:36:01.934
        [FAILED] in [It] - /home/elevin/projects/seba/cnf-features-deploy/cnf-tests/testsuites/e2esuite/dpdk/dpdk.go:1154 @ 06/13/25 15:36:14.627
        << Timeline
      
        [FAILED] Unexpected error:
            <*fmt.wrapError | 0xc0010883e0>:
            remote command [cat /etc/podnetinfo/hugepages_512M_request_dpdk] error [command terminated with exit code 1]. output []
            {
                msg: "remote command [cat /etc/podnetinfo/hugepages_512M_request_dpdk] error [command terminated with exit code 1]. output []",
                err: <exec.CodeExitError>{
                    Err: <*errors.errorString | 0xc0001bca70>{
                        s: "command terminated with exit code 1",
                    },
                    Code: 1,
                },
            }
        occurred
        In [It] at: /home/elevin/projects/seba/cnf-features-deploy/cnf-tests/testsuites/e2esuite/dpdk/dpdk.go:1154 @ 

      2.
      3.
      Actual results:

      Expected results:

      Additional info:
      https://github.com/openshift/sriov-dp-admission-controller/blob/b1afb071328945fc7ed3a031c444546e75394896/pkg/webhook/webhook.go#L888

              sscheink@redhat.com Sebastian Scheinkman
              rhn-cnf-elevin Evgeny Levin
              None
              None
              Evgeny Levin Evgeny Levin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: