Added new script validation for CSCwt38698#384
Conversation
|
All check run with matched version: fab3-apic1# python3 aci-preupgrade-validation-Asraf-script.py -t "6.2(1g)" !!!! Check https://github.com/datacenter/ACI-Pre-Upgrade-Validation-Script for Latest Release !!!! To use a non-default Login Domain, enter apic#DOMAIN\USERNAME Gathering Node Information... Current APIC Version...6.2(2.141) Target APIC version is overridden to 6.2(1g) Collecting VPC Node IDs...101, 102 Progress: |████████████████████████████████████████████████████████████████████████████████████████████████████| 96/96 checks completed === Check Result (failed only) === [Check 2/96] Gen 1 switch compatibility... FAIL - UPGRADE FAILURE!! 6.2(1g) 104 N9K-C9396PX Not supported on 5.x+ Recommended Action: Select supported target version or upgrade hardware [Check 4/96] APIC CIMC Compatibility... FAIL - UPGRADE FAILURE!! node-1 APIC-SERVER-M3 4.0(1a) 4.3(2.240077), 4.3(2.250016) Recommended Action: Check Release note of APIC Model/version for latest recommendations. [Check 7/96] NTP Status... FAIL - UPGRADE FAILURE!! 1 1 Recommended Action: Not Synchronized. Check NTP config and NTP server reachability. [Check 10/96] Switch Upgrade Group Guidelines... No upgrade groups found! MANUAL CHECK REQUIRED n9000-16.2(1g) Not Found Not Found Recommended Action: Upload the missing 32 or 64 bit Switch Image to the Firmware repository [Check 14/96] Fabric Link Redundancy... FAIL - OUTAGE WARNING!! FAB3-L1 FAB3-S1 Only one spine adjacency Recommended Action: Connect the leaf switch(es) to multiple spine switches for redundancy [Check 36/96] VPC-paired Leaf switches... MANUAL CHECK REQUIRED 103 FAB3-L3 Recommended Action: Determine if dataplane redundancy is available if these nodes go down. [Check 38/96] L3Out MTU... MANUAL CHECK REQUIRED Tenant1_test l3out1 l3out1_nodeProfile test 1 101 eth1/5 sub-interface vlan-140 192.168.4.1/24 inherit (9000) Recommended Action: Verify that these MTUs match with connected devices [Check 56/96] Global AES Encryption... FAIL - UPGRADE FAILURE!! 6.2(1g) Disabled Upgrade Failure Recommended Action: [Check 78/96] Nexus 950X FM or LC Might Fail to boot after reload... MANUAL CHECK REQUIRED 1 201 fcslot-2 N9K-C9504-FM-E SAL2039VBBX Recommended Action: Run the SN string through the Serial Number Validation tool (linked within doc url) to check for FN64251. [Check 89/96] Micron SSD Lifetime Validation... FAIL - OUTAGE WARNING!! 1 101 Micron_M600_MTFDDAT064MBF Recommended Action: Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#micron-ssd-lifetime-validation [Check 90/96] APIC Target version image and MD5 hash... FAIL - UPGRADE FAILURE!! 1 fab3-apic1 6.2(1g) - image not found Recommended Action: Delete the firmware from APIC and re-download === Summary Result === PASS : 61 ==== Script Version v4.1.0-dev FIN ==== |
Pytest Results:anazar@anazar-ifav-bld:/data/ssd/anazar/repo/ACI-Pre-Upgrade-Validation-Script/tests/checks/micron_ssd_lifetime_check$ pytest test_micron_ssd_lifetime_check.py::test_logic[icurl_outputs0-None-MANUAL CHECK REQUIRED-expected_data0] ============================================================================================== 8 passed in 0.17s ============================================================================================== |
| [N9K-C9408 with more than 5 N9K-X9400-16W LEMs][d31] | CSCws82819 | :white_check_mark: | :no_entry_sign: | ||
| [Multi-Pod Modular Spine Bootscript File][d32] | CSCwr66848 | :white_check_mark: | :no_entry_sign: | ||
| [Inband Management Policy Misconfiguration][d33]| CSCwd40071 | :white_check_mark: | :no_entry_sign: | ||
| [Micron SSD Lifetime Validation][d34] | CSCwt38698 | :white_check_mark: | :no_entry_sign: |
There was a problem hiding this comment.
correct the naming to match "False Micron SSD failure_fault"
| Contact Cisco TAC to remove any identified misconfigured objects before performing the upgrade to prevent policyelem crashes. | ||
| The [CSCwd40071][68] defect affects versions 5.2(5c) and later with a fix available in 6.0(1g). However, the issue will only be triggered during Apic upgrades crossing 6.0(4c) due to [CSCwh80837][67]. | ||
|
|
||
| ### Micron SSD Lifetime Validation |
There was a problem hiding this comment.
same here. correct the heading of bug.
|
|
||
|
|
||
|
|
||
| @check_wrapper(check_title='Micron SSD Lifetime Validation') |
There was a problem hiding this comment.
correct the heading as to match Bug info ""False Micron SSD failure_fault""
|
|
||
|
|
||
| @check_wrapper(check_title='Micron SSD Lifetime Validation') | ||
| def micron_ssd_lifetime_check(tversion, **kwargs): |
There was a problem hiding this comment.
correct the heading to match "False Micron SSD failure_fault"
| headers = ['Pod', 'Node', 'Model'] | ||
| data = [] | ||
| recommended_action = ( | ||
| '\n\tRun the SSD Lifetime Validation script on all identified nodes before upgrading.\n' |
There was a problem hiding this comment.
Run the SSD Lifetime Validation script manually on all identified nodes before upgrading
| if not eqptFlashs: | ||
| return Result(result=PASS, msg='No Micron drives found in fabric.') | ||
|
|
||
| for eqptFlash in eqptFlashs: |
There was a problem hiding this comment.
missing logic for fault "Flash worn out fault (F3073)". please check for fault and raise alarm if logic match for all 3 condition.
without tversion:
fab3-apic1# python3 aci-preupgrade-validation-Asraf-script.py -d micron_ssd_lifetime_check
==== 2026-05-15T10-49-48+0000, Script Version v4.1.0-dev ====
!!!! Check https://github.com/datacenter/ACI-Pre-Upgrade-Validation-Script for Latest Release !!!!
To use a non-default Login Domain, enter apic#DOMAIN\USERNAME
Enter username for APIC login : admin
Enter password for corresponding User :
Gathering Node Information...
Current APIC Version...6.2(2.141)
Lowest Switch Version...4.2(3j)
Gathering APIC Versions from Firmware Repository...
What is the Target Version? : 1
You have chosen version "6.0(9e)"
Collecting VPC Node IDs...101, 102
Progress: |████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 checks completed
=== Check Result (failed only) ===
=== Summary Result ===
PASS : 0
FAIL - OUTAGE WARNING!! : 0
FAIL - UPGRADE FAILURE!! : 0
MANUAL CHECK REQUIRED : 0
POST UPGRADE CHECK REQUIRED : 0
N/A : 1
ERROR !! : 0
TOTAL : 1
==== Script Version v4.1.0-dev FIN ====
fab3-apic1#
with tversion non matching condition:
fab3-apic1# python3 aci-preupgrade-validation-Asraf-script.py -d micron_ssd_lifetime_check -t "6.2(1c)"
==== 2026-05-15T10-50-51+0000, Script Version v4.1.0-dev ====
!!!! Check https://github.com/datacenter/ACI-Pre-Upgrade-Validation-Script for Latest Release !!!!
To use a non-default Login Domain, enter apic#DOMAIN\USERNAME
Enter username for APIC login : admin
Enter password for corresponding User :
Gathering Node Information...
Current APIC Version...6.2(2.141)
Lowest Switch Version...4.2(3j)
Target APIC version is overridden to 6.2(1c)
Collecting VPC Node IDs...101, 102
Progress: |████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 checks completed
=== Check Result (failed only) ===
=== Summary Result ===
PASS : 0
FAIL - OUTAGE WARNING!! : 0
FAIL - UPGRADE FAILURE!! : 0
MANUAL CHECK REQUIRED : 0
POST UPGRADE CHECK REQUIRED : 0
N/A : 1
ERROR !! : 0
TOTAL : 1
==== Script Version v4.1.0-dev FIN ====
fab3-apic1#
with tversion matching & micron drive not found:
python3 aci-preupgrade-validation-Asraf-script.py -d micron_ssd_lifetime_check -t "6.2(1g)"
==== 2026-05-15T04-58-43+0000, Script Version v4.1.0-dev ====
!!!! Check https://github.com/datacenter/ACI-Pre-Upgrade-Validation-Script for Latest Release !!!!
To use a non-default Login Domain, enter apic#DOMAIN\USERNAME
Enter username for APIC login : admin
Enter password for corresponding User :
Gathering Node Information...
Current APIC Version...6.2(2.141)
Lowest Switch Version...4.2(3j)
Target APIC version is overridden to 6.2(1g)
Collecting VPC Node IDs...101, 102
Progress: |████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 checks completed
=== Check Result (failed only) ===
=== Summary Result ===
PASS : 1
FAIL - OUTAGE WARNING!! : 0
FAIL - UPGRADE FAILURE!! : 0
MANUAL CHECK REQUIRED : 0
POST UPGRADE CHECK REQUIRED : 0
N/A : 0
ERROR !! : 0
TOTAL : 1
Pre-Upgrade Check Complete.
Next Steps: Address all checks flagged as FAIL, ERROR or MANUAL CHECK REQUIRED
Result output and debug info saved to below bundle for later reference.
Attach this bundle to Cisco TAC SRs opened to address the flagged checks.
Result Bundle: /data/techsupport/Asraf/preupgrade_validator_2026-05-15T04-58-43+0000.tgz
==== Script Version v4.1.0-dev FIN ====
fab3-apic1#
with tversion matched with micron drive found:
python3 aci-preupgrade-validation-Asraf-script.py -d micron_ssd_lifetime_check -t "6.2(1g)"
==== 2026-05-15T10-51-41+0000, Script Version v4.1.0-dev ====
!!!! Check https://github.com/datacenter/ACI-Pre-Upgrade-Validation-Script for Latest Release !!!!
To use a non-default Login Domain, enter apic#DOMAIN\USERNAME
Enter username for APIC login : admin
Enter password for corresponding User :
Gathering Node Information...
Current APIC Version...6.2(2.141)
Lowest Switch Version...4.2(3j)
Target APIC version is overridden to 6.2(1g)
Collecting VPC Node IDs...101, 102
Progress: |████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 checks completed
=== Check Result (failed only) ===
[Check 1/1] Micron SSD Lifetime Validation... FAIL - OUTAGE WARNING!!
Pod Node Model
1 101 Micron_M600_MTFDDAT064MBF
1 102 Micron_1100_MTFDDAV256TBN
1 103 Micron_M600_MTFDDAT064MBF
1 201 Micron_M600_MTFDDAT256MBF
Recommended Action:
Run the SSD Lifetime Validation script on all identified nodes before upgrading.
Script location: https://github.com/datacenter/aci-tac-scripts/tree/main/SSD%20Lifetime%20Validation
Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#micron-ssd-lifetime-validation
=== Summary Result ===
PASS : 0
FAIL - OUTAGE WARNING!! : 1
FAIL - UPGRADE FAILURE!! : 0
MANUAL CHECK REQUIRED : 0
POST UPGRADE CHECK REQUIRED : 0
N/A : 0
ERROR !! : 0
TOTAL : 1
==== Script Version v4.1.0-dev FIN ====
fab3-apic1#