Added validation for CSCws84232#334
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.
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
|
|
pytest logs: |
| headers = ['svccoreCtrlr Object Count','svccoreNode Object Count'] | ||
| data = [] | ||
| 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." | ||
| doc_url = "https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#svccore_excessive_data_check" |
There was a problem hiding this comment.
fix the link to match the shortcut name in the validations doc
| prints(msg) | ||
| log.error(msg, exc_info=True) | ||
| sys.exit(1) | ||
| sys.exit(1) No newline at end of file |
There was a problem hiding this comment.
keep modifications scoped to the ticket, if this needs to change, file a separate issue
| [Fabric Link Redundancy][g17] | :white_check_mark: | :no_entry_sign: | ||
| [APIC Database Size][g18] | :white_check_mark: | :no_entry_sign: | ||
| [APIC downgrade compatibility when crossing 6.2 release][g19]| :white_check_mark: | :no_entry_sign: | ||
| [Svccore Excessive Data Check][g20] | :white_check_mark: | |
There was a problem hiding this comment.
put no entry sign if not on built-in.
@takishida do we need to mass update these to account for 6.2 having the ability to pull latest + once metadat offline bundle it available for pull?
|
|
||
| ### Svccore Excessive Data Check | ||
|
|
||
| Due to excessive `svccoreCtrlr` or `svccoreNode` managed objects, Apic gui stuck in loading multiple queries. |
There was a problem hiding this comment.
add a line indicating what those objects actually represent.
| "moCount": { | ||
| "attributes": { | ||
| "childAction": "", | ||
| "count": "32000", |
There was a problem hiding this comment.
flip positive and negative checks. positive = hitting condition, negative = not hitting (PASS)
| [ | ||
| # No excessive class entries | ||
| ( | ||
| {svccoreClassEntry: read_data(dir, "svccore_positive.json"),svccoreNodeEntry: read_data(dir, "svccoreNode_positive.json")}, |
There was a problem hiding this comment.
modify these pointers after pos/neg files are flipped
| @check_wrapper(check_title="svccore excessive data check") | ||
| def svccore_excessive_data_check(**kwargs): | ||
| result = PASS | ||
| headers = ['svccoreCtrlr Object Count','svccoreNode Object Count'] |
There was a problem hiding this comment.
make the columnes more agnostic, such as [ClassName, Count].
Ten you can only have rows where they exceed your criteria;
ClassName, Count
svccore, 251
or
ClassName, Count
svccore, 251
scvother 500
|
full run log |
|
|
||
| Due to excessive `svccoreCtrlr` or `svccoreNode` managed objects, Apic gui stuck in loading multiple queries. | ||
|
|
||
| svccoreCtrlr objects are responsible for managing the control plane functions of the APIC cluster. They coordinate and oversee the overall control operations, including policy enforcement, fabric management, and orchestration tasks. The controller-level service core manages the centralized automation and management of the Cisco ACI fabric, ensuring consistent policy application and health monitoring across the multitenant fabric. |
There was a problem hiding this comment.
shorten it to svccoreCtrlr and svccoreNode look at all core files present on leafs and Apic.
Fixes #333
Fail logs:
POST UPGRADE CHECK REQUIRED : 0
N/A : 0
ERROR !! : 0
TOTAL : 1