Added validation for CSCws84232#334
Added validation for CSCws84232#334veenaskumar-cisco wants to merge 10 commits intodatacenter:masterfrom
Conversation
38634fd to
7fa5de3
Compare
|
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 |
lovkeshsharma702
left a comment
There was a problem hiding this comment.
missing code for svccoreNode. these 2 mo need to be checked.
tests/checks/svccore_excessive_class_entries_check/svccore_excessive_class_entries_check.py
Show resolved
Hide resolved
tests/checks/svccore_excessive_class_entries_check/svccore_positive.json
Show resolved
Hide resolved
aci-preupgrade-validation-script.py
Outdated
| doc_url = "https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#svccoreCtrlr-or-svccoreNode-excessive-entries-check" | ||
| svccore_classes = icurl('class', 'svccoreCtrlr.json') | ||
| svccoreNode_classes = icurl('class', 'svccoreNode.json') | ||
| if(len(svccore_classes) > 240 or len(svccoreNode_classes) > 240): |
There was a problem hiding this comment.
do you think we can somehow filter the query data just to get the count of MO, AS data of 32k MO will be huge , not sure if script can handle that.
lovkeshsharma702
left a comment
There was a problem hiding this comment.
please check with comment section. make sure we handle these.
c26882d to
32289d3
Compare
!!!! Check https://github.com/datacenter/ACI-Pre-Upgrade-Validation-Script for Latest Release !!!! To use a non-default Login Domain, enter apic#DOMAIN\USERNAME Current APIC Version...6.0(9e) 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 === Check Result (failed only) === [Check 1/1] svccore excessive data check... MANUAL CHECK REQUIRED 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. === Summary Result === PASS : 0 |
Fixes #333
Fail logs:
!!!! 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