config/sysinv/sysinv/sysinv/sysinv/puppet
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
..
__init__.py Open vSwitch integration with host and configuration framework 2018-06-14 16:03:52 -05:00
barbican.py Use FQDN for MGMT network 2023-10-31 20:45:40 -04:00
base.py New RESTful API and DB schema for network to address-pools. 2024-03-06 07:34:14 -03:00
ceph.py System mode modify fails for duplex systems 2023-02-08 11:02:45 -03:00
certalarm.py Use FQDN for MGMT network 2023-10-31 20:45:40 -04:00
certmon.py Use FQDN for MGMT network 2023-10-31 20:45:40 -04:00
common.py Block host-unlock till apparmor manifest completes 2023-11-16 02:49:42 -05:00
dcdbsync.py Use FQDN for MGMT network 2023-10-31 20:45:40 -04:00
dcmanager.py Use FQDN for MGMT network 2023-10-31 20:45:40 -04:00
dcorch.py Use FQDN for MGMT network 2023-10-31 20:45:40 -04:00
device.py Revert "Remove Nova prefix from constants" 2023-09-22 05:20:10 +00:00
dockerdistribution.py Support authenticated registries 2019-10-02 11:30:43 -04:00
fm.py Remove the use of the mgmt_ip field in host table 2023-11-01 10:30:21 -04:00
horizon.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
interface.py New RESTful API and DB schema for network to address-pools. 2024-03-06 07:34:14 -03:00
inventory.py Use FQDN for MGMT network 2023-10-31 20:45:40 -04:00
keystone.py Remove the use of the mgmt_ip field in host table 2023-11-01 10:30:21 -04:00
kubernetes.py Remove support for ignoring k8s isolated CPUs in sysinv 2024-02-14 17:47:15 +00:00
ldap.py Upgrade health check for Platform Issuer 2024-02-27 16:05:22 -04:00
mtce.py Use FQDN for MGMT network 2023-10-31 20:45:40 -04:00
networking.py PTP: disable E810 UART interfaces on GNSS receiver 2024-01-24 14:15:10 -03:00
nfv.py Initial integration of DC with admin network 2023-01-10 16:47:02 +00:00
openstack.py Use FQDN for MGMT network 2023-10-31 20:45:40 -04:00
ovs.py Customize sysinv dpdk_elf_file for OVS-DPDK 2023-06-29 20:16:43 -03:00
patching.py Use FQDN for MGMT network 2023-10-31 20:45:40 -04:00
platform.py Persist iSCSI Initiator Name, NVMe hostid and hostnqn [1/2] 2024-02-08 15:20:38 -03:00
platform_firewall.py New RESTful API and DB schema for network to address-pools. 2024-03-06 07:34:14 -03:00
puppet.py Use correct hiera file for downgrade 2024-03-11 13:19:37 +00:00
rook.py Introduce rook ceph 2021-01-27 06:46:02 +08:00
service_parameter.py Kubernetes custom configuration support: runtime. 2022-09-13 15:50:22 -04:00
smapi.py Remove the use of the mgmt_ip field in host table 2023-11-01 10:30:21 -04:00
sssd.py Add SSSD ldap password expiration control 2023-08-14 13:04:01 +00:00
storage.py Add resize to / 2023-02-09 20:12:10 -05:00
usm.py Enable puppet hiera setup for USM 2023-07-19 18:48:53 +00:00