Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-17302

configure-network service fails when `edpm_network_config_update: true` and `edpm_network_config_nmstate: true` and no changes in config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • rhos-18.0.11
    • None
    • os-net-config
    • None
    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • os-net-config-18.0.1-18.0.20250612114745.22b9a65
    • os-net-config-18.0.1-18.0.20250612114745.22b9a65
    • rhos-dfg-nfv
    • None
    • Critical

      To Reproduce Steps to reproduce the behavior:

      1. Install os-net-config-18.0.1-18.0.20250321064807.22b9a65.el9osttrunk (or deploy the dataplane with that version installed)
      2. Set `edpm_network_config_update: true` and `edpm_network_config_nmstate: true`
      3. Re-apply the OpenStackDataPlaneDeployment
        oc delete -f ci-framework-data/artifacts/kustomize_deploy/deployment.yaml
        oc apply -f ci-framework-data/artifacts/kustomize_deploy/deployment.yaml
        
      4. Deployment stops when configure-network service is executed:
        [zuul@controller-0 ~]$ oc get pod -l app=openstackansibleee
        NAME                                                      READY   STATUS      RESTARTS   AGE
        bootstrap-edpm-deployment-openstack-edpm-vbbfr            0/1     Completed   0          26m
        configure-network-edpm-deployment-openstack-edpm-7tv5s    0/1     Error       0          12m
        configure-network-edpm-deployment-openstack-edpm-88czp    0/1     Error       0          11m
        configure-network-edpm-deployment-openstack-edpm-fttbk    0/1     Error       0          7m22s
        configure-network-edpm-deployment-openstack-edpm-kn8b7    0/1     Error       0          23m
        configure-network-edpm-deployment-openstack-edpm-q4v2m    0/1     Error       0          10m
        configure-network-edpm-deployment-openstack-edpm-rnsvb    0/1     Error       0          12m
        configure-network-edpm-deployment-openstack-edpm-twqb7    0/1     Error       0          113s
        configure-ovs-dpdk-edpm-deployment-openstack-edpm-qhr5b   0/1     Completed   0          24m
        download-cache-edpm-deployment-openstack-edpm-2z79w       0/1     Completed   0          25m
        reboot-os-edpm-deployment-openstack-edpm-v7bww            0/1     Completed   0          24m
        
      5. Error in log:
        [cloud-admin@compute-0 ~]$ tail -20 /var/log/os-net-config.log 
        state: absent
        type: ovs-interface
        
        2025-06-05 16:21:39.083 ERROR os_net_config.main ***Failed to configure with nmstate provider***
        Absent/Down interface br-int/ovs-interface still found as OvsInterface(OvsInterface { base: BaseInterface { name: "br-int", profile_name: None, description: None, iface_type: OvsInterface, driver: None, state: Down, identifier: None, mac_address: Some("6E:00:0F:AD:2E:1B"), permanent_mac_address: None, mtu: Some(1500), min_mtu: None, max_mtu: None, wait_ip: None, ipv4: Some(InterfaceIpv4 { enabled: false, enabled_defined: true, dhcp: Some(false), dhcp_client_id: None, addresses: Some([]), auto_dns: None, auto_gateway: None, auto_routes: None, auto_table_id: None, allow_extra_address: None, auto_route_metric: None, dhcp_send_hostname: None, dhcp_custom_hostname: Some(""), dns: None, rules: None }), ipv6: Some(InterfaceIpv6 { enabled: false, enabled_defined: true, dhcp: None, dhcp_duid: None, autoconf: None, addr_gen_mode: None, addresses: None, auto_dns: None, auto_gateway: None, auto_routes: None, auto_table_id: None, allow_extra_address: None, auto_route_metric: None, token: Some("::"), dhcp_send_hostname: None, dhcp_custom_hostname: Some(""), dns: None, rules: None }), mptcp: Some(MptcpConfig { address_flags: Some([]) }), controller: Some("br-int"), accept_all_mac_addresses: Some(true), copy_mac_from: None, ovsdb: Some(OvsDbIfaceConfig { external_ids: Some({}), other_config: Some({}) }), ieee8021x: None, lldp: None, ethtool: Some(EthtoolConfig { pause: None, feature: Some(EthtoolFeatureConfig { data: {"rx-gro": true, "tx-scatter-gather-fraglist": true, "tx-tcp-ecn-segmentation": false, "tx-tcp-mangleid-segmentation": false, "tx-nocache-copy": false, "rx-gro-list": false, "tx-tcp-segmentation": false, "tx-tcp6-segmentation": false, "tx-vlan-stag-hw-insert": true, "rx-udp-gro-forwarding": false, "tx-vlan-hw-insert": true, "tx-generic-segmentation": true, "tx-checksum-ip-generic": true} }), coalesce: Some(EthtoolCoalesceConfig { adaptive_rx: None, adaptive_tx: None, pkt_rate_high: None, pkt_rate_low: None, rx_frames: Some(0), rx_frames_high: None, rx_frames_irq: None, rx_frames_low: None, rx_usecs: None, rx_usecs_high: None, rx_usecs_irq: None, rx_usecs_low: None, sample_interval: None, stats_block_usecs: None, tx_frames: None, tx_frames_high: None, tx_frames_irq: None, tx_frames_low: None, tx_usecs: None, tx_usecs_high: None, tx_usecs_irq: None, tx_usecs_low: None }), ring: None, fec: None }), dispatch: Some(DispatchConfig { post_activation: Some(""), post_deactivation: Some("") }), controller_type: Some(OvsBridge), up_priority: 0, routes: None, _other: {} }, patch: None, dpdk: None })
        2025-06-05 16:21:39.087 ERROR os_net_config.common.log_exceptions Traceback (most recent call last):
          File "/bin/os-net-config", line 10, in <module>
            sys.exit(main())
          File "/usr/lib/python3.9/site-packages/os_net_config/cli.py", line 391, in main
            pf_files_changed = provider.apply(cleanup=opts.cleanup,
          File "/usr/lib/python3.9/site-packages/os_net_config/impl_nmstate.py", line 2321, in apply
            self.cleanup_all_ifaces()
          File "/usr/lib/python3.9/site-packages/os_net_config/impl_nmstate.py", line 712, in cleanup_all_ifaces
            netapplier.apply(state, verify_change=True)
          File "/usr/lib/python3.9/site-packages/libnmstate/netapplier.py", line 32, in apply
            return apply_net_state(
          File "/usr/lib/python3.9/site-packages/libnmstate/clib_wrapper.py", line 133, in apply_net_state
            raise map_error(err_kind, err_msg)
        libnmstate.error.NmstateVerificationError: Absent/Down interface br-int/ovs-interface still found as OvsInterface(OvsInterface { base: BaseInterface { name: "br-int", profile_name: None, description: None, iface_type: OvsInterface, driver: None, state: Down, identifier: None, mac_address: Some("6E:00:0F:AD:2E:1B"), permanent_mac_address: None, mtu: Some(1500), min_mtu: None, max_mtu: None, wait_ip: None, ipv4: Some(InterfaceIpv4 { enabled: false, enabled_defined: true, dhcp: Some(false), dhcp_client_id: None, addresses: Some([]), auto_dns: None, auto_gateway: None, auto_routes: None, auto_table_id: None, allow_extra_address: None, auto_route_metric: None, dhcp_send_hostname: None, dhcp_custom_hostname: Some(""), dns: None, rules: None }), ipv6: Some(InterfaceIpv6 { enabled: false, enabled_defined: true, dhcp: None, dhcp_duid: None, autoconf: None, addr_gen_mode: None, addresses: None, auto_dns: None, auto_gateway: None, auto_routes: None, auto_table_id: None, allow_extra_address: None, auto_route_metric: None, token: Some("::"), dhcp_send_hostname: None, dhcp_custom_hostname: Some(""), dns: None, rules: None }), mptcp: Some(MptcpConfig { address_flags: Some([]) }), controller: Some("br-int"), accept_all_mac_addresses: Some(true), copy_mac_from: None, ovsdb: Some(OvsDbIfaceConfig { external_ids: Some({}), other_config: Some({}) }), ieee8021x: None, lldp: None, ethtool: Some(EthtoolConfig { pause: None, feature: Some(EthtoolFeatureConfig { data: {"rx-gro": true, "tx-scatter-gather-fraglist": true, "tx-tcp-ecn-segmentation": false, "tx-tcp-mangleid-segmentation": false, "tx-nocache-copy": false, "rx-gro-list": false, "tx-tcp-segmentation": false, "tx-tcp6-segmentation": false, "tx-vlan-stag-hw-insert": true, "rx-udp-gro-forwarding": false, "tx-vlan-hw-insert": true, "tx-generic-segmentation": true, "tx-checksum-ip-generic": true} }), coalesce: Some(EthtoolCoalesceConfig { adaptive_rx: None, adaptive_tx: None, pkt_rate_high: None, pkt_rate_low: None, rx_frames: Some(0), rx_frames_high: None, rx_frames_irq: None, rx_frames_low: None, rx_usecs: None, rx_usecs_high: None, rx_usecs_irq: None, rx_usecs_low: None, sample_interval: None, stats_block_usecs: None, tx_frames: None, tx_frames_high: None, tx_frames_irq: None, tx_frames_low: None, tx_usecs: None, tx_usecs_high: None, tx_usecs_irq: None, tx_usecs_low: None }), ring: None, fec: None }), dispatch: Some(DispatchConfig { post_activation: Some(""), post_deactivation: Some("") }), controller_type: Some(OvsBridge), up_priority: 0, routes: None, _other: {} }, patch: None, dpdk: None })
        NoneType: None
        

        Expected behavior

      • configure-network service configured without errors

      Bug impact

      • Network configuration cannot be changed/updated

      Known workaround

      • No workaounds known.

              ksundara@redhat.com Karthik Sundaravel
              rdiazcam@redhat.com Ricardo Diaz Campos
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: