Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-35312

[2250077] [DPDK checkup] Clearer user output when configured PackerPerSecond doesn't fit the NIC bandwidth

XMLWordPrintable

    • No

      Description of problem:
      When running DPDK checkup, and using trafficGenPacketsPerSecond which doesn't fit the bandwidth of the node interface, the failure reason that is output doesn't reflect the actual failure reason from the traffic generator (trex).

      Version-Release number of selected component (if applicable):
      CNV 4.14.0
      Traffic generator quay.io/kiagnose/kubevirt-dpdk-checkup-traffic-gen:v0.2.0

      How reproducible:
      100%

      Steps to Reproduce:
      1.
      Apply the attached resources (some parameter might have to be modified to fit your cluster).
      The last resource is the job resource, and once it is applied - the DPDK checkup starts executing.

      2.
      Wait for the job to be finished.
      As the `trafficGenPacketsPerSecond` parameter in the ConfigMap is quite high, the job should fail (if it doesn't - try a higher value).

      3.
      Check the output configmap:
      $ oc get -f 6-dpdk-checkup-configmap.yaml -o yaml
      apiVersion: v1
      data:
      ...
      status.failureReason: no packets were sent from the traffic generator
      ...
      status.succeeded: "false"

      Actual results:
      No indication to the user on why no packets were sent from the traffic generator, which require tedious debugging.

      Expected results:
      A clear message specifying the failure reason.

      Additional info:
      trex output does include a verbose output, which we should redirect to the client:

      start - Port 0 : *** Expected L1 B/W: '5.376 Gbps' exceeds port line rate: '1 Gbps'
      (5.376 corresponds to the 8m value that was set, in this example, for the `trafficGenPacketsPerSecond`.

              phoracek@redhat.com Petr Horacek
              ysegev@redhat.com Yossi Segev
              Nir Rozen Nir Rozen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: