config/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
..
cgts-client Merge "SR-IOV device plugin support for FPGA FEC devices" 2020-06-16 21:54:28 +00:00
sysinv AIO-DX: Controller-1 fails to be unlocked after downgrade 2021-04-20 17:42:28 +00:00
sysinv-agent Add auto-versioning to starlingx/config packages 2020-05-20 14:11:21 +00:00
sysinv-fpga-agent Fix run_docker_login DNS lookup to properly handle IPv6 2020-07-06 19:14:11 -06:00