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

Bug 2312564

Summary: os-net-config change is incompatible with RHEL8
Product: Red Hat OpenStack Reporter: Lon Hohberger <lhh>
Component: os-net-configAssignee: RHOSP:NFV_Eng <rhosp-nfv-int>
Status: CLOSED ERRATA QA Contact: Miguel Angel Nieto <mnietoji>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 17.1 (Wallaby)CC: bfournie, dhughes, ekuris, eshulman, gurpsing, jslagle, mariel, mburns, njohnston, rhosp-nfv-int, rjarry
Target Milestone: z4Keywords: AutomationBlocker, Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: os-net-config-14.2.1-17.1.20240917140802.61d7bd7.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-21 09:42:46 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 Lon Hohberger 2024-09-16 15:15:11 UTC
Description of problem: This recent change to os-net-config in stable/wallaby is not compatible with RHEL8:

https://github.com/os-net-config/os-net-config/commit/4eea5c068f033412ed184436b711e001d9c591f1

Version-Release number of selected component (if applicable): os-net-config-14.2.1-17.1.20240827103748.61d7bd7.el8ost

How reproducible: 100%

Steps to Reproduce:
1. Do something with os-net-config

Actual results:

Traceback (most recent call last):
  File "/bin/os-net-config", line 6, in <module>
    from os_net_config.cli import main
  File "/usr/lib/python3.6/site-packages/os_net_config/cli.py", line 29, in <module>"
    from os_net_config import impl_nmstate
  File "/usr/lib/python3.6/site-packages/os_net_config/impl_nmstate.py", line 24, in <module>"
    from libnmstate.schema import Ethtool
  ImportError: cannot import name 'Ethtool'

Additional info: python3-libnmstate is sub-rpm of nmstate, which is version 1.0.2 on RHEL8 and 2.2.33 on RHEL9.  Since nmstate internals are tied to NetworkManager, it is unlikely to be safe to rebase it in RHEL8.

Comment 1 Lon Hohberger 2024-09-16 15:18:28 UTC
This is blocking RHEL8 promotions.

Comment 19 errata-xmlrpc 2024-11-21 09:42:46 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 (RHOSP 17.1.4 bug fix and enhancement advisory), 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-2024:9974

Comment 20 Red Hat Bugzilla 2025-03-22 04:25:34 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days