config/sysinv/sysinv/sysinv/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
..
agent Revert "Report port and device inventory after the worker manifest" 2024-02-15 23:58:42 +00:00
api Merge "Add mgmt_ipsec flag handling" 2024-03-06 18:55:18 +00:00
cert_alarm Change cert-alarm service audit behavior 2024-03-05 12:52:18 -05:00
cert_mon Merge "Disable cert-mon audit for subclouds being rehomed" 2023-11-09 21:37:53 +00:00
cmd Add log messages to IPSec Auth Server and Client 2024-02-02 14:58:03 -03:00
common Merge "Fix delete process to apps that have charts disabled" 2024-03-07 13:43:22 +00:00
conductor Merge "Fix delete process to apps that have charts disabled" 2024-03-07 13:43:22 +00:00
db New RESTful API and DB schema for network to address-pools. 2024-03-06 07:34:14 -03:00
helm Merge "Fix delete process to apps that have charts disabled" 2024-03-07 13:43:22 +00:00
ipsec_auth Add mgmt_ipsec flag handling 2024-03-06 11:45:13 -03:00
loads Update extract playbooks target directory 2023-05-02 13:50:36 +00:00
objects New RESTful API and DB schema for network to address-pools. 2024-03-06 07:34:14 -03:00
openstack Restore openstack/common/context file 2023-05-24 12:43:16 +00:00
puppet Use correct hiera file for downgrade 2024-03-11 13:19:37 +00:00
tests Merge "Update system:node clusterrolebinding for new host" 2024-03-07 00:04:53 +00:00
zmq_rpc New RESTful API and DB schema for network to address-pools. 2024-03-06 07:34:14 -03:00
__init__.py Fix tox certificate issues in python2 2021-11-18 15:14:51 -06:00
_i18n.py Eliminate sdist step from sysinv zuul 2021-04-12 09:34:17 -05:00
netconf.py Fix bad syntax in requirements.txt file 2021-09-14 09:15:56 -05:00
sanity_coverage.py Fix tox-docs failing sphinx 2022-05-31 13:56:30 +00:00
version.py Remove python2 jobs from zuul for this repo 2023-02-07 19:36:45 +00:00