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

Bug 1668486

Summary: [RFE] make ironic-python-agent RHEL 8 compatible
Product: Red Hat OpenStack Reporter: Dan Sneddon <dsneddon>
Component: openstack-ironic-python-agentAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: high Docs Contact:
Priority: high    
Version: 15.0 (Stein)CC: bfournie, dtantsur, mburns, racedoro, rhos-maint, sasha, slinaber
Target Milestone: Upstream M2Keywords: FutureFeature, Triaged
Target Release: 15.0 (Stein)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-ironic-python-agent-3.6.1-0.20190606180412.a29a279.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-21 11:19:59 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:

Description Dan Sneddon 2019-01-22 21:02:41 UTC
Description of problem:
The Ironic Python Agent does not include the new network-scripts RPM by 

Version-Release number of selected component (if applicable):
Stein/OSP 15

How reproducible:
100%

Steps to Reproduce:
1. Build Ironic Python Agent image on RHEL 8 without any additional packages
2. Deploy IPA to a remote node via PXE boot to perform inspection

Actual results:
The networking does not function in the IPA image.

Expected results:
The IPA image should obtain an IP address through DHCP and contact the IPA server API to report introspection results.

Additional info:
The network service has been deprecated for RHEL 8 and is not enabled by default. In order to restore legacy functionality, the network-scripts package must be installed and the network service must be enabled.

We may not need to enable legacy network scripts if we can modify the network configuration inside the IPA image. Adding "NM_CONTROLLED=yes" to the ifcfg files will cause NetworkManager to be used instead of the network service.

Comment 3 Bob Fournier 2019-02-06 17:37:48 UTC
The RHEL 8 fix to use a single partition (#1a in Comment 2) is tracked here - https://bugzilla.redhat.com/show_bug.cgi?id=1673094.

Comment 6 Bob Fournier 2019-03-10 16:26:06 UTC
Moving this bug to POST as the fix to use network-scripts has been added to IPA.  The additional changes to use diskiamge_builder with RHEL 8 is being handled by ReleaseDelivery.

Comment 7 Bob Fournier 2019-06-06 14:22:01 UTC
Testing can be handled by any regression tests that use ironic-python-agent in OSP-15.

Comment 9 Alexander Chuzhoy 2019-08-30 18:54:20 UTC
Environment:
rhosp-director-images-ipa-x86_64-15.0-20190822.1.el8ost.noarch

Confirmed that ironic-python-agent.initramfs has in etc/redhat-release:
Red Hat Enterprise Linux release 8.0 (Ootpa)

Comment 13 errata-xmlrpc 2019-09-21 11:19:59 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, 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/RHEA-2019:2811

Comment 14 Red Hat Bugzilla 2023-09-14 04:45:27 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days