Skip to content

Added validation for CSCws84232#334

Merged
monrog2 merged 22 commits into
datacenter:v4.1.0-devfrom
veenaskumar-cisco:CSCws84232
May 19, 2026
Merged

Added validation for CSCws84232#334
monrog2 merged 22 commits into
datacenter:v4.1.0-devfrom
veenaskumar-cisco:CSCws84232

Conversation

@veenaskumar-cisco
Copy link
Copy Markdown
Contributor

@veenaskumar-cisco veenaskumar-cisco commented Jan 23, 2026

Fixes #333

Fail logs:

    ==== 2026-01-23T10-29-58+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
Gathering Node Information...

Current APIC Version...5.3(2c)
Lowest Switch Version...5.3(2c)

Target APIC version is overridden to 6.2(1h)

Collecting VPC Node IDs...101, 102

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



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

[Check 1/1] svccoreCtrlr excessive entries check...                                                                FAIL - OUTAGE WARNING!!
  
svccoreCtrlr Object Count
  -------------------------
  250

  Recommended Action: Contact Cisco TAC for Support before upgrade
  Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#svccoreCtrlr-excessive-entries-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

@veenaskumar-cisco veenaskumar-cisco force-pushed the CSCws84232 branch 4 times, most recently from 38634fd to 7fa5de3 Compare January 23, 2026 13:12
@lovkeshsharma702
Copy link
Copy Markdown

this is not an outage warning. this will allow the upgrade to complete but GUi will be slow with defect after upgrade. So we should say MANUAL CHECK REQUIRED

Comment thread docs/docs/validations.md 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.

missing code for svccoreNode. these 2 mo need to be checked.

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 check with comment section. make sure we handle these.

@veenaskumar-cisco
Copy link
Copy Markdown
Contributor Author

veenaskumar-cisco commented Mar 9, 2026

    ==== 2026-03-09T10-51-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
Gathering Node Information...

Current APIC Version...6.0(9e)
Lowest Switch Version...5.2(5c)

Gathering APIC Versions from Firmware Repository...

No Firmware Detected!  Please Upload APIC Firmware and re-run the script.

Collecting VPC Node IDs...

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



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

[Check 1/1] svccore excessive data check...                                                                          MANUAL CHECK REQUIRED
  svccoreCtrlr Object Count  svccoreNode Object Count
  -------------------------  ------------------------
  0                          3

  Recommended Action: Delete the core files before proceeding with upgrade. Please refer to the document linked below and contact Cisco TAC for assistance if needed.
  Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#svccore_excessive_data_check



=== Summary Result ===

PASS                        :  0
FAIL - OUTAGE WARNING!!     :  0
FAIL - UPGRADE FAILURE!!    :  0
MANUAL CHECK REQUIRED       :  1
POST UPGRADE CHECK REQUIRED :  0
N/A                         :  0
ERROR !!                    :  0
TOTAL                       :  1

@takishida takishida changed the base branch from master to v4.1.0-dev April 4, 2026 05:39
@monrog2 monrog2 self-requested a review April 29, 2026 14:41
@muthu-ku
Copy link
Copy Markdown

muthu-ku commented Apr 30, 2026

pytest logs:

pytest -sv tests/checks/svccore_excessive_class_entries_check/svccore_excessive_class_entries_check.py
================================================== test session starts ===================================================
platform linux -- Python 3.8.10, pytest-7.4.0, pluggy-1.2.0 -- /data/ssd/veesenth/repo/aci_escalation/ACI-Pre-Upgrade-Validation-Script/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /data/ssd/veesenth/repo/aci_escalation/ACI-Pre-Upgrade-Validation-Script
configfile: pytest.ini
plugins: anyio-4.5.2
collected 4 items

tests/checks/svccore_excessive_class_entries_check/svccore_excessive_class_entries_check.py::test_logic[icurl_outputs0-PASS]
----------------------------------------------------- live log setup -----------------------------------------------------
[10:37:53.227 INFO     init_system:6337(MainThread)] Cleaning up previous run files in preupgrade_validator_logs/
[10:37:53.228 INFO     init_system:6339(MainThread)] Creating directories preupgrade_validator_logs/ and preupgrade_validator_logs/json_results/
----------------------------------------------------- live log call ------------------------------------------------------
[10:37:53.229 INFO     init_result:1203(MainThread)] Initialized in preupgrade_validator_logs/json_results/svccore_excessive_data_check.json
[10:37:53.229 INFO     _start_thread:1122(MainThread)] (svccore_excessive_data_check) Starting thread.
Progress: |----------------------------------------------------------------------------------------------------| 0/1 check[10:37:53.230 INFO     wrapper:1370(svccore_excessive_data_check)] Start svccore_excessive_data_check
[10:37:53.231 INFO     update_result:1212(svccore_excessive_data_check)] Finalized result in preupgrade_validator_logs/json_results/svccore_excessive_data_check.json
Progress: |████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 checkPASSEDleted
tests/checks/svccore_excessive_class_entries_check/svccore_excessive_class_entries_check.py::test_logic[icurl_outputs1-MANUAL CHECK REQUIRED]
----------------------------------------------------- live log call ------------------------------------------------------
[10:37:53.242 INFO     init_result:1203(MainThread)] Initialized in preupgrade_validator_logs/json_results/svccore_excessive_data_check.json
[10:37:53.243 INFO     _start_thread:1122(MainThread)] (svccore_excessive_data_check) Starting thread.
[10:37:53.243 INFO     wrapper:1370(svccore_excessive_data_check)] Start svccore_excessive_data_check
Progress: |----------------------------------------------------------------------------------------------------| 0/1 check[10:37:53.244 INFO     update_result:1212(svccore_excessive_data_check)] Finalized result in preupgrade_validator_logs/json_results/svccore_excessive_data_check.json
Progress: |████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 checkPASSEDleted
tests/checks/svccore_excessive_class_entries_check/svccore_excessive_class_entries_check.py::test_logic[icurl_outputs2-MANUAL CHECK REQUIRED]
----------------------------------------------------- live log call ------------------------------------------------------
[10:37:53.256 INFO     init_result:1203(MainThread)] Initialized in preupgrade_validator_logs/json_results/svccore_excessive_data_check.json
[10:37:53.257 INFO     _start_thread:1122(MainThread)] (svccore_excessive_data_check) Starting thread.
Progress: |----------------------------------------------------------------------------------------------------| 0/1 check[10:37:53.257 INFO     wrapper:1370(svccore_excessive_data_check)] Start svccore_excessive_data_check
[10:37:53.259 INFO     update_result:1212(svccore_excessive_data_check)] Finalized result in preupgrade_validator_logs/json_results/svccore_excessive_data_check.json
Progress: |████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 checkPASSEDleted
tests/checks/svccore_excessive_class_entries_check/svccore_excessive_class_entries_check.py::test_logic[icurl_outputs3-MANUAL CHECK REQUIRED]
----------------------------------------------------- live log call ------------------------------------------------------
[10:37:53.270 INFO     init_result:1203(MainThread)] Initialized in preupgrade_validator_logs/json_results/svccore_excessive_data_check.json
[10:37:53.270 INFO     _start_thread:1122(MainThread)] (svccore_excessive_data_check) Starting thread.
[10:37:53.270 INFO     wrapper:1370(svccore_excessive_data_check)] Start svccore_excessive_data_check
Progress: |----------------------------------------------------------------------------------------------------| 0/1 check[10:37:53.271 INFO     update_result:1212(svccore_excessive_data_check)] Finalized result in preupgrade_validator_logs/json_results/svccore_excessive_data_check.json
Progress: |████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 checkPASSEDleted

=================================================== 4 passed in 0.07s ====================================================

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 docs/docs/validations.md Outdated
Comment thread docs/docs/validations.md
Comment thread tests/checks/svccore_excessive_class_entries_check/svccoreNode_negative.json Outdated
Comment thread aci-preupgrade-validation-script.py Outdated
@muthu-ku
Copy link
Copy Markdown

full run log
CSCws84232_full_run_log.txt

Comment thread docs/docs/validations.md Outdated
Copy link
Copy Markdown
Collaborator

@monrog2 monrog2 left a comment

Choose a reason for hiding this comment

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

requested changes applied

@monrog2 monrog2 merged commit 69d6a4b into datacenter:v4.1.0-dev May 19, 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>
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.

NewValidation for CSCws84232

5 participants