config/sysinv/sysinv/sysinv/sysinv
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
..
agent Fix no-member for tpm config manifests 2023-03-15 14:49:45 +00:00
api Merge "Admin network address pool robustness" 2023-03-15 14:13:59 +00:00
cert_alarm Update severity check and cert-alarm override 2023-01-17 13:45:16 -03:00
cert_mon Update cert-mon dc token cache post network config 2023-03-14 11:48:56 -03:00
cmd Replace openstack/context library by oslo_context 2023-02-24 16:17:30 -03:00
common Merge "Admin network address pool robustness" 2023-03-15 14:13:59 +00:00
conductor Keep platform-nfs-ip for upgrade process 2023-03-22 15:24:14 -03:00
db Admin network address pool robustness 2023-03-13 16:18:42 +00:00
helm Replace openstack/context library by oslo_context 2023-02-24 16:17:30 -03:00
objects Remove ObjectListBase from sysinv 2023-03-15 14:49:39 +00:00
openstack Update cert-mon dc token cache post network config 2023-03-14 11:48:56 -03:00
puppet Keep platform-nfs-ip for upgrade process 2023-03-22 15:24:14 -03:00
tests Merge "Remove ObjectListBase from sysinv" 2023-03-15 15:31:25 +00:00
zmq_rpc Replace openstack/context library by oslo_context 2023-02-24 16:17:30 -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