Skip to content

Conversation

@asraf-khan
Copy link

APIC Run output for positive case where All matched model Nodes HW Changes bit meet the requirement:

python aci-preupgrade-validation-script.py -d HW_changes_bit_check -t "14.2(5a)"
==== 2025-12-03T02-14-58-0800, Script Version v4.0.0 ====

!!!! 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(0.167)
Lowest Switch Version...6.1(4h)

Target APIC version is overridden to 14.2(5a)

Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 Progress: |----------------------------------------------------------------------------------------------------| 0/1 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/preupgrade_validator_2025-12-03T02-14-58-0800.tgz

==== Script Version v4.0.0 FIN ====

APIC Run output for Negative scenario where All Matched model Nodes HW Changes bit doesn't meet the requirement:

python aci-preupgrade-validation-script.py -d HW_changes_bit_check -t "14.2(5a)"
==== 2025-12-03T02-22-05-0800, Script Version v4.0.0 ====

!!!! 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(0.167)
Lowest Switch Version...6.1(4h)

Target APIC version is overridden to 14.2(5a)

Progress: |████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 checks completed

=== Check Result (failed only) ===

[Check 1/1] HW Changes bit check for specific node model... FAIL - OUTAGE WARNING!!
Node Model HW Changes Bits Recommended Action


ifav42-spine6 N9K-C9316D-GX 0x3 This switch need Manual Upgrade (CSCvv04251). Contact TAC for Support
ifav42-spine8 N9K-C93600CD-GX 0x2 This switch need Manual Upgrade (CSCvv04251). Contact TAC for Support
ifav42-spine9 N9K-C93600CD-GX 0x2 This switch need Manual Upgrade (CSCvv04251). Contact TAC for Support

Recommended Action: Contact Cisco TAC for Support before upgrade
Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#HW_changes_bit_check

=== 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

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/preupgrade_validator_2025-12-03T02-22-05-0800.tgz

==== Script Version v4.0.0 FIN ====


return Result(result=result, headers=headers, data=data, recommended_action=recommended_action, doc_url=doc_url)


Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic is not following format of the old script. please follow the same structure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants