RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2192544 - Verification failure while setting IP address and MTU on DPDK bridges / interface
Summary: Verification failure while setting IP address and MTU on DPDK bridges / inter...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: nmstate
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Gris Ge
QA Contact: Mingyu Shi
URL:
Whiteboard:
Depends On:
Blocks: 2196434
TreeView+ depends on / blocked
 
Reported: 2023-05-02 08:36 UTC by Karthik Sundaravel
Modified: 2023-11-07 09:02 UTC (History)
7 users (show)

Fixed In Version: nmstate-2.2.11-1.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2196434 (view as bug list)
Environment:
Last Closed: 2023-11-07 08:24:03 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
dpdk_mtu_fail.yaml (792 bytes, application/octet-stream)
2023-05-02 08:36 UTC, Karthik Sundaravel
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github nmstate nmstate pull 2336 0 None open OVS: Support OVS `netdev` datapath 2023-05-05 08:48:32 UTC
Red Hat Issue Tracker NMT-508 0 None None None 2023-05-02 08:39:35 UTC
Red Hat Issue Tracker RHELPLAN-156177 0 None None None 2023-05-02 08:39:39 UTC
Red Hat Product Errata RHBA-2023:6323 0 None None None 2023-11-07 08:24:18 UTC

Description Karthik Sundaravel 2023-05-02 08:36:35 UTC
Created attachment 1961618 [details]
dpdk_mtu_fail.yaml

I have attached the nmstate templates (dpdk_mtu_fail.yaml). On applying the same with --no-verify, the configuration is applied and the the IP address/MTU are set. But the same yaml is applied with --verify, the configuration fails at the verification stage and its reverted.

[root@dell-r640-oss-14 ~]# nmstatectl apply nm_dpdk_mtu_fail.yaml  --no-verify
[2023-05-02T08:15:46Z INFO  nmstate::query_apply::net_state] Created checkpoint /org/freedesktop/NetworkManager/Checkpoint/61
[2023-05-02T08:15:46Z INFO  nmstate::nm::query_apply::profile] Creating connection UUID Some("84ed59f4-1096-46af-a8b3-6c8a46556214"), ID Some("br-link1-br"), type Some("ovs-bridge") name Some("br-link1")
[2023-05-02T08:15:46Z INFO  nmstate::nm::query_apply::profile] Creating connection UUID Some("98be57a2-d427-4828-bac9-301deac30f30"), ID Some("br-link1-p-port"), type Some("ovs-port") name Some("br-link1-p")
[2023-05-02T08:15:46Z INFO  nmstate::nm::query_apply::profile] Creating connection UUID Some("fd97d1dd-a3d2-4450-8f3b-555097d487cf"), ID Some("dpdk1-port"), type Some("ovs-port") name Some("dpdk1")
[2023-05-02T08:15:46Z INFO  nmstate::nm::query_apply::profile] Creating connection UUID Some("26d81440-7a45-4437-b408-052ee8802f26"), ID Some("br-link1-p-if"), type Some("ovs-interface") name Some("br-link1-p")
[2023-05-02T08:15:46Z INFO  nmstate::nm::query_apply::profile] Creating connection UUID Some("09b06874-e62c-481f-b850-1f14f889b22c"), ID Some("dpdk1-if"), type Some("ovs-interface") name Some("dpdk1")
[2023-05-02T08:15:46Z INFO  nmstate::nm::query_apply::profile] Activating connection 84ed59f4-1096-46af-a8b3-6c8a46556214: br-link1/ovs-bridge
[2023-05-02T08:15:46Z INFO  nmstate::nm::query_apply::profile] Activating connection 98be57a2-d427-4828-bac9-301deac30f30: br-link1-p/ovs-port
[2023-05-02T08:15:46Z INFO  nmstate::nm::query_apply::profile] Activating connection fd97d1dd-a3d2-4450-8f3b-555097d487cf: dpdk1/ovs-port
[2023-05-02T08:15:46Z INFO  nmstate::nm::query_apply::profile] Activating connection 26d81440-7a45-4437-b408-052ee8802f26: br-link1-p/ovs-interface
[2023-05-02T08:15:46Z INFO  nmstate::nm::query_apply::profile] Activating connection 09b06874-e62c-481f-b850-1f14f889b22c: dpdk1/ovs-interface
[2023-05-02T08:15:46Z INFO  nmstate::query_apply::net_state] Destroyed checkpoint /org/freedesktop/NetworkManager/Checkpoint/61
dns-resolver: {}
route-rules: {}
routes: {}
interfaces:
- name: br-link1
  type: ovs-bridge
  state: up
  ovs-db:
    external_ids: {}
    other_config: {}
  bridge:
    options:
      stp: false
      rstp: false
      mcast-snooping-enable: false
      fail-mode: standalone
      datapath: netdev
    port:
    - name: dpdk1
    - name: br-link1-p
- name: br-link1-p
  type: ovs-interface
  state: up
  mtu: 9000
  ipv4:
    enabled: true
    dhcp: false
    address:
    - ip: 152.20.0.55
      prefix-length: 24
  ipv6:
    enabled: false
    dhcp: false
    autoconf: false
- name: dpdk1
  type: ovs-interface
  state: up
  mtu: 9000
  ipv4:
    enabled: false
    dhcp: false
  ipv6:
    enabled: false
    dhcp: false
    autoconf: false
  ovs-db:
    external_ids: {}
    other_config: {}
  dpdk:
    devargs: 0000:19:00.3
ovs-db: {}

[root@dell-r640-oss-14 ~]# ovs-vsctl list interface
_uuid               : 7264ae50-b846-45bc-8cb7-0f4d0d60fe07
admin_state         : up
bfd                 : {}
bfd_status          : {}
cfm_fault           : []
cfm_fault_status    : []
cfm_flap_count      : []
cfm_health          : []
cfm_mpid            : []
cfm_remote_mpids    : []
cfm_remote_opstate  : []
duplex              : full
error               : []
external_ids        : {NM.connection.uuid="26d81440-7a45-4437-b408-052ee8802f26"}
ifindex             : 101
ingress_policing_burst: 0
ingress_policing_kpkts_burst: 0
ingress_policing_kpkts_rate: 0
ingress_policing_rate: 0
lacp_current        : []
link_resets         : 3
link_speed          : 10000000
link_state          : up
lldp                : {}
mac                 : []
mac_in_use          : "96:cf:44:f1:64:c6"
mtu                 : 9000
mtu_request         : 9000
name                : br-link1-p
ofport              : 2
ofport_request      : []
options             : {}
other_config        : {}
statistics          : {collisions=0, rx_bytes=706, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_missed_errors=0, rx_multicast_packets=0, rx_over_err=0, rx_packets=7, tx_bytes=2940, tx_dropped=0, tx_errors=0, tx_packets=22}
status              : {driver_name=tun, driver_version="1.6", firmware_version=""}
type                : internal

_uuid               : fb073406-d3d0-40c5-b7ac-7f2d9017d787
admin_state         : up
bfd                 : {}
bfd_status          : {}
cfm_fault           : []
cfm_fault_status    : []
cfm_flap_count      : []
cfm_health          : []
cfm_mpid            : []
cfm_remote_mpids    : []
cfm_remote_opstate  : []
duplex              : full
error               : []
external_ids        : {NM.connection.uuid="09b06874-e62c-481f-b850-1f14f889b22c"}
ifindex             : 4575007
ingress_policing_burst: 0
ingress_policing_kpkts_burst: 0
ingress_policing_kpkts_rate: 0
ingress_policing_rate: 0
lacp_current        : []
link_resets         : 0
link_speed          : 10000000000
link_state          : up
lldp                : {}
mac                 : []
mac_in_use          : "e4:43:4b:5c:96:83"
mtu                 : 9000
mtu_request         : 9000
name                : dpdk1
ofport              : 1
ofport_request      : []
options             : {dpdk-devargs="0000:19:00.3"}
other_config        : {}
statistics          : {mac_local_errors=3, mac_remote_errors=1, ovs_rx_qos_drops=0, ovs_tx_failure_drops=0, ovs_tx_invalid_hwol_drops=0, ovs_tx_mtu_exceeded_drops=0, ovs_tx_qos_drops=0, rx_1024_to_1522_packets=0, rx_128_to_255_packets=88, rx_1523_to_max_packets=0, rx_1_to_64_packets=0, rx_256_to_511_packets=20, rx_512_to_1023_packets=0, rx_65_to_127_packets=21, rx_broadcast_packets=15, rx_bytes=20629, rx_crc_errors=0, rx_dropped=0, rx_errors=0, rx_fragmented_errors=0, rx_illegal_byte_errors=0, rx_jabber_errors=0, rx_length_errors=0, rx_mac_short_dropped=0, rx_mbuf_allocation_errors=0, rx_missed_errors=0, rx_multicast_packets=114, rx_oversize_errors=0, rx_packets=129, rx_undersized_errors=0, tx_1024_to_1522_packets=0, tx_128_to_255_packets=39, tx_1523_to_max_packets=0, tx_1_to_64_packets=29, tx_256_to_511_packets=0, tx_512_to_1023_packets=0, tx_65_to_127_packets=0, tx_broadcast_packets=18, tx_bytes=7038, tx_dropped=0, tx_errors=0, tx_link_down_dropped=0, tx_multicast_packets=50, tx_packets=68}
status              : {driver_name=net_i40e, if_descr="DPDK 21.11.2 net_i40e", if_type="6", link_speed="10Gbps", max_hash_mac_addrs="0", max_mac_addrs="64", max_rx_pktlen="9018", max_rx_queues="192", max_tx_queues="192", max_vfs="0", max_vmdq_pools="32", min_rx_bufsize="1024", numa_id="0", pci-device_id="0x1572", pci-vendor_id="0x8086", port_no="0"}
type                : dpdk


[root@dell-r640-oss-14 ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether e4:43:4b:5c:96:80 brd ff:ff:ff:ff:ff:ff
    altname enp25s0f0
    inet 10.37.146.196/23 brd 10.37.147.255 scope global dynamic noprefixroute eno1
       valid_lft 23808sec preferred_lft 23808sec
3: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether e4:43:4b:5c:96:81 brd ff:ff:ff:ff:ff:ff
    altname enp25s0f1
6: enp59s0f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 98:03:9b:7f:9e:48 brd ff:ff:ff:ff:ff:ff
7: enp59s0f1np1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 98:03:9b:7f:9e:49 brd ff:ff:ff:ff:ff:ff
27: eno3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether e4:43:4b:5c:96:82 brd ff:ff:ff:ff:ff:ff
    altname enp25s0f2
100: ovs-netdev: <BROADCAST,MULTICAST,PROMISC> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 6e:21:ca:b8:4d:2c brd ff:ff:ff:ff:ff:ff
101: br-link1-p: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 9000 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 96:cf:44:f1:64:c6 brd ff:ff:ff:ff:ff:ff
    inet 152.20.0.55/24 brd 152.20.0.255 scope global noprefixroute br-link1-p
       valid_lft forever preferred_lft forever
--------------------------------------------------

The issue happens when we run the same yaml without --no-verify

[root@dell-r640-oss-14 ~]# nmstatectl apply nm_dpdk_mtu_fail.yaml 
[2023-05-02T08:16:27Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: br-link1-p, ignoring
[2023-05-02T08:16:27Z INFO  nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
[2023-05-02T08:16:27Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: ovs-netdev, ignoring
[2023-05-02T08:16:27Z INFO  nmstate::nispor::show] Got unsupported interface ovs-netdev type Tun
[2023-05-02T08:16:27Z INFO  nmstate::nm::show] Got unsupported interface type tun: br-link1-p, ignoring
[2023-05-02T08:16:27Z INFO  nmstate::query_apply::net_state] Created checkpoint /org/freedesktop/NetworkManager/Checkpoint/62
[2023-05-02T08:16:27Z INFO  nmstate::nm::query_apply::profile] Modifying connection UUID Some("84ed59f4-1096-46af-a8b3-6c8a46556214"), ID Some("br-link1-br"), type Some("ovs-bridge") name Some("br-link1")
[2023-05-02T08:16:27Z INFO  nmstate::nm::query_apply::profile] Modifying connection UUID Some("98be57a2-d427-4828-bac9-301deac30f30"), ID Some("br-link1-p-port"), type Some("ovs-port") name Some("br-link1-p")
[2023-05-02T08:16:27Z INFO  nmstate::nm::query_apply::profile] Modifying connection UUID Some("fd97d1dd-a3d2-4450-8f3b-555097d487cf"), ID Some("dpdk1-port"), type Some("ovs-port") name Some("dpdk1")
[2023-05-02T08:16:27Z INFO  nmstate::nm::query_apply::profile] Modifying connection UUID Some("26d81440-7a45-4437-b408-052ee8802f26"), ID Some("br-link1-p-if"), type Some("ovs-interface") name Some("br-link1-p")
[2023-05-02T08:16:27Z INFO  nmstate::nm::query_apply::profile] Modifying connection UUID Some("09b06874-e62c-481f-b850-1f14f889b22c"), ID Some("dpdk1-if"), type Some("ovs-interface") name Some("dpdk1")
[2023-05-02T08:16:27Z INFO  nmstate::nm::query_apply::profile] Activating connection 84ed59f4-1096-46af-a8b3-6c8a46556214: br-link1/ovs-bridge
[2023-05-02T08:16:27Z INFO  nmstate::nm::query_apply::profile] Activating connection 98be57a2-d427-4828-bac9-301deac30f30: br-link1-p/ovs-port
[2023-05-02T08:16:27Z INFO  nmstate::nm::query_apply::profile] Activating connection fd97d1dd-a3d2-4450-8f3b-555097d487cf: dpdk1/ovs-port
[2023-05-02T08:16:27Z INFO  nmstate::nm::query_apply::profile] Reapplying connection 26d81440-7a45-4437-b408-052ee8802f26: br-link1-p/ovs-interface
[2023-05-02T08:16:27Z INFO  nmstate::nm::query_apply::profile] Reapplying connection 09b06874-e62c-481f-b850-1f14f889b22c: dpdk1/ovs-interface
[2023-05-02T08:16:27Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: ovs-netdev, ignoring
[2023-05-02T08:16:27Z INFO  nmstate::nispor::show] Got unsupported interface ovs-netdev type Tun
[2023-05-02T08:16:27Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: br-link1-p, ignoring
[2023-05-02T08:16:27Z INFO  nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
[2023-05-02T08:16:27Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: br-link1.interface.bridge desire '{"options":{"stp":false,"rstp":false,"mcast-snooping-enable":false,"fail-mode":"standalone","datapath":"netdev"},"port":[{"name":"br-link1-p"},{"name":"dpdk1"}]}', current 'null'
[2023-05-02T08:16:28Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: ovs-netdev, ignoring
[2023-05-02T08:16:28Z INFO  nmstate::nispor::show] Got unsupported interface ovs-netdev type Tun
[2023-05-02T08:16:28Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: br-link1-p, ignoring
[2023-05-02T08:16:28Z INFO  nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
[2023-05-02T08:16:28Z INFO  nmstate::nm::show] Got unsupported interface type tun: br-link1-p, ignoring
[2023-05-02T08:16:28Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: br-link1-p.interface.mtu desire '9000', current 'null'
[2023-05-02T08:16:29Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: br-link1-p, ignoring
[2023-05-02T08:16:29Z INFO  nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
[2023-05-02T08:16:29Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: ovs-netdev, ignoring
[2023-05-02T08:16:29Z INFO  nmstate::nispor::show] Got unsupported interface ovs-netdev type Tun
[2023-05-02T08:16:29Z INFO  nmstate::nm::show] Got unsupported interface type tun: br-link1-p, ignoring
[2023-05-02T08:16:29Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: br-link1-p.interface.mtu desire '9000', current 'null'
[2023-05-02T08:16:30Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: ovs-netdev, ignoring
[2023-05-02T08:16:30Z INFO  nmstate::nispor::show] Got unsupported interface ovs-netdev type Tun
[2023-05-02T08:16:30Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: br-link1-p, ignoring
[2023-05-02T08:16:30Z INFO  nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
[2023-05-02T08:16:30Z INFO  nmstate::nm::show] Got unsupported interface type tun: br-link1-p, ignoring
[2023-05-02T08:16:30Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: br-link1-p.interface.mtu desire '9000', current 'null'
[2023-05-02T08:16:31Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: ovs-netdev, ignoring
[2023-05-02T08:16:31Z INFO  nmstate::nispor::show] Got unsupported interface ovs-netdev type Tun
[2023-05-02T08:16:31Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: br-link1-p, ignoring
[2023-05-02T08:16:31Z INFO  nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
[2023-05-02T08:16:31Z INFO  nmstate::nm::show] Got unsupported interface type tun: br-link1-p, ignoring
[2023-05-02T08:16:31Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: br-link1-p.interface.mtu desire '9000', current 'null'
[2023-05-02T08:16:33Z INFO  nmstate::nm::query_apply::profile] Modifying connection UUID Some("84ed59f4-1096-46af-a8b3-6c8a46556214"), ID Some("br-link1-br"), type Some("ovs-bridge") name Some("br-link1")
[2023-05-02T08:16:33Z INFO  nmstate::nm::query_apply::profile] Modifying connection UUID Some("98be57a2-d427-4828-bac9-301deac30f30"), ID Some("br-link1-p-port"), type Some("ovs-port") name Some("br-link1-p")
[2023-05-02T08:16:33Z INFO  nmstate::nm::query_apply::profile] Modifying connection UUID Some("fd97d1dd-a3d2-4450-8f3b-555097d487cf"), ID Some("dpdk1-port"), type Some("ovs-port") name Some("dpdk1")
[2023-05-02T08:16:33Z INFO  nmstate::nm::query_apply::profile] Modifying connection UUID Some("26d81440-7a45-4437-b408-052ee8802f26"), ID Some("br-link1-p-if"), type Some("ovs-interface") name Some("br-link1-p")
[2023-05-02T08:16:33Z INFO  nmstate::nm::query_apply::profile] Modifying connection UUID Some("09b06874-e62c-481f-b850-1f14f889b22c"), ID Some("dpdk1-if"), type Some("ovs-interface") name Some("dpdk1")
[2023-05-02T08:16:33Z INFO  nmstate::nm::query_apply::profile] Activating connection 84ed59f4-1096-46af-a8b3-6c8a46556214: br-link1/ovs-bridge
[2023-05-02T08:16:33Z INFO  nmstate::nm::query_apply::profile] Activating connection 98be57a2-d427-4828-bac9-301deac30f30: br-link1-p/ovs-port
[2023-05-02T08:16:33Z INFO  nmstate::nm::query_apply::profile] Activating connection fd97d1dd-a3d2-4450-8f3b-555097d487cf: dpdk1/ovs-port
[2023-05-02T08:16:33Z INFO  nmstate::nm::query_apply::profile] Reapplying connection 26d81440-7a45-4437-b408-052ee8802f26: br-link1-p/ovs-interface
[2023-05-02T08:16:33Z INFO  nmstate::nm::query_apply::profile] Reapplying connection 09b06874-e62c-481f-b850-1f14f889b22c: dpdk1/ovs-interface
[2023-05-02T08:16:33Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: br-link1-p, ignoring
[2023-05-02T08:16:33Z INFO  nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
[2023-05-02T08:16:33Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: ovs-netdev, ignoring
[2023-05-02T08:16:33Z INFO  nmstate::nispor::show] Got unsupported interface ovs-netdev type Tun
[2023-05-02T08:16:33Z INFO  nmstate::nm::show] Got unsupported interface type tun: br-link1-p, ignoring
[2023-05-02T08:16:33Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: br-link1.interface.bridge.port desire '[{"name":"br-link1-p"},{"name":"dpdk1"}]', current '[{"name":"dpdk1"}]'
[2023-05-02T08:16:34Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: ovs-netdev, ignoring
[2023-05-02T08:16:34Z INFO  nmstate::nispor::show] Got unsupported interface ovs-netdev type Tun
[2023-05-02T08:16:34Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: br-link1-p, ignoring
[2023-05-02T08:16:34Z INFO  nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
[2023-05-02T08:16:34Z INFO  nmstate::nm::show] Got unsupported interface type tun: br-link1-p, ignoring
[2023-05-02T08:16:34Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: br-link1-p.interface.mtu desire '9000', current 'null'
[2023-05-02T08:16:35Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: br-link1-p, ignoring
[2023-05-02T08:16:35Z INFO  nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
[2023-05-02T08:16:35Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: ovs-netdev, ignoring
[2023-05-02T08:16:35Z INFO  nmstate::nispor::show] Got unsupported interface ovs-netdev type Tun
[2023-05-02T08:16:35Z INFO  nmstate::nm::show] Got unsupported interface type tun: br-link1-p, ignoring
[2023-05-02T08:16:35Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: br-link1-p.interface.mtu desire '9000', current 'null'
[2023-05-02T08:16:36Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: br-link1-p, ignoring
[2023-05-02T08:16:36Z INFO  nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
[2023-05-02T08:16:36Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: ovs-netdev, ignoring
[2023-05-02T08:16:36Z INFO  nmstate::nispor::show] Got unsupported interface ovs-netdev type Tun
[2023-05-02T08:16:37Z INFO  nmstate::nm::show] Got unsupported interface type tun: br-link1-p, ignoring
[2023-05-02T08:16:37Z INFO  nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: br-link1-p.interface.mtu desire '9000', current 'null'
[2023-05-02T08:16:38Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: br-link1-p, ignoring
[2023-05-02T08:16:38Z INFO  nmstate::nispor::show] Got unsupported interface br-link1-p type Tun
[2023-05-02T08:16:38Z INFO  nmstate::nispor::base_iface] Got unsupported interface type Tun: ovs-netdev, ignoring
[2023-05-02T08:16:38Z INFO  nmstate::nispor::show] Got unsupported interface ovs-netdev type Tun
[2023-05-02T08:16:38Z INFO  nmstate::nm::show] Got unsupported interface type tun: br-link1-p, ignoring
[2023-05-02T08:16:38Z INFO  nmstate::query_apply::net_state] Rollbacked to checkpoint /org/freedesktop/NetworkManager/Checkpoint/62
NmstateError: VerificationError: Verification failure: br-link1-p.interface.mtu desire '9000', current 'null'


Version-Release number of selected component (if applicable):

[root@dell-r640-oss-14 ~]# nmstatectl --version
nmstatectl 2.2.9
[root@dell-r640-oss-14 ~]# nmcli -v
nmcli tool, version 1.43.1-31667.copr.8e17e0c0bd.el9

Comment 1 Gris Ge 2023-05-04 10:38:48 UTC
The root cause here is when using `datapath: netdev` in OVS, the ovs internal interface will be based on `tun` interface. Nmstate should merge information on `tun` interface in kernel and `ovs-interface` interface in OVS daemon userspace.

Comment 2 Gris Ge 2023-05-04 10:39:45 UTC
To reproduce this problem, simply apply this state:

```yml
---
interfaces:
- name: ovs0
  type: ovs-interface
  ipv4:
    enabled: true
    address:
      - ip: 192.168.9.9
        prefix-length: 24
- name: br0
  type: ovs-bridge
  state: up
  bridge:
    options:
      datapath: "netdev"
    port:
    - name: ovs0
    - name: ovs1
ovs-db:
  other_config:
    dpdk-init: false
```

Comment 3 Gris Ge 2023-05-05 08:48:32 UTC
Patch send to upstream: https://github.com/nmstate/nmstate/pull/2336

Comment 4 Gris Ge 2023-05-05 08:58:37 UTC
Scratch build is https://people.redhat.com/fge/BZ_2192544/

Comment 15 errata-xmlrpc 2023-11-07 08:24:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (nmstate bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6323


Note You need to log in before you can comment on or make changes to this bug.