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

Apply current state, failed on verifying empty mptcp

    • nmstate-2.2.36-1.el9
    • None
    • Moderate
    • 1
    • sst_network_management
    • ssg_networking
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • RHEL-9.5 Doc week/Last fixes
    • Hide

      Given a system administrator is using a system with Nmstate and NetworkManager installed and an interface eno1 that does not have a default value set for MPTCP,

      When they run the command nmstatectl show eno1 | nmstatectl apply on a physical interface,

      Then the command should succeed without failing on verifying the empty MPTCP value

      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 a system administrator is using a system with Nmstate and NetworkManager installed and an interface eno1 that does not have a default value set for MPTCP, When they run the command nmstatectl show eno1 | nmstatectl apply on a physical interface, Then the command should succeed without failing on verifying the empty MPTCP value 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
    • Pass
    • None
    • None

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

      nmstatectl show eno1 | nmstatectl apply

      If eno1 by default isn't set the value for mptcp, there is a very high chance to fail when running the above command at the several beginning times, especially when it is a physical interface.

      Please provide the package NVR for which bug is seen:

      nmstate-2.2.30-1.el9.x86_64
      nispor-1.2.14-1.el9.x86_64
      NetworkManager-1.47.91-1.el9.x86_64
      Linux netqe-amd-02.knqe.eng.rdu2.dc.redhat.com 5.14.0-447.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 7 09:59:38 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux
      DISTRO=RHEL-9.5.0-updates-20240520.24

      How reproducible:

      High, may get success after several tries

      Steps to reproduce

      1.  Reserve a (beaker) clean machine with the gateway interface set on a physical NIC
      2.  nmstatectl show $gateway_nic | nmstatectl apply
      3.  

      Expected results

      Pass

      Actual results

      [20:41:35@netqe-amd-02 ~]0# date; nmstatectl show eno1 | nmstatectl apply
      Fri May 24 08:41:45 PM CST 2024
      [2024-05-24T12:41:45Z INFO  nmstatectl] Nmstate version: 2.2.30
      [2024-05-24T12:41:45Z INFO  nmstatectl] Nmstate version: 2.2.30
      [2024-05-24T12:41:46Z INFO  nmstate::ip] Static addresses 10.6.20.28/24 valid_life_time 86296sec preferred_lft 86296sec defined when dynamic IP is enabled
      [2024-05-24T12:41:46Z INFO  nmstate::ip] Ignoring Auto IP address 10.6.20.28/24 valid_life_time 86296sec preferred_lft 86296sec
      [2024-05-24T12:41:46Z INFO  nmstate::ip] Ignoring Auto IP address 2620:52:9:1614:2267:7cff:feef:eb8c/64 valid_life_time 2591921sec preferred_lft 604721sec
      [2024-05-24T12:41:46Z INFO  nmstate::ip] Static addresses fe80::2267:7cff:feef:eb8c/64 defined when dynamic IP is enabled
      [2024-05-24T12:41:46Z WARN  nmstate::ip] Ignoring IPv6 link local address fe80::2267:7cff:feef:eb8c/64
      [2024-05-24T12:41:46Z INFO  nmstate::query_apply::net_state] Created checkpoint /org/freedesktop/NetworkManager/Checkpoint/2
      [2024-05-24T12:41:46Z INFO  nmstate::nm::query_apply::profile] Modifying connection UUID Some("ed636bb3-09c3-49bc-acfa-9a208e350ce9"), ID Some("eno1"), type Some("802-3-ethernet") name Some("eno1")
      [2024-05-24T12:41:46Z INFO  nmstate::nm::query_apply::profile] Reapplying connection ed636bb3-09c3-49bc-acfa-9a208e350ce9: eno1/802-3-ethernet
      [2024-05-24T12:41:46Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: eno1.interface.mptcp desire '{"address-flags":[]}', current 'null'
      [2024-05-24T12:41:47Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: eno1.interface.mptcp desire '{"address-flags":[]}', current 'null'
      [2024-05-24T12:41:48Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: eno1.interface.mptcp desire '{"address-flags":[]}', current 'null'
      [2024-05-24T12:41:49Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: eno1.interface.mptcp desire '{"address-flags":[]}', current 'null'
      [2024-05-24T12:41:50Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: eno1.interface.mptcp desire '{"address-flags":[]}', current 'null'
      [2024-05-24T12:41:53Z INFO  nmstate::nm::query_apply::profile] Deactivating connection ed636bb3-09c3-49bc-acfa-9a208e350ce9: eno1/802-3-ethernet
      [2024-05-24T12:41:53Z INFO  nmstate::nm::query_apply::profile] Modifying connection UUID Some("ed636bb3-09c3-49bc-acfa-9a208e350ce9"), ID Some("eno1"), type Some("802-3-ethernet") name Some("eno1")
      [2024-05-24T12:41:53Z INFO  nmstate::nm::query_apply::profile] Activating connection ed636bb3-09c3-49bc-acfa-9a208e350ce9: eno1/802-3-ethernet
      [2024-05-24T12:41:53Z INFO  nmstate::nm::query_apply::profile] Got activation failure Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because device has no carrier).
      [2024-05-24T12:41:53Z INFO  nmstate::nm::query_apply::profile] Will retry activation 2 seconds
      [2024-05-24T12:41:55Z INFO  nmstate::nm::query_apply::profile] Activating connection ed636bb3-09c3-49bc-acfa-9a208e350ce9: eno1/802-3-ethernet
      [2024-05-24T12:41:55Z INFO  nmstate::nm::query_apply::profile] Got activation failure Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because device has no carrier).
      [2024-05-24T12:41:55Z INFO  nmstate::nm::query_apply::profile] Will retry activation 4 seconds
      [2024-05-24T12:41:59Z INFO  nmstate::nm::query_apply::profile] Activating connection ed636bb3-09c3-49bc-acfa-9a208e350ce9: eno1/802-3-ethernet
      [2024-05-24T12:42:00Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: eno1.interface.mptcp desire '{"address-flags":[]}', current 'null'
      [2024-05-24T12:42:01Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: eno1.interface.mptcp desire '{"address-flags":[]}', current 'null'
      [2024-05-24T12:42:02Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: eno1.interface.mptcp desire '{"address-flags":[]}', current 'null'
      [2024-05-24T12:42:03Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: eno1.interface.mptcp desire '{"address-flags":[]}', current 'null'
      [2024-05-24T12:42:04Z INFO  nmstate::query_apply::net_state] Rollbacked to checkpoint /org/freedesktop/NetworkManager/Checkpoint/2
      NmstateError: VerificationError: Verification failure: eno1.interface.mptcp desire '{"address-flags":[]}', current 'null'

       

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

              Created:
              Updated: