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

pflacpmonitor not creating logs when VFs are created on monitored PF

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • CNF Network Sprint 275, CNF Network Sprint 276, CNF Network Sprint 277
    • 3
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem: Test case verifies that a SriovNetworkNodePolicy can be added and deleted while the PFLACPMonitor is actively monitoring the interfaces

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

      How reproducible: Easily

      Steps to Reproduce:
      1. LACP between node and switch
      2. deploy PFLACPMonitor cr monitoring interface without VFs

      3. Check logs on pflacpmonitor to see interface is being monitored

      4. Deploy a sriovnetworknodepolicy with same inteface being monitored.

      5. Check logs on pflacpmonitor to see newly created VFs on interface being monitored
      Actual results:

      When VFs are being created no new log is being created.

      Expected results:

      Expect a log to be added with the new VFs

      Additional info:

      Test steps.
      1. Create bonded interface on node with LACP up.
      2. Deploy a pflacpmonitor CR.
      3. Verify logs on pflacpmonitor-worker-0 showing PF status.

      $ oc logs pf-status-relay-ds-pflacpmonitor-worker-0-zv48n -n openshift-pf-status-relay-operator 

      {"time":"2025-07-28T11:39:22.834932658Z","level":"INFO","msg":"Starting application"} {"time":"2025-07-28T11:39:22.835204823Z","level":"INFO","msg":"interfaces to monitor","interfaces":["ens5f0"]} {"time":"2025-07-28T11:39:22.835461391Z","level":"INFO","msg":"pf is ready","interface":"ens5f0"} {"time":"2025-07-28T11:39:23.836258672Z","level":"INFO","msg":"pf has no VFs","interface":"ens5f0"} {"time":"2025-07-28T11:40:45.836366304Z","level":"INFO","msg":"lacp is up","interface":"ens5f0"}

      4. Deploy a sriovnetworknodepolicy creating VFs on PF ens5f0.
      5. Verify logs on pflacpmonitor-worker-0 showing newly created VFs
      Here we expect to see a new log with the addition of the VFs

      $ oc logs pf-status-relay-ds-pflacpmonitor-worker-0-zv48n -n openshift-pf-status-relay-operator 

      {"time":"2025-07-28T11:39:22.834932658Z","level":"INFO","msg":"Starting application"} {"time":"2025-07-28T11:39:22.835204823Z","level":"INFO","msg":"interfaces to monitor","interfaces":["ens5f0"]} {"time":"2025-07-28T11:39:22.835461391Z","level":"INFO","msg":"pf is ready","interface":"ens5f0"} {"time":"2025-07-28T11:39:23.836258672Z","level":"INFO","msg":"pf has no VFs","interface":"ens5f0"} {"time":"2025-07-28T11:40:45.836366304Z","level":"INFO","msg":"lacp is up","interface":"ens5f0"}

              kkarampo@redhat.com Konstantinos Karampogias
              gkopels@redhat.com Gregory Kopels
              None
              None
              Gregory Kopels Gregory Kopels
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: