Load-import '--inactive' is not rejected when importing a non-upgradable load
Based on HDL of TCPG-1096, we can import only upgradable loads using --inactive parameter, e.g. SystemController is running 22.12P1 and the upgradable versions are 21.12P9 and 21.12P10 and later.
Severity
<Minor: System/Feature is usable with minor issue>
Steps to Reproduce
Import 21.12P8
system --os-region-name SystemController load-import --inactive <.iso> <.sig>
Expected Behavior
Load-import with 21.12P8 should be rejected.
Actual Behavior
We can import 21.12P8
Reproducibility
100% reproducible
System Configuration
DC
lab: DC21
DM files - N/A (this issue is not related to system deployment)
Load info (eg: 2022-03-10_20-00-07)
22.12P1 + commits for TCPG-1096
Last Pass
new test scenario
Timestamp/Logs
sysadmin@controller-0 ~(keystone_admin)]$ system load-list
----------------------------
id state software_version
----------------------------
1 active 22.12
8 inactive 21.12
----------------------------
sysadmin@controller-0 ~(keystone_admin)]$ sw-patch query
Patch ID RR Release Patch State
===================== == ======= ===========
WRCP_21.12_PATCH_0001 Y 21.12 Committed
WRCP_21.12_PATCH_0002 Y 21.12 Committed
WRCP_21.12_PATCH_0003 Y 21.12 Committed
WRCP_21.12_PATCH_0004 Y 21.12 Committed
WRCP_21.12_PATCH_0005 Y 21.12 Committed
WRCP_21.12_PATCH_0006 Y 21.12 Committed
WRCP_21.12_PATCH_0007 Y 21.12 Committed
WRCP_21.12_PATCH_0008 Y 21.12 Committed
WRCP_22.12_PATCH_0001 Y 22.12 Committed
Brief Description
Load-import '--inactive' is not rejected when importing a non-upgradable load
Based on HDL of TCPG-1096, we can import only upgradable loads using --inactive parameter, e.g. SystemController is running 22.12P1 and the upgradable versions are 21.12P9 and 21.12P10 and later.
Severity
<Minor: System/Feature is usable with minor issue>
Steps to Reproduce
Import 21.12P8
system --os-region-name SystemController load-import --inactive <.iso> <.sig>
Expected Behavior
Load-import with 21.12P8 should be rejected.
Actual Behavior
We can import 21.12P8
Reproducibility
100% reproducible
System Configuration
DC
lab: DC21
DM files - N/A (this issue is not related to system deployment)
Load info (eg: 2022-03- 10_20-00- 07)
22.12P1 + commits for TCPG-1096
Last Pass
new test scenario
Timestamp/Logs
sysadmin@ controller- 0 ~(keystone_admin)]$ system load-list ------- ------- -------
-------
id state software_version ------- ------- -------
-------
1 active 22.12 ------- ------- -------
8 inactive 21.12
-------
sysadmin@ controller- 0 ~(keystone_admin)]$ sw-patch query ======= ======= == ======= =========== 12_PATCH_ 0001 Y 21.12 Committed 12_PATCH_ 0002 Y 21.12 Committed 12_PATCH_ 0003 Y 21.12 Committed 12_PATCH_ 0004 Y 21.12 Committed 12_PATCH_ 0005 Y 21.12 Committed 12_PATCH_ 0006 Y 21.12 Committed 12_PATCH_ 0007 Y 21.12 Committed 12_PATCH_ 0008 Y 21.12 Committed 12_PATCH_ 0001 Y 22.12 Committed
Patch ID RR Release Patch State
=======
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_22.
Alarms
n/a
Test Activity
Feature Testing
Workaround
N/A