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

Cloud event proxy for PTP operator doesn't parse the BF3 NIC names correctly

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

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

      Description of problem:

          Cloud event proxy for PTP operator doesn't parse the BF3 NIC names correctly.
          When the event is published the interface alias name within the "ResourceAddress\": \"/   cluster/node/helix97.telcoqe.eng.rdu2.dc.redhat.com/enP2s2f1npx/master\" isn't formatted correctly.

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

          ptp-operator.v4.20.0-202508041346

      How reproducible:

          100%

      Steps to Reproduce:

          1.Cause actions on PTP daemon that produce events with the interface alias.
      

      Actual results:

          'enP2s2f1npx'

      Expected results:

          'enP2s2fx'

      Additional info:

      "plugins/ptp_operator/utils/utils.go" GetAlias() func should be updated to handle more iface names, or at the very least BF3.
      Here are two BF3 iface names for unit testing, which should have the same output of 'enP2s2fx': enP2s2f0np0, enP2s2f1np1

              aputtur@redhat.com Aneesh Puttur
              rh-ee-dpopsuev Daniel Popsuevich
              None
              None
              Yang Liu Yang Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: