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

Linuxptp-daemon 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
    • CNF RAN Sprint 277
    • 1
    • Done
    • Bug Fix
    • Hide
      * Before this update, the Precision Time Protocol (PTP) Operator wrongly parsed network interface controller (NIC) names. As a result, interface aliases were incorrectly formatted and this impacted identifying a PTP hardware clock (PHC) when using Mellaonox cards to send clock state events. With this release, the PTP now correctly parses the NIC names so that generated aliases align with Mellanox naming conventions. Mellanox cards can now accurately identify a PHC when sending clock state events. (link:https://issues.redhat.com/browse/OCPBUGS-61581[OCPBUGS-61581])
      Show
      * Before this update, the Precision Time Protocol (PTP) Operator wrongly parsed network interface controller (NIC) names. As a result, interface aliases were incorrectly formatted and this impacted identifying a PTP hardware clock (PHC) when using Mellaonox cards to send clock state events. With this release, the PTP now correctly parses the NIC names so that generated aliases align with Mellanox naming conventions. Mellanox cards can now accurately identify a PHC when sending clock state events. (link: https://issues.redhat.com/browse/OCPBUGS-61581 [ OCPBUGS-61581 ])
    • 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:
              3 Start watching this issue

                Created:
                Updated: