Bug 2303654 - [FFU 16.2 to 17.1 ] Upgrade truncates the nic config file for custom role in overcloud-deploy network-environment file.
Summary: [FFU 16.2 to 17.1 ] Upgrade truncates the nic config file for custom role in ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 17.1
Assignee: Juan Badia Payno
QA Contact: Archana Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-08 11:21 UTC by Paul Jany
Modified: 2024-11-21 09:32 UTC (History)
5 users (show)

Fixed In Version: python-tripleoclient-16.5.1-17.1.20240913100806.f3599d0.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-21 09:32:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-32618 0 None None None 2024-08-21 08:15:39 UTC
Red Hat Knowledge Base (Solution) 7083843 0 None None None 2024-09-04 13:41:36 UTC
Red Hat Product Errata RHSA-2024:9990 0 None None None 2024-11-21 09:32:32 UTC

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


Note You need to log in before you can comment on or make changes to this bug.