update/sw-patch/cgcs-patch
Heitor Matsui b770638c79 Restrict legacy patch check to stx-8 or less
During USM upgrade to stx-10, when the second controller
is upgraded, the active controller legacy patch controller
change from-release Applied patches to Partial-Apply state,
because the sysroot ostree commit-id changes on the second
controller and doesn't match the previous patches commits
anymore.

This commit restricts legacy patch API checks/changes to
hosts running stx-8 or less, where legacy patch API is valid.
On post stx-8 releases USM is the new patch API.

Test Plan
PASS: AIO-SX stx-8 -> stx-10 upgrade,
      verify patch state is consistent
PASS: AIO-SX stx-10 -> stx-8 rollback,
      verify patch state is consistent
PASS: STD, same as previous TCs

Closes-bug: 2093202

Change-Id: I1e79d354cafd9d6db12c6b1d0164bd4000137c23
Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
2025-01-07 19:20:12 -03:00
..
cgcs_make_patch make_patch: add tombstone for missing commit 2024-11-05 17:43:45 -03:00
cgcs_patch Restrict legacy patch check to stx-8 or less 2025-01-07 19:20:12 -03:00
cgcs_patch_id Cleanup tox targets for debian patching 2022-04-28 21:35:30 +00:00
.coveragerc Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
.stestr.conf Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
LICENSE Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
pylint.rc Fix failing zuul job caused by new pylint version 2023-02-07 17:55:28 +00:00
requirements.txt Debian: Remove sysinv references from sw-patch 2022-08-11 18:26:59 +00:00
setup.cfg Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
setup.py Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
test-requirements.txt Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
tox.ini Update tox.ini to work with tox 4 2022-12-23 16:01:02 +00:00