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

nmstate failed to apply current state when ipv6 is disabled in system level

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-10.2
    • nmstate
    • None
    • None
    • Important
    • 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 a RHEL 10 system with ipv6.disabled=1 kernel parameter,

      When the current network state is queried and reapplied using nmstatectl show > current.yml && nmstatectl apply current.yml,

      Then the command succeeds without errors and the network state remains unchanged, with loopback retaining its IPv4-only configuration.


      ( ) Integration test case is available upstream.


      ( ) Code is reviewed and merged upstream.


      ( ) Preliminary testing is done.


      ( ) 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 10 system with ipv6.disabled=1 kernel parameter, When the current network state is queried and reapplied using nmstatectl show > current.yml && nmstatectl apply current.yml, Then the command succeeds without errors and the network state remains unchanged, with loopback retaining its IPv4-only configuration. ( ) Integration test case is available upstream. ( ) Code is reviewed and merged upstream. ( ) Preliminary testing is done. ( ) A demo is recorded
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      When the kernel parameter ipv6.disabled=1 is set at system boot, nmstate is unable to successfully apply the current network state.

      [root@sweetpig-21 ~]# nmstatectl show | nmstatectl set
      [2026-02-06T08:38:18Z INFO  nmstatectl] Nmstate version: 2.2.57
      [2026-02-06T08:38:18Z INFO  nmstatectl] Nmstate version: 2.2.57
      Using 'set' is deprecated, use 'apply' instead.
      NmstateError: InvalidArgument: Loopback interface cannot be have IPv6 disabled

      Currently RHIVOS disabled ipv6 in system level, the similar action will fail on RHIVOS

      What is the impact of this issue to you?

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

      nmstate-2.2.57-1.el10.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      No failure or ignore

      Actual results

              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: