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

Ignore desired MAC when bond in MAC restricted mode

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.6.z
    • nmstate
    • nmstate-2.2.49-1.el10
    • No
    • Moderate
    • rhel-net-mgmt
    • None
    • 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.

      None


      ( ) Integration test case is available upstream.


      ( ) Code is reviewed and merged upstream.


      ( ) Preliminary testing is done.


      ( ) Upstream documentation is written in the upstream MR.


      ( ) Release notes text is written in the RHEL issue.


      ( ) 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. None ( ) Integration test case is available upstream. ( ) Code is reviewed and merged upstream. ( ) Preliminary testing is done. ( ) Upstream documentation is written in the upstream MR. ( ) Release notes text is written in the RHEL issue. ( ) A demo is recorded
    • Pass
    • Automated
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      Given a active-backup bond holding `fail_over_mac: active` option,
      When using nmstatectl to apply the state retrieved via `nmstatectl show`,
      Then nmstate will fails with error:

      NmstateValueError: MAC address cannot be specified in bond interface along with fail_over_mac active on active backup mode
      

      What is the impact of this issue to you?

      An OpenStack request

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

      nmstate-2.2.48

      How reproducible is this bug?:

      100%

      Steps to reproduce

      echo '- name: bond99
        type: bond
        state: up
        link-aggregation:
          mode: active-backup
          options:
            fail_over_mac: active
            miimon: 100
          port:
          - eth1
          - eth2' | sudo nmstatectl apply -
      sudo nmstatectl show bond99 | sudo nmstatectl apply -
      

      Expected results

      No failure.

      Actual results

      NmstateValueError: MAC address cannot be specified in bond interface along with fail_over_mac active on active backup mode
      

              fge@redhat.com Gris Ge
              fge@redhat.com Gris Ge
              Network Management Team Network Management Team
              Mingyu Shi Mingyu Shi
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: