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

Bug 2303654

Summary: [FFU 16.2 to 17.1 ] Upgrade truncates the nic config file for custom role in overcloud-deploy network-environment file.
Product: Red Hat OpenStack Reporter: Paul Jany <pgodwin>
Component: python-tripleoclientAssignee: Juan Badia Payno <jbadiapa>
Status: CLOSED ERRATA QA Contact: Archana Singh <arcsingh>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: jbadiapa, jpretori, jslagle, mariel, mburns
Target Milestone: z4Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tripleoclient-16.5.1-17.1.20240913100806.f3599d0.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-21 09:32:30 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 Paul Jany 2024-08-08 11:21:25 UTC
Description of problem:
While upgrade from 16.2 to 17.1.3, the nic config file name got truncated. 

Version-Release number of selected component (if applicable):
16.2.x

How reproducible:
The network-environment file in 16.2 is [1]
[1]
- templates/network-environment.yaml
OS::TripleO::ComputeDELL::Net::SoftwareConfig: /home/stack/templates/compute_dell.yaml

- After upgrade the overcloud-deploy folder shows that the nic-config file name is truncated as below. [ ll is missing ]

$ cat /home/stack/overcloud-deploy/overcloud/overcloud-network-environment.yaml
parameter_defaults:
  ComputeDELLNetworkConfigTemplate: /home/stack/overcloud-deploy/overcloud/nic-configs/compute_de.j2
...


$ less /home/stack/overcloud-deploy/overcloud/nic-configs/compute_de.j2
/home/stack/overcloud-deploy/overcloud/nic-configs/compute_de.j2: No such file or directory

But the actual file with correct name exist:
ls -l /home/stack/overcloud-deploy/overcloud/nic-configs/
total 20
-rw-r--r--. 1 stack stack 1907 May 27 15:54 compute_dell.j2


Expected results:
Truncate should not happen

Comment 19 errata-xmlrpc 2024-11-21 09:32:30 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 (Moderate: RHOSP 17.1.4 (openstack-tripleo-common and python-tripleoclient) security update), 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/RHSA-2024:9990