Description of problem: In both /usr/share/openstack-tripleo-common/image-yaml/overcloud-hardened-images-python3.yaml and /usr/share/openstack-tripleo-common/image-yaml/overcloud-hardened-images-uefi-python3.yaml the files will change the interface name during deployment to eth0,eth1,eth2.. This will effect os-net-config tasks since the names doesn't match the one we have in the templates. so the default files should have this element "interface-names" included to avoid this issue. Version-Release number of selected component (if applicable): rpm -qi openstack-tripleo-common Name : openstack-tripleo-common Version : 11.4.1 Release : 1.20210104173607.el8ost Architecture: noarch Install Date: Tue 23 Mar 2021 11:57:08 AM EDT Group : Unspecified Size : 331477 License : ASL 2.0 Signature : RSA/SHA256, Wed 24 Feb 2021 05:57:32 PM EST, Key ID 199e2f91fd431d51 Source RPM : openstack-tripleo-common-11.4.1-1.20210104173607.el8ost.src.rpm Build Date : Wed 24 Feb 2021 11:12:48 AM EST Build Host : s390-070.build.eng.bos.redhat.com Relocations : (not relocatable) Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> Vendor : Red Hat, Inc. URL : https://github.com/rdo-management/tripleo-common Summary : Python library for code used by TripleO projects. Description : Python library for code used by TripleO projects. How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The upstream versions of these files has the stable-interface-names element, I'll make sure they get downstream.
Can you elaborate on what you're actually doing with building custom images? When running the image build command, overcloud-hardened-images-python3.yaml should be paired with: overcloud-hardened-images-rhel8.yaml, which *does* include the interface-names element overcloud-hardened-images-uefi-python3.yaml should be paired with: overcloud-hardened-images-uefi-rhel8.yaml which is missing the interface-names element So we might only need a fix to overcloud-hardened-images-uefi-rhel8.yaml
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 (Red Hat OpenStack Platform 16.1.7 (Train) 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-2021:3762
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days