Skip to content

Commit f8c83c9

Browse files
Removed other PR checks
1 parent 7fa5de3 commit f8c83c9

2 files changed

Lines changed: 0 additions & 48 deletions

File tree

aci-preupgrade-validation-script.py

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -6025,44 +6025,6 @@ def apic_downgrade_compat_warning_check(cversion, tversion, **kwargs):
60256025

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

6028-
@check_wrapper(check_title="Tacacs server unresponsive check")
6029-
def tacacs_server_unresponsive_check(fabric_nodes, tversion, username, password, **kwargs):
6030-
result = PASS
6031-
headers = ['APIC_Name', 'count']
6032-
data = []
6033-
recommended_action = "Contact Cisco TAC for Support before upgrade"
6034-
doc_url = "https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#tacacs-server-unresponsive-check"
6035-
6036-
if not tversion:
6037-
return Result(result=MANUAL, msg=TVER_MISSING)
6038-
if tversion.older_than("6.1(4h)"):
6039-
controllers = [node for node in fabric_nodes if node['fabricNode']['attributes']['role'] == 'controller']
6040-
if not controllers:
6041-
return Result(result=ERROR, msg="No fabricNode of APIC. Is the cluster healthy?", doc_url=doc_url)
6042-
has_error = False
6043-
for controller in controllers:
6044-
try:
6045-
connection = Connection(controller['fabricNode']['attributes']['address'])
6046-
connection.username = username
6047-
connection.password = password
6048-
connection.connect()
6049-
connection.cmd('cd /var/log/dme/log && zgrep -c "AAA server is unresponsive or too slow to respond" nginx.bin.log')
6050-
count = int(connection.output.strip())
6051-
if(count > 0):
6052-
data.append([controller['fabricNode']['attributes']['name'], count])
6053-
except Exception as e:
6054-
has_error = True
6055-
data.append([controller['fabricNode']['attributes']['name'], str(e)])
6056-
6057-
connection.close()
6058-
6059-
if has_error:
6060-
result = ERROR
6061-
elif data:
6062-
result = FAIL_O
6063-
return Result(result=result,headers=headers,data=data,recommended_action=recommended_action,doc_url=doc_url)
6064-
else:
6065-
return Result(result=PASS, msg=VER_NOT_AFFECTED)
60666028

60676029
@check_wrapper(check_title="svccoreCtrlr excessive entries check")
60686030
def svccoreCtrlr_excessive_entries_check(tversion, **kwargs):

docs/docs/validations.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ Items | Defect | This Script
193193
[Stale pconsRA Object][d26] | CSCwp22212 | :warning:{title="Deprecated"} | :no_entry_sign:
194194
[ISIS DTEPs Byte Size][d27] | CSCwp15375 | :white_check_mark: | :no_entry_sign:
195195
[Policydist configpushShardCont Crash][d28] | CSCwp95515 | :white_check_mark: |
196-
[Tacacs server unresponsive check][d29] | CSCwo28197 | :white_check_mark: |
197196
[svccoreCtrlr excessive entries check][d30] | CSCws8423 | :white_check_mark: |
198197

199198
[d1]: #ep-announce-compatibility
@@ -224,7 +223,6 @@ Items | Defect | This Script
224223
[d26]: #stale-pconsra-object
225224
[d27]: #isis-dteps-byte-size
226225
[d28]: #policydist-configpushshardcont-crash
227-
[d29]: #tacacs-server-unresponsive-check
228226
[d30]: #svccoreCtrlr-excessive-entries-check
229227

230228

@@ -2651,13 +2649,6 @@ Due to [CSCwp95515][59], upgrading to an affected version while having any `conf
26512649

26522650
If any instances of `configpushShardCont` are flagged by this script, Cisco TAC must be contacted to identify and resolve the underlying issue before performing the upgrade.
26532651

2654-
### Tacacs server unresponsive check
2655-
2656-
Due to [CSCwo28197][62], APIC TACACS authentication may fail with the error “AAA server is unresponsive or too slow to respond” caused by stalled AAA/PAM requests after prolonged uptime.The issue may temporarily clear after an APIC reboot or nginx restart.
2657-
2658-
Administrators may be unable to log in to the APIC using TACACS authentication via GUI or SSH, potentially affecting access during operations or upgrades.
2659-
2660-
Check APIC nginx logs for TACACS unresponsive errors on affected releases. If detected, contact Cisco TAC or upgrade to a release containing the fix for CSCwo28197 before proceeding with an upgrade.
26612652

26622653
### svccoreCtrlr excessive entries check
26632654

@@ -2732,5 +2723,4 @@ This check will verify the count of the `svccoreCtrlr` Managed Object and raise
27322723
[59]: https://bst.cloudapps.cisco.com/bugsearch/bug/CSCwp95515
27332724
[60]: https://www.cisco.com/c/en/us/solutions/collateral/data-center-virtualization/application-centric-infrastructure/white-paper-c11-743951.html#Inter
27342725
[61]: https://www.cisco.com/c/en/us/solutions/collateral/data-center-virtualization/application-centric-infrastructure/white-paper-c11-743951.html#EnablePolicyCompression
2735-
[62]: https://bst.cloudapps.cisco.com/bugsearch/bug/CSCwo28197
27362726
[63]:https://bst.cloudapps.cisco.com/bugsearch/bug/CSCws84232

0 commit comments

Comments
 (0)