config/sysinv/sysinv/sysinv/sysinv/puppet
Fabiano Mercer 8c18514af3 Keep platform-nfs-ip for upgrade process
The platform-nfs-ip service is not necessary for fresh installs
because it is just an alias for the controller IP.
But for old releases like StarlingX rel. 6 or 7 the
platform-nfs-ip uses a specific IP, If for some reason an error
occurs during the upgrade process, the upgrade will be aborted
and the nodes will downgrade to the older release again.
At this moment the nodes will try to communicate with the
previous platform-nfs-ip IP configured in /etc/hosts.
But if the active controller is using the new Release
this IP doesn't exist anymore and the downgrade will fail.
For this reason the platform-nfs-ip service will be available
just for upgrade operations and will be deprovisioned for fresh
installs or at the end of the upgrade process
( upgrade-activate phase ).

Test plan
PASS Fresh install on AIO-SX
     Fresh install on AIO-DX
PASS Upgrade AIO-DX system from CENTOS Rel 7 to DEBIAN Rel 8
PASS Reboot controller-0 during upgrade of AIO-DX
     controller-1 was the active one with the new release ( Rel 8 )
     controller-0 using old release.
     reboot controller-0 and check if it could connect to
     controller-1 using old platform-nfs-ip.
PASS Upgrade-abort during AIO-DX upgrade
     controller-1 was the active controller and already upgraded
     controller-0 was upgraded but locked.
     Abort the upgrade and downgrade to old release ( Rel 7 )

Partial-Bug: #2012387
Depends-On: https://review.opendev.org/c/starlingx/stx-puppet/+/878122

Signed-off-by: Fabiano Mercer <fabiano.correamercer@windriver.com>
Change-Id: Ia7217544f2c954a83af71d488e0f2d722e17ec64
2023-03-22 15:24:14 -03:00
..
__init__.py Open vSwitch integration with host and configuration framework 2018-06-14 16:03:52 -05:00
barbican.py Initial integration of DC with admin network 2023-01-10 16:47:02 +00:00
base.py Initial integration of DC with admin network 2023-01-10 16:47:02 +00:00
ceph.py System mode modify fails for duplex systems 2023-02-08 11:02:45 -03:00
certalarm.py Add cert-alarm service 2021-07-22 08:29:23 -04:00
certmon.py Setup certmon service configuration 2020-07-20 13:16:54 -04:00
common.py Add runtime reconfiguration of kubelet 2022-06-09 17:59:35 -04:00
dcdbsync.py Initial integration of DC with admin network 2023-01-10 16:47:02 +00:00
dcmanager.py Configure dcmanager user for endpoint_cache 2020-06-18 22:00:20 -04:00
dcorch.py Fix vim endpoint port for SystemController 2022-12-20 16:04:00 -04:00
device.py Fix yaml generation for fpga_fec_device_config 2022-05-06 11:02:31 -04:00
dockerdistribution.py Support authenticated registries 2019-10-02 11:30:43 -04:00
fm.py Initial integration of DC with admin network 2023-01-10 16:47:02 +00:00
helm.py Configure SQL as helm storage backend 2021-01-08 01:05:07 -05:00
horizon.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
interface.py Update network interface name length limit, change VLAN OS interface 2023-02-13 14:05:20 -03:00
inventory.py Initial integration of DC with admin network 2023-01-10 16:47:02 +00:00
keystone.py Merge "Fix Keystone cache settings" 2023-02-14 14:34:45 +00:00
kubernetes.py Create cluster-host-ipAttach all nodes to the cluster host network 2023-01-24 22:31:37 +00:00
ldap.py Configure sssd for subcloud to access central openldap 2022-10-18 20:26:28 -04:00
mtce.py Cleanup ceilometer from bare metal code 2019-06-13 10:29:18 -05:00
networking.py Keep platform-nfs-ip for upgrade process 2023-03-22 15:24:14 -03:00
nfv.py Initial integration of DC with admin network 2023-01-10 16:47:02 +00:00
openstack.py Configure SQL as helm storage backend 2021-01-08 01:05:07 -05:00
ovs.py Modify OVS puppet plugin and host vswitch hugepages allocation logic 2021-12-14 14:23:32 -03:00
patching.py Initial integration of DC with admin network 2023-01-10 16:47:02 +00:00
platform.py Merge "Update kernel isolcpus boot args to isolate mananged IRQs" 2023-01-17 20:35:00 +00:00
puppet.py Copy hieradata on openstack when upgrading 2022-03-03 19:39:42 +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 Removing rpm as a dependency for sysinv 2021-11-04 11:37:15 -04:00
sssd.py Add SSSD sudo configuration in sysinv 2023-03-07 18:08:10 +00:00
storage.py Add resize to / 2023-02-09 20:12:10 -05:00