Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2232350

Summary: [RFE] python3.11 stack in RHEL 9: Add Python 3.11 subpackage python-netaddr-0.8.0-12.1.el9 to be usable in ansible-core-2.14
Product: Red Hat Enterprise Linux 9 Reporter: Markus Schibli <mschibli>
Component: ansible-coreAssignee: Dimitri Savineau <dsavinea>
Status: CLOSED NEXTRELEASE QA Contact: Matt Clay <mclay>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.2CC: cstratak, jwboyer, rjeffman
Target Milestone: rcKeywords: FutureFeature
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-21 13:50:03 UTC Type: Story
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Markus Schibli 2023-08-16 12:44:13 UTC
Description of problem:
Ansible playbooks using the ansible.utils.netaddr use the python netaddr module. For some reason python 3.11 is default and is missing this module as RPM (Only 3.9). We see, there is an updated package upstream: python-netaddr-0.8.0-12.1.el9


Version-Release number of selected component (if applicable):
python-netaddr-0.8.0-12.1.el9

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
the python-netaddr-0.8.0-12.1.el9 is missing in the python3.11 stack for RHEL9

Expected results:


Additional info:
In upstream in the changelog we see, that python-netaddr-0.8.0-12.1.el9 is added

Information for build python-netaddr-0.8.0-12.1.el9

Changelog	* Thu Mar 02 2023 Martin Necas <mnecas> - 0.8.0-12.1
                - Add Python 3.11 subpackage to be usable in ansible-core-2.14

Comment 5 Dimitri Savineau 2023-08-21 13:50:03 UTC
The netaddr library is mandatory by the ansible.utils collection.

We don't provide any RPM packages for dependencies needed by ansible collections but only for ansible-core.

However, starting with RHEL 9.3, we've decided to fallback from python 3.11 to 3.9 so using the python3-netaddr RPM package will solve the issue.