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

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
      9/11: PR is ready for a review
      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
      9/11: PR is ready for a review 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
    • Proposed
    • Bug Fix
    • Hide
      Before this update, the Cloud event proxy for the Precision Time Protocol (PTP) Operator incorrectly parsed BF3 Network Interface Card (NIC names), causing the interface alias to be formatted incorrectly. As a consequence, the incorrect parsing caused end users to misinterpret cloud events. With this release, the Cloud event proxy has been updated to correctly parse BF3 NIC names in PTP operator. As a result, fix improves parsing of BF3 NIC names, ensuring correct event publication for PTP operator. (link:https://issues.redhat.com/browse/OCPBUGS-60466[OCPBUGS-60466])
      Show
      Before this update, the Cloud event proxy for the Precision Time Protocol (PTP) Operator incorrectly parsed BF3 Network Interface Card (NIC names), causing the interface alias to be formatted incorrectly. As a consequence, the incorrect parsing caused end users to misinterpret cloud events. With this release, the Cloud event proxy has been updated to correctly parse BF3 NIC names in PTP operator. As a result, fix improves parsing of BF3 NIC names, ensuring correct event publication for PTP operator. (link: https://issues.redhat.com/browse/OCPBUGS-60466 [ OCPBUGS-60466 ])
    • 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
              Michele Tomaso Costa
              Daniel Popsuevich Daniel Popsuevich
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: