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

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
    • Hide
      09/04: Code under review for one option but other option is still being explored
      08/28: Dev in progress PR to be opened within the next day.
      08/14: Dev team discussing solutions
      Show
      09/04: Code under review for one option but other option is still being explored 08/28: Dev in progress PR to be opened within the next day. 08/14: Dev team discussing solutions
    • None
    • Agent Sprint 277
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

              deliedit@redhat.com David Elie-Dit-Cosaque
              rh-ee-dpopsuev Daniel Popsuevich
              None
              None
              Daniel Popsuevich Daniel Popsuevich
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: