config/sysinv
Fabiano Correa Mercer 8a18249fda Use correct hiera file for downgrade
During an upgrade abort scenario where both
controllers are already upgraded to release N+1,
a potential issue arises.
Release N+1 utilizes a new hieradata file named
hostname-X.yaml, while release N uses the older
ip.yaml.
Controller-0 must be downgraded first, making
controller-1 the active node.
However, controller-1 attempts to update the
hieradata file at
/opt/platform/puppet/<Release N>/.../controller-0.yaml
This file doesn't exist because release N uses ip.yaml
Solution:
The system needs to identify this downgrade scenario
and update the correct hieradata file for release N:
/opt/platform/puppet/<Release N>/hieradata/<ip>.yaml

Tests Done:
AIO-DX IPv6 fresh install
AIO-DX IPv6 upgrade abort


Story: 2010722
Task: 49692

Change-Id: I848543e7606ddc5bb24ddadb07a7a74d56126044
Signed-off-by: Fabiano Correa Mercer <fabiano.correamercer@windriver.com>
2024-03-11 13:19:37 +00:00
..
cert-alarm Update debian package versions to use git commits 2023-02-10 20:11:06 +00:00
cert-mon Update debian package versions to use git commits 2023-02-10 20:11:06 +00:00
cgts-client New RESTful API and DB schema for network to address-pools. 2024-03-06 07:34:14 -03:00
ipsec-auth Add log messages to IPSec Auth Server and Client 2024-02-02 14:58:03 -03:00
sysinv Use correct hiera file for downgrade 2024-03-11 13:19:37 +00:00
sysinv-agent Update debian package versions to use git commits 2023-02-10 20:11:06 +00:00