config/sysinv/sysinv/sysinv/sysinv
Angie Wang 47a03edc3b AIO-DX: Controller-1 fails to be unlocked after downgrade
During stx4.0 to stx5.0 upgrade, controller-1 fails to be unlocked
after downgrade due to the incorrect disk partition and physical
volume information stored in stx4.0 DB that causes the puppet
manifest apply failed during unlock.

This is because cgts-vg size is decreased in stx5.0 and after
controller-1 is upgraded to stx5.0, additional partition and pv
are created at stx5.0 side to match the size in stx4.0. However,
controller-0 is still running stx4.0 DB and it gets updated with
the new created partition and pv info sent from controller-1 sysinv
agent audit.

This commit updates to ignore the disk partition and physical volume
information sent back from a different version during upgrade.

Tested:
- AIO-DX upgrade from stx4.0 to stx5.0, verified upgrade is completed
- controller-1 downgrade after it is upgraded and unlocked, verified
  upgrade abort is completed

Change-Id: I5d7858e4b29d096437a5ddf94cd78c74fadfacad
Closes-Bug: 1924786
Signed-off-by: Angie Wang <angie.wang@windriver.com>
(cherry picked from commit a24cd707a5)
2021-04-20 17:42:28 +00:00
..
agent SR-IOV device plugin support for FPGA FEC devices 2020-06-16 15:37:40 -04:00
api Handle N3000 FPGA reset 2020-06-23 17:33:33 -04:00
cmd sysinv FPGA agent initial commit 2020-06-07 23:54:01 -06:00
common Skip copying the rbd provisioner secret for platform apps 2020-06-26 17:54:41 -04:00
conductor AIO-DX: Controller-1 fails to be unlocked after downgrade 2021-04-20 17:42:28 +00:00
db SR-IOV device plugin support for FPGA FEC devices 2020-06-16 15:37:40 -04:00
fpga_agent Send new PCI info for FPGA virtual devices as well 2020-06-23 11:01:36 -06:00
helm Provide plugin access beyond application removal 2020-06-24 06:54:55 -04:00
objects SR-IOV device plugin support for FPGA FEC devices 2020-06-16 15:37:40 -04:00
openstack Deprecate sysinv.openstack.common.db in favor of oslo_db 2020-02-07 11:55:49 -06:00
puppet Merge "kubelet does not start due to garbled cpulist" 2020-06-29 13:36:42 +00:00
tests Fix N3000 FPGA SR-IOV config for split NICs 2020-06-27 12:22:26 -04:00
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
_i18n.py Specify an upper limit for flake8 and pycodestyle 2020-05-12 14:57:04 -05:00
netconf.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
sanity_coverage.py Sysinv tox updates. Prepare for bandit reports and test reports 2018-06-29 13:25:09 -04:00
version.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00