Description of problem:
The Ironic Python Agent does not include the new network-scripts RPM by
Version-Release number of selected component (if applicable):
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
The networking does not function in the IPA image.
The IPA image should obtain an IP address through DHCP and contact the IPA server API to report introspection results.
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.
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.
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.
Testing can be handled by any regression tests that use ironic-python-agent in OSP-15.
Confirmed that ironic-python-agent.initramfs has in etc/redhat-release:
Red Hat Enterprise Linux release 8.0 (Ootpa)
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.