Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-100758

Automatically set HSR/PRP port MAC address

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • nmstate-2.2.52-1.el10
    • No
    • Moderate
    • rhel-net-mgmt
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Hide

      Definition of Done:

      Please mark each item below with ( / ) if completed or ( x ) if incomplete:

      The acceptance criteria defined below are met.

      Given a RHEL system with HSR ports
      When customer use nmstate to create HSR interface using HSR ports without defining MAC address
      Then nmstate create a HSR interface with one HSR port holding different MAC address which causing HSR malfunction.


      Integration test case is available upstream


      Code is reviewed and merged upstream


      ( ) Preliminary testing is done


      Upstream documentation is written in the upstream MR


      ( ) A demo is recorded

      Show
      Definition of Done: Please mark each item below with ( / ) if completed or ( x ) if incomplete: The acceptance criteria defined below are met. Given a RHEL system with HSR ports When customer use nmstate to create HSR interface using HSR ports without defining MAC address Then nmstate create a HSR interface with one HSR port holding different MAC address which causing HSR malfunction. Integration test case is available upstream Code is reviewed and merged upstream ( ) Preliminary testing is done Upstream documentation is written in the upstream MR ( ) A demo is recorded
    • Pass
    • Automated
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Give a RHEL system with HSR ports
      When customer use nmstate to create HSR interface using HSR ports without defining MAC address
      Then nmstate create a HSR interface with one HSR port holding different MAC address which causing HSR malfunction.

      What is the impact of this issue to you?

      HSR interface not been set correctly and lose failover ability.

      Please provide the package NVR for which the bug is seen:

      nmstate-2.2.46-1.el9

      How reproducible is this bug?:

      100%

      Steps to reproduce

      echo '  - name: hsr0
          type: hsr
          state: up
          copy-mac-from: eth1
          hsr:
            port1: eth1
            port2: eth2
            multicast-spec: 40
            protocol: prp' | sudo nmstatectl apply -
      
      ip link
      

      Expected results

      The hsr0, eth1 and eth2 are all holding the same MAC address

      Actual results

      The hsr0, eth1 and eth2 are all holding the same MAC address

      The workaround for this is just use `copy-mac-from` to set MAC address explicitly.

              rh-ee-mshi1 Mingyu Shi
              fge@redhat.com Gris Ge
              Mingyu Shi
              Network Management Team Network Management Team
              Mingyu Shi Mingyu Shi
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated: