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

Disabling ipv6 on ovs-interface is failing due to verification error

    • No
    • None
    • ZStream
    • sst_network_management
    • ssg_networking
    • 1
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • Hide

      Given an OVS internal interface is configured with IPv6 disabled in the nmstatectl template,

      When the system administrator applies the template using nmstatectl set,

      Then the system should correctly disable IPv6 on the OVS interface without generating a verification error and the desired state (ipv6.enabled: false) should be reflected as the current state (ipv6.enabled: false) upon verification.

      Definition of Done:

      • The implementation meets the acceptance criteria
      • Integration tests are written and passĀ 
      • The code is part of a downstream build attached to an errata
      Show
      Given an OVS internal interface is configured with IPv6 disabled in the nmstatectl template, When the system administrator applies the template using nmstatectl set, Then the system should correctly disable IPv6 on the OVS interface without generating a verification error and the desired state (ipv6.enabled: false) should be reflected as the current state (ipv6.enabled: false) upon verification. Definition of Done: The implementation meets the acceptance criteria Integration tests are written and passĀ  The code is part of a downstream build attached to an errata
    • None
    • None
    • x86_64
    • None

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

      nmstatectl set dpdk_template.yaml (attached)
      The template is used to create a user bridge with ipv6 disabled on the internal ovs interface.

      What is the impact of this issue to you?

      received the verification error
      NmstateError: VerificationError: Verification failure: br-link1-p.interface.ipv6.enabled desire 'false', current 'true'

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

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. nmstatectl set dpdk_template.yaml (attached)

      Expected results

      The templates shall be applied succesfully.

      Actual results

      Verification error

      [2024-09-11T10:19:50Z INFO nmstate::nm::query_apply::profile] Reapplying connection d7c5d498-6e9e-407b-88af-6d656aac3994: dpdk2/ovs-interface
      [2024-09-11T10:19:50Z INFO nmstate::nispor::base_iface] Got unsupported interface type tun: br-int, ignoring
      [2024-09-11T10:19:50Z INFO nmstate::nispor::show] Got unsupported interface br-int type Tun
      [2024-09-11T10:19:50Z INFO nmstate::nispor::base_iface] Got unsupported interface type tun: br-link1-p, ignoring
      [2024-09-11T10:19:50Z INFO nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
      [2024-09-11T10:19:51Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: br-link1-p.interface.ipv4.address desire '[

      {"ip":"152.20.0.157","prefix-length":24}

      ]', current '[]'
      [2024-09-11T10:19:52Z INFO nmstate::nispor::base_iface] Got unsupported interface type tun: br-link1-p, ignoring
      [2024-09-11T10:19:52Z INFO nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
      [2024-09-11T10:19:52Z INFO nmstate::nispor::base_iface] Got unsupported interface type tun: br-int, ignoring
      [2024-09-11T10:19:52Z INFO nmstate::nispor::show] Got unsupported interface br-int type Tun
      [2024-09-11T10:19:52Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: br-link1-p.interface.ipv6.enabled desire 'false', current 'true'
      [2024-09-11T10:19:53Z INFO nmstate::nispor::base_iface] Got unsupported interface type tun: br-int, ignoring
      [2024-09-11T10:19:53Z INFO nmstate::nispor::show] Got unsupported interface br-int type Tun
      [2024-09-11T10:19:53Z INFO nmstate::nispor::base_iface] Got unsupported interface type tun: br-link1-p, ignoring
      [2024-09-11T10:19:53Z INFO nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
      [2024-09-11T10:19:53Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: br-link1-p.interface.ipv6.enabled desire 'false', current 'true'
      [2024-09-11T10:19:54Z INFO nmstate::nispor::base_iface] Got unsupported interface type tun: br-link1-p, ignoring
      [2024-09-11T10:19:54Z INFO nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
      [2024-09-11T10:19:54Z INFO nmstate::nispor::base_iface] Got unsupported interface type tun: br-int, ignoring
      [2024-09-11T10:19:54Z INFO nmstate::nispor::show] Got unsupported interface br-int type Tun
      [2024-09-11T10:19:54Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: br-link1-p.interface.ipv6.enabled desire 'false', current 'true'
      [2024-09-11T10:19:55Z INFO nmstate::nispor::base_iface] Got unsupported interface type tun: br-int, ignoring
      [2024-09-11T10:19:55Z INFO nmstate::nispor::show] Got unsupported interface br-int type Tun
      [2024-09-11T10:19:55Z INFO nmstate::nispor::base_iface] Got unsupported interface type tun: br-link1-p, ignoring
      [2024-09-11T10:19:55Z INFO nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
      [2024-09-11T10:19:55Z INFO nmstate::query_apply::net_state] Rollbacked to checkpoint /org/freedesktop/NetworkManager/Checkpoint/25
      NmstateError: VerificationError: Verification failure: br-link1-p.interface.ipv6.enabled desire 'false', current 'true'

            rh-ee-sfaye Stanislas Faye
            ksundara@redhat.com Karthik Sundaravel
            Network Management Team Network Management Team
            Mingyu Shi Mingyu Shi
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: