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

BZ#2315621 os-net-migration from ifcfg to nmstate failing in a ovs-dpdk + sriov deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • os-net-config
    • None
    • Important

      Description of problem:

      I have deployed a regular ovs-dpdk + sriov deployment using ifcfg and once the deployment is up, I executed the following command to migrate to nmstate:

      os-net-config -p nmstate --purge-provider ifcfg --detailed-exit-codes --debug –
      verbose

      Migration fails, i see the following errors in os-net-config log:

      2024-09-27 13:37:53.203 ERROR os_net_config.execute stderr : WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.
      2024-09-27 13:37:53.422 ERROR os_net_config.execute stderr : WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.
      2024-09-27 13:37:57.271 ERROR os_net_config.execute stderr : WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.
      2024-09-27 13:37:57.519 ERROR os_net_config.execute stderr : WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.
      2024-09-27 13:38:24.540 ERROR os_net_config.impl_nmstate.nmstate_apply **** Verification Error *****
      2024-09-27 13:38:24.541 ERROR os_net_config.impl_nmstate.nmstate_apply Error seen while applying the nmstate templates Verification failure: br-link0.interface.ovs-db.other_config.mac-table-size desire '"50000"', current 'null'
      2024-09-27 13:38:24.633 ERROR os_net_config.impl_nmstate.nmstate_apply Error seen while applying the nmstate templates The next hop interface of desired Route 'destination: 0.0.0.0/0 next-hop-interface: eno2 next-hop-address: 192.168.60.1' has been marked as IPv4 disabled
      2024-09-27 13:38:24.905 ERROR os_net_config.impl_nmstate.apply Failure(s) occurred when applying configuration
      2024-09-27 13:38:24.905 ERROR os_net_config.impl_nmstate.apply Verification failure: br-link0.interface.ovs-db.other_config.mac-table-size desire '"50000"', current 'null'
      2024-09-27 13:38:24.905 ERROR os_net_config.impl_nmstate.apply The next hop interface of desired Route 'destination: 0.0.0.0/0 next-hop-interface: eno2 next-hop-address: 192.168.60.1' has been marked as IPv4 disabled
      2024-09-27 13:38:25.416 ERROR os_net_config.main **Failed to configure with nmstate provider**
      2024-09-27 13:38:31.904 ERROR os_net_config.execute stderr : WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.
      2024-09-27 13:38:32.025 ERROR os_net_config.execute stderr : WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.
      2024-09-27 13:38:32.154 ERROR os_net_config.execute stderr : WARN : [ifup] You are using 'ifup' script provid

      Version-Release number of selected component (if applicable):
      I deployed current available puddle (RHOS-17.1-RHEL-9-20240909.n.1) and update os-net-config in overcloud image manually before overcloud deployment. I used
      git switch -c stable/wallaby origin/stable/wallaby

      How reproducible:
      Deploy ovs-dpdk sriov deployment using ifcfg
      Migrate once the deployment is done
      os-net-config -p nmstate --purge-provider ifcfg --detailed-exit-codes --debug –
      verbose

      Actual results:
      Migration does not happen as some errors are reported

      Expected results:
      Migration to nmstate should happen

      Additional info:

              ksundara@redhat.com Karthik Sundaravel
              jira-bugzilla-migration RH Bugzilla Integration
              Eran Kuris Eran Kuris
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: