Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2315621

Summary: os-net-migration from ifcfg to nmstate failing in a ovs-dpdk + sriov deployment
Product: Red Hat OpenStack Reporter: Miguel Angel Nieto <mnietoji>
Component: os-net-configAssignee: Karthik Sundaravel <ksundara>
Status: CLOSED MIGRATED QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17.1 (Wallaby)CC: bfournie, jmarti, jslagle, ksundara, mburns, njohnston
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-10 15:55:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1645689    

Description Miguel Angel Nieto 2024-09-30 08:12:21 UTC
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: