Bug 1947082

Summary: Interface name change during deployment
Product: Red Hat OpenStack Reporter: Andrew Mercer <amercer>
Component: openstack-tripleo-commonAssignee: Steve Baker <sbaker>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16.1 (Train)CC: aschultz, jschluet, mburns, oblaut, sbaker, slinaber
Target Milestone: z7Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-common-11.4.1-1.20210604023306.75bd92a.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-09 20:18:39 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 Andrew Mercer 2021-04-07 16:02:02 UTC
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:

Comment 1 Steve Baker 2021-04-13 19:49:39 UTC
The upstream versions of these files has the stable-interface-names element, I'll make sure they get downstream.

Comment 4 Steve Baker 2021-04-13 23:07:21 UTC
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

Comment 23 errata-xmlrpc 2021-12-09 20:18:39 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 (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

Comment 24 Red Hat Bugzilla 2023-09-15 01:04:46 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days