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

[RFE] Support IPv6 ECMP routes in nmstate

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.7
    • nmstate
    • None
    • Yes
    • Important
    • rhel-net-mgmt
    • 3
    • 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 a sysadmin configuring a system with valid IPv6 ECMP routes configured (e.g., via RA or nmcli),

      When they run `nmstatectl show` followed by `nmstatectl apply`,

      Then the state is applied successfully without errors about missing 'weight' or 'metric'.


      ( ) 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. Given a sysadmin configuring a system with valid IPv6 ECMP routes configured (e.g., via RA or nmcli), When they run `nmstatectl show` followed by `nmstatectl apply`, Then the state is applied successfully without errors about missing 'weight' or 'metric'. ( ) 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
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      It is possible to set ipv6 ECMP via tools like iproute2, nmcli or generating from RA etc, `nmstatectl show` can retrieve these ipv6 ECMP routes (but ignores `weight` property), but cannot do the same with `nmstatectl apply`

      The issue might be introduce by fixing RHEL-54558. It works well in nmstate-2.2.49

      What is the impact of this issue to you?

      In most server for testing, by default there are ipv6 ecmp routes, it breaks some tests applying the full network state via nmstate

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

      nmstate-2.2.50-1

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Add some ipv6 ECMP routes via nmcli
      2. nmstatectl show | nmstatectl apply

      Expected results

      Actual results

      NmstateError: InvalidArgument: Route to ::/0 has conflicting nexthop (2620:52:0:bb::fe; fe80::4e16:fc01:5583:88aa). Either set the existing route to 'absent', or set their 'weight' (for ECMP) or 'metric' value

       

      Trying set `weight` option in nmstate got "NmstateError: NotSupportedError: IPv6 ECMP route with weight is not supported yet"

              nm-team Network Management Team
              rh-ee-mshi1 Mingyu Shi
              Network Management Team Network Management Team
              Mingyu Shi Mingyu Shi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: