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

Cannot change protocol of existing HSR interface

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

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

      None

      Show
      None
    • None
    • 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 an existing hsr0 interface configured with protocol PRP,
      When the system administrator applies a new nmstate YAML that changes the protocol to HSR,
      Then Nmstate must update the HSR interface in-place without requiring deletion or restart, and the protocol must change successfully, with no nmstate error or rollback.


      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 an existing hsr0 interface configured with protocol PRP, When the system administrator applies a new nmstate YAML that changes the protocol to HSR, Then Nmstate must update the HSR interface in-place without requiring deletion or restart, and the protocol must change successfully, with no nmstate error or rollback. 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
    • Unspecified
    • Unspecified
    • None

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

      Cannot change protocol from PRP to HSR of existing interface.

      What is the impact of this issue to you?

      N/A

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

      nmsate-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 -
      
      echo '  - name: hsr0
          type: hsr
          state: up
          copy-mac-from: eth1
          hsr:
            port1: eth1
            port2: eth2
            multicast-spec: 40
            protocol: hsr' | sudo nmstatectl apply - 
      

      Expected results

      Interface protocol changed from PRP to HSR

      Actual results

      Nmstate failed to change the protocol.

      Workaround: Delete the HSR interface first.

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

                Created:
                Updated: