Skip to content

Added validation for multipod_modular_spine_bootscript_check - CSCwr66848#365

Merged
takishida merged 9 commits into
datacenter:v4.1.0-devfrom
asraf-khan:issue4-CSCwr66848
Apr 4, 2026
Merged

Added validation for multipod_modular_spine_bootscript_check - CSCwr66848#365
takishida merged 9 commits into
datacenter:v4.1.0-devfrom
asraf-khan:issue4-CSCwr66848

Conversation

@asraf-khan
Copy link
Copy Markdown
Contributor

Multipod is not enabled :

python3 aci-preupgrade-validation-Asraf-script.py -d multipod_modular_spine_bootscript_check -t "6.1(5e)"
   ==== 2026-03-11T10-54-31+0000, Script Version v4.0.1  ====

!!!! 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.0(2j)
Lowest Switch Version...4.2(3j)

Target APIC version is overridden to 6.1(5e)

Collecting VPC Node IDs...

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

   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-03-11T10-54-31+0000.tgz

==== Script Version v4.0.1 FIN ====

Not matched tversion:

aci-preupgrade-validation-Asraf-script.py -d multipod_modular_spine_bootscript_check -t "6.1(5h)"
   ==== 2026-03-11T10-58-01+0000, Script Version v4.0.1  ====

!!!! 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.0(2j)
Lowest Switch Version...4.2(3j)

Target APIC version is overridden to 6.1(5h)

Collecting VPC Node IDs...

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

   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-03-11T10-58-01+0000.tgz

==== Script Version v4.0.1 FIN ====

Modular spine not found:

python aci-preupgrade-validation-script.py -d multipod_modular_spine_bootscript_check -t "6.1(4h)"
   ==== 2026-03-11T11-01-52+0000, Script Version v4.0.1  ====

!!!! 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(1.124)
Lowest Switch Version...6.2(1.110)

Target APIC version is overridden to 6.1(4h)

Collecting VPC Node IDs...111, 112, 113, 114

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

   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_2026-03-11T11-01-52+0000.tgz

==== Script Version v4.0.1 FIN ====

bootscript not found:

python3 aci-preupgrade-validation-Asraf-script.py -d multipod_modular_spine_bootscript_check -t "6.1(5e)"
   ==== 2026-03-11T10-55-14+0000, Script Version v4.0.1  ====

!!!! 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.0(2j)
Lowest Switch Version...4.2(3j)

Target APIC version is overridden to 6.1(5e)

Collecting VPC Node IDs...

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

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

[Check 1/1] Multi-Pod modular spine bootscript check...                                                            FAIL - OUTAGE WARNING!!
Pod ID  Node ID  Node Name  Model      Bootscript Present  Bootstrap file Present
------  -------  ---------  -----      ------------------  ----------------------
1       201      FAB3-S1    N9K-C9504  No                  Yes

Recommended Action: Bootscript is missing, delete bootstrap.xml from bootflash
Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#multipod-modular-spine-…

=== 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/Asraf/preupgrade_validator_2026-03-11T10-55-14+0000.tgz

==== Script Version v4.0.1 FIN ====

Both bootscript and bootstrap file not found:

python3 aci-preupgrade-validation-Asraf-script.py -d multipod_modular_spine_bootscript_check -t "6.1(5e)"
   ==== 2026-03-11T10-57-39+0000, Script Version v4.0.1  ====

!!!! 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.0(2j)
Lowest Switch Version...4.2(3j)

Target APIC version is overridden to 6.1(5e)

Collecting VPC Node IDs...

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

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

[Check 1/1] Multi-Pod modular spine bootscript check...                                                           FAIL - UPGRADE FAILURE!!
Pod ID  Node ID  Node Name  Model      Bootscript Present  Bootstrap file Present
------  -------  ---------  -----      ------------------  ----------------------
1       201      FAB3-S1    N9K-C9504  No                  No

Recommended Action: bootscript and bootstrap.xml files are not found, Move to Fix version.
Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#multipod-modular-spine-…

=== Summary Result ===

PASS                        :  0
FAIL - OUTAGE WARNING!!     :  0
FAIL - UPGRADE FAILURE!!    :  1
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-03-11T10-57-39+0000.tgz

==== Script Version v4.0.1 FIN ====

Both bootscript & bootstrap file found:

python3 aci-preupgrade-validation-Asraf-script.py -d multipod_modular_spine_bootscript_check -t "6.1(5e)"
   ==== 2026-03-11T10-56-57+0000, Script Version v4.0.1  ====

!!!! 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.0(2j)
Lowest Switch Version...4.2(3j)

Target APIC version is overridden to 6.1(5e)

Collecting VPC Node IDs...

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-03-11T10-56-57+0000.tgz

==== Script Version v4.0.1 FIN ====

SSH error for few nodes:

python aci-preupgrade-validation-script.py -d multipod_modular_spine_bootscript_check -t "6.1(4h)"
   ==== 2026-03-11T12-01-26+0000, Script Version v4.0.1  ====

!!!! 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(1.124)
Lowest Switch Version...6.2(1.110)

Target APIC version is overridden to 6.1(4h)

Collecting VPC Node IDs...111, 112, 113, 114

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

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

[Check 1/1] Multi-Pod modular spine bootscript check...                                                                           ERROR !!
Pod ID  Node ID  Node Name       Model          Bootscript Present                  Bootstrap file Present
------  -------  ---------       -----          ------------------                  ----------------------
1       211      ifav26-spine11  N9K-C9316D-GX  Yes                                 Yes
2       212      ifav26-spine12  N9K-C9364C     SSH ERROR: failed to login to host  SSH ERROR: failed to login to host
3       213      ifav26-spine13  N9K-C9332C     SSH ERROR: failed to login to host  SSH ERROR: failed to login to host

Recommended Action: Bootscript is missing, delete bootstrap.xml from bootflash
Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#multipod-modular-spine-…

=== Summary Result ===

PASS                        :  0
FAIL - OUTAGE WARNING!!     :  0
FAIL - UPGRADE FAILURE!!    :  0
MANUAL CHECK REQUIRED       :  0
POST UPGRADE CHECK REQUIRED :  0
N/A                         :  0
ERROR !!                    :  1
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_2026-03-11T12-01-26+0000.tgz

==== Script Version v4.0.1 FIN ====

Comment thread aci-preupgrade-validation-script.py Outdated
Comment thread aci-preupgrade-validation-script.py Outdated
Comment thread aci-preupgrade-validation-script.py Outdated
Comment thread aci-preupgrade-validation-script.py Outdated
Comment thread aci-preupgrade-validation-script.py Outdated
Copy link
Copy Markdown

@lovkeshsharma702 lovkeshsharma702 left a comment

Choose a reason for hiding this comment

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

please repro this in local lab, you can change the target version as per version on lab fabric

@asraf-khan
Copy link
Copy Markdown
Contributor Author

Based on Mail conversation by Satya, i have removed target version 6.1.5 and tested script on our local lab setup tweeking the script and below are the result for the same

### Multipod not enabled:

python3 aci-preupgrade-validation-Asraf-script.py -d multipod_modular_spine_bootscript_check
==== 2026-03-16T04-36-12+0000, Script Version v4.0.1 ====

!!!! 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.0(2j)
Lowest Switch Version...4.2(3j)

Gathering APIC Versions from Firmware Repository...

What is the Target Version? : 1

You have chosen version "6.0(2j)"

Collecting VPC Node IDs...

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

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-03-16T04-36-12+0000.tgz

==== Script Version v4.0.1 FIN ====
fab3-apic1#

### both files are found:

python3 aci-preupgrade-validation-Asraf-script.py -d multipod_modular_spine_bootscript_check
==== 2026-03-16T04-50-48+0000, Script Version v4.0.1 ====

!!!! 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.0(2j)
Lowest Switch Version...4.2(3j)

Gathering APIC Versions from Firmware Repository...

What is the Target Version? : 1

You have chosen version "6.0(2j)"

Collecting VPC Node IDs...

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-03-16T04-50-48+0000.tgz

==== Script Version v4.0.1 FIN ====

### bootscript file is missing:

fab3-apic1# python3 aci-preupgrade-validation-Asraf-script.py -d multipod_modular_spine_bootscript_check
==== 2026-03-16T04-51-41+0000, Script Version v4.0.1 ====

!!!! 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.0(2j)
Lowest Switch Version...4.2(3j)

Gathering APIC Versions from Firmware Repository...

What is the Target Version? : 1

You have chosen version "6.0(2j)"

Collecting VPC Node IDs...

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

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

[Check 1/1] Multi-Pod modular spine bootscript check... FAIL - OUTAGE WARNING!!
Pod ID Node ID Node Name Model Bootscript Present Bootstrap file Present


1 201 FAB3-S1 N9K-C9504 No Yes

Recommended Action: Delete bootstrap.xml from /bootflash folder and do clean reboot
Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#multipod-modular-spine-bootscript-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/Asraf/preupgrade_validator_2026-03-16T04-51-41+0000.tgz

==== Script Version v4.0.1 FIN ====
fab3-apic1#

### both files are not found:

python3 aci-preupgrade-validation-Asraf-script.py -d multipod_modular_spine_bootscript_check
==== 2026-03-13T09-57-23+0000, Script Version v4.0.1 ====

!!!! 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.0(2j)
Lowest Switch Version...4.2(3j)

Gathering APIC Versions from Firmware Repository...

What is the Target Version? : 1

You have chosen version "6.0(2j)"

Collecting VPC Node IDs...

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

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

[Check 1/1] Multi-Pod modular spine bootscript check... FAIL - UPGRADE FAILURE!!
Pod ID Node ID Node Name Model Bootscript Present Bootstrap file Present


1 201 FAB3-S1 N9K-C9504 No No

Recommended Action: Move to Fix version.
Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#multipod-modular-spine-bootscript-check

=== Summary Result ===

PASS : 0
FAIL - OUTAGE WARNING!! : 0
FAIL - UPGRADE FAILURE!! : 1
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-03-13T09-57-23+0000.tgz

==== Script Version v4.0.1 FIN ====

Comment thread docs/docs/validations.md Outdated
Comment thread docs/docs/validations.md Outdated
Comment thread aci-preupgrade-validation-script.py Outdated
Comment thread aci-preupgrade-validation-script.py Outdated
Comment thread aci-preupgrade-validation-script.py Outdated
Comment thread docs/docs/validations.md Outdated
@asraf-khan
Copy link
Copy Markdown
Contributor Author

asraf-khan commented Mar 17, 2026

Updated result after removing bootstrap validation:

Multi pod not enabled:

python3 aci-preupgrade-validation-Asraf-script.py -d multipod_modular_spine_bootscript_check
==== 2026-03-17T04-32-14+0000, Script Version v4.0.1 ====

!!!! 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.0(2j)
Lowest Switch Version...4.2(3j)

Gathering APIC Versions from Firmware Repository...

What is the Target Version? : 1

You have chosen version "6.0(2j)"

Collecting VPC Node IDs...

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

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-03-17T04-32-14+0000.tgz

==== Script Version v4.0.1 FIN ====
fab3-apic1#

Bootscript not found:

python3 aci-preupgrade-validation-Asraf-script.py -d multipod_modular_spine_bootscript_check
==== 2026-03-17T04-35-26+0000, Script Version v4.0.1 ====

!!!! 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.0(2j)
Lowest Switch Version...4.2(3j)

Gathering APIC Versions from Firmware Repository...

What is the Target Version? : 1

You have chosen version "6.0(2j)"

Collecting VPC Node IDs...

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

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

[Check 1/1] Multi-Pod modular spine bootscript check... FAIL - OUTAGE WARNING!!
Pod ID Node ID Node Name Model Bootscript Present


1 201 FAB3-S1 N9K-C9504 No

Recommended Action: clean reboot on impacted spine
Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#multipod-modular-spine-bootscript-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/Asraf/preupgrade_validator_2026-03-17T04-35-26+0000.tgz

==== Script Version v4.0.1 FIN ====

Bootscript is present:

python3 aci-preupgrade-validation-Asraf-script.py -d multipod_modular_spine_bootscript_check
==== 2026-03-17T04-38-45+0000, Script Version v4.0.1 ====

!!!! 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.0(2j)
Lowest Switch Version...4.2(3j)

Gathering APIC Versions from Firmware Repository...

What is the Target Version? : 1

You have chosen version "6.0(2j)"

Collecting VPC Node IDs...

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-03-17T04-38-45+0000.tgz

==== Script Version v4.0.1 FIN ====
fab3-apic1#

…rade-Validation-Script into issue4-CSCwr66848
* Check NA version first
* Use VER_NOT_AFFECTED instead of raw texts
* Avoid repeating the entire fabric_nodes twice
* Check only modular spines
* Show only modular spines with missing bootscript
  Otherwise, it was unclear which spines were impacted.
* Add change tversion in recommended_action
* pytest failing to check `expected_data`
@takishida
Copy link
Copy Markdown
Collaborator

Example result outputs

[Check 1/1] Multi-Pod Modular Spine Bootscript File...                                                             FAIL - OUTAGE WARNING!!
  Pod ID  Node ID  Node Name  Model      Bootscript Present
  ------  -------  ---------  -----      ------------------
  1       201      spine201   N9K-C9504  No
  2       202      spine202   N9K-C9508  No

  Recommended Action: Change the target version to a fixed version of CSCwr66848. Or clean reboot these spines without the bootscript file before upgrade.
  Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#multi-pod-modular-spine-bootscript-file

@takishida takishida changed the base branch from master to v4.1.0-dev April 4, 2026 05:34
@takishida takishida merged commit dc09913 into datacenter:v4.1.0-dev Apr 4, 2026
2 checks passed
monrog2 added a commit that referenced this pull request May 21, 2026
* Add arg to define thread limit - to throttle concurrent API calls when required (#355)

* add `--max-threads` arg
* fix bad descriptor errs/race conditions
* update pytests

* 353 the script incorrectly detects vpc and port channel interfaces as cscwh68103 invalid fabricpathep targets (#357)

* specific testing for known failure conditions of cscwh68103 as to not catch valid scenarios

* Update aci-preupgrade-validation-script.py

mark version

* print cleanup

* fix: Add cversion check for post_upgrade_cb_check (#377)

* added validation for CFD CSCwp64296 (#307)

Added rogue ep/coop exception mac check for the CFD CSCwp64296

* Added pre-upgrade validation for N9K-C9408 with more than 6 N9K-X9400-16W LEM's for the bug CSCws82819 (#354)

* Added a new check for the bug 'CSCws82819N9K-C9408 boot loop on 16.1.2f and later with 6 or more LEMs'

* New Validation for APIC Storage Inode Usage (F4388, F4389, F4390 equipment-full) (#361)

* New Validation for APIC Storage Inode Usage (F4388, F4389, F4390 equipment-full)
* Add new exception handling of invalid query filter in `icurl` due to, for example, a non-supported fault code on older versions

* Add validation for multipod_modular_spine_bootscript_check - CSCwr66848 (#365)

* Add check for CFD - CSCwr66848

* Update pytest.yml to run on vX.Y.Z branches

* adding of cli parameters for user and password (#335)

* added cli parameter for user (-u) and password (-p) to be used in an eased way for fully automated execution of 'aci-preupgrade-validation-script.py'

* test: Add pytest

---------

Co-authored-by: Detlef Sass <detlef.sass@de.bosch.com>

* Added validation for CSCwd40071 (#332)

* Added validation for CSCwd40071

* Addressed the comments

* Added cversion for the check

* Removed empty spaces

* logic change. removed 0.0.0.0/0 and made pytest changes

* logic modified and validation.md file updated

* Added validation for CSCws84232 (#334)

* Feat:added svccoreCtrlr excessive entries check

* updated the formated json in svccore_negative.json

* Removed other PR checks

* Fix: svccoreNode mo check is updated

* Fix:update the threshold to 240

* refactor:moved to general check

* refactor:updated recommended action

* refactor:optimise the check for get the count alone

* refactor:added try catch exception for error handling

* update the threshold value for 240

* refactor:query-target was added

* refactor: removed unwanted spaces

* refactor:removed unwanted spaces in validation.md

* resolve conflict while rebasing

* resolve conflict while rebasing

* updated pytest script file

* updated validation.md

* addressed review comments

* updated validation.md

---------

Co-authored-by: takishida <38262981+takishida@users.noreply.github.com>

* set to v4.1.0

---------

Co-authored-by: tkishida <tkishida@cisco.com>
Co-authored-by: takishida <38262981+takishida@users.noreply.github.com>
Co-authored-by: psureshb <psureshb@cisco.com>
Co-authored-by: Harinadh-Saladi <hsaladi@cisco.com>
Co-authored-by: sanjanch <sanjanch@cisco.com>
Co-authored-by: asraf-khan <anazar@cisco.com>
Co-authored-by: Thatleft <detlef.sass@web.de>
Co-authored-by: Detlef Sass <detlef.sass@de.bosch.com>
Co-authored-by: veesenth_cisco <veesenth@cisco.com>
monrog2 added a commit that referenced this pull request May 21, 2026
* Add arg to define thread limit - to throttle concurrent API calls when required (#355)

* add `--max-threads` arg
* fix bad descriptor errs/race conditions
* update pytests

* 353 the script incorrectly detects vpc and port channel interfaces as cscwh68103 invalid fabricpathep targets (#357)

* specific testing for known failure conditions of cscwh68103 as to not catch valid scenarios

* Update aci-preupgrade-validation-script.py

mark version

* print cleanup

* Unsupported hardware check

* fix: Add cversion check for post_upgrade_cb_check (#377)

* added validation for CFD CSCwp64296 (#307)

Added rogue ep/coop exception mac check for the CFD CSCwp64296

* Added pre-upgrade validation for N9K-C9408 with more than 6 N9K-X9400-16W LEM's for the bug CSCws82819 (#354)

* Added a new check for the bug 'CSCws82819N9K-C9408 boot loop on 16.1.2f and later with 6 or more LEMs'

* New Validation for APIC Storage Inode Usage (F4388, F4389, F4390 equipment-full) (#361)

* New Validation for APIC Storage Inode Usage (F4388, F4389, F4390 equipment-full)
* Add new exception handling of invalid query filter in `icurl` due to, for example, a non-supported fault code on older versions

* Add validation for multipod_modular_spine_bootscript_check - CSCwr66848 (#365)

* Add check for CFD - CSCwr66848

* Update pytest.yml to run on vX.Y.Z branches

* adding of cli parameters for user and password (#335)

* added cli parameter for user (-u) and password (-p) to be used in an eased way for fully automated execution of 'aci-preupgrade-validation-script.py'

* test: Add pytest

---------

Co-authored-by: Detlef Sass <detlef.sass@de.bosch.com>

* Addressed the review comments

* Added validation for CSCwd40071 (#332)

* Added validation for CSCwd40071

* Addressed the comments

* Added cversion for the check

* Removed empty spaces

* logic change. removed 0.0.0.0/0 and made pytest changes

* logic modified and validation.md file updated

* Addressed the review comments

* Added validation for CSCws84232 (#334)

* Feat:added svccoreCtrlr excessive entries check

* updated the formated json in svccore_negative.json

* Removed other PR checks

* Fix: svccoreNode mo check is updated

* Fix:update the threshold to 240

* refactor:moved to general check

* refactor:updated recommended action

* refactor:optimise the check for get the count alone

* refactor:added try catch exception for error handling

* update the threshold value for 240

* refactor:query-target was added

* refactor: removed unwanted spaces

* refactor:removed unwanted spaces in validation.md

* resolve conflict while rebasing

* resolve conflict while rebasing

* updated pytest script file

* updated validation.md

* addressed review comments

* updated validation.md

---------

Co-authored-by: takishida <38262981+takishida@users.noreply.github.com>

* Removed gen1_switch_compatibility_check

---------

Co-authored-by: GM <monrog2@gmail.com>
Co-authored-by: Gabriel <gmonroy@cisco.com>
Co-authored-by: tkishida <tkishida@cisco.com>
Co-authored-by: takishida <38262981+takishida@users.noreply.github.com>
Co-authored-by: psureshb <psureshb@cisco.com>
Co-authored-by: Harinadh-Saladi <hsaladi@cisco.com>
Co-authored-by: sanjanch <sanjanch@cisco.com>
Co-authored-by: asraf-khan <anazar@cisco.com>
Co-authored-by: Thatleft <detlef.sass@web.de>
Co-authored-by: Detlef Sass <detlef.sass@de.bosch.com>
Co-authored-by: veesenth_cisco <veesenth@cisco.com>
monrog2 added a commit that referenced this pull request May 21, 2026
…age (#368)

* Add arg to define thread limit - to throttle concurrent API calls when required (#355)

* add `--max-threads` arg
* fix bad descriptor errs/race conditions
* update pytests

* 353 the script incorrectly detects vpc and port channel interfaces as cscwh68103 invalid fabricpathep targets (#357)

* specific testing for known failure conditions of cscwh68103 as to not catch valid scenarios

* Update aci-preupgrade-validation-script.py

mark version

* print cleanup

* Added code for CSCwo96334:/tmp directory disk space for snapshot storage

* Updated fix version

* Added clarification comment for /tmp snapshot handling

* fix: Add cversion check for post_upgrade_cb_check (#377)

* added validation for CFD CSCwp64296 (#307)

Added rogue ep/coop exception mac check for the CFD CSCwp64296

* Added pre-upgrade validation for N9K-C9408 with more than 6 N9K-X9400-16W LEM's for the bug CSCws82819 (#354)

* Added a new check for the bug 'CSCws82819N9K-C9408 boot loop on 16.1.2f and later with 6 or more LEMs'

* New Validation for APIC Storage Inode Usage (F4388, F4389, F4390 equipment-full) (#361)

* New Validation for APIC Storage Inode Usage (F4388, F4389, F4390 equipment-full)
* Add new exception handling of invalid query filter in `icurl` due to, for example, a non-supported fault code on older versions

* Add validation for multipod_modular_spine_bootscript_check - CSCwr66848 (#365)

* Add check for CFD - CSCwr66848

* Update pytest.yml to run on vX.Y.Z branches

* adding of cli parameters for user and password (#335)

* added cli parameter for user (-u) and password (-p) to be used in an eased way for fully automated execution of 'aci-preupgrade-validation-script.py'

* test: Add pytest

---------

Co-authored-by: Detlef Sass <detlef.sass@de.bosch.com>

* Corrected the typo for snapshot

---------

Co-authored-by: GM <monrog2@gmail.com>
Co-authored-by: Gabriel <gmonroy@cisco.com>
Co-authored-by: tkishida <tkishida@cisco.com>
Co-authored-by: takishida <38262981+takishida@users.noreply.github.com>
Co-authored-by: psureshb <psureshb@cisco.com>
Co-authored-by: sanjanch <sanjanch@cisco.com>
Co-authored-by: asraf-khan <anazar@cisco.com>
Co-authored-by: Thatleft <detlef.sass@web.de>
Co-authored-by: Detlef Sass <detlef.sass@de.bosch.com>
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