Skip to content

Commit 1149e0d

Browse files
Removed if conditio for model check and modified the recommended actions
1 parent 93fb214 commit 1149e0d

2 files changed

Lines changed: 14 additions & 26 deletions

File tree

aci-preupgrade-validation-script.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6027,15 +6027,14 @@ def apic_downgrade_compat_warning_check(cversion, tversion, **kwargs):
60276027

60286028

60296029
@check_wrapper(check_title='N9K-C9408 with 6 or more N9K-X9400-16W LEMs')
6030-
def c9408_lem_count_check(tversion, fabric_nodes, **kwargs):
6030+
def c9408_boot_loop_lem_count_check(tversion, fabric_nodes, **kwargs):
60316031
result = PASS
60326032
headers = ["Node ID", "Switch Model", "LEM Model", "LEM Count"]
60336033
data = []
60346034
recommended_action = (
6035-
"Upgrade from pre-16.1(2f) to 16.1(2f) or later on N9K-C9408 with 6 or more LEMs "
6036-
"will result in boot loop. Do NOT proceed. Use fewer LEMs or choose a different version."
6035+
"Upgrade from pre-16.1(2f) to 16.1(2f) or later on N9K-C9408 with 6 or more LEMs will result in boot loop. Do NOT proceed. Use fewer LEMs or choose a different version. "
60376036
)
6038-
doc_url = 'https://bst.cloudapps.cisco.com/bugsearch/bug/CSCws82819'
6037+
doc_url = 'https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#n9k-c9408-with-6-n9k-x9400-16w-lems'
60396038

60406039
if tversion.older_than("6.1(2f)") or tversion.newer_than("6.2(1g)"):
60416040
return Result(result=NA, msg=VER_NOT_AFFECTED)
@@ -6056,9 +6055,6 @@ def c9408_lem_count_check(tversion, fabric_nodes, **kwargs):
60566055
lem_count_per_node = defaultdict(int)
60576056
for eqptLC in eqptLCs:
60586057
dn = eqptLC['eqptLC']['attributes']['dn']
6059-
model = eqptLC['eqptLC']['attributes']['model']
6060-
if model != "N9K-X9400-16W":
6061-
continue
60626058
dn_match = re.search(node_regex, dn)
60636059
if not dn_match:
60646060
continue

docs/docs/validations.md

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2587,25 +2587,6 @@ Due to defect [CSCwf58763][42], upgrading to non-fixed versions with `fabricRsDe
25872587

25882588
When an identified switch node is upgraded to a fixed 6.1(3)+ version, the `N9K-C9400-SW-GX2A` fabric membership entry will show up as inactive and must be decomissioned and the new `N9K-C9408` fabric membership entry must be registered. The result is that the node IDs in question will not completely join the fabric post-upgrade until these additional steps are performed on each identified `N9K-C9408` node.
25892589

2590-
### N9K-C9408 with 6+ N9K-X9400-16W LEMs
2591-
2592-
Due to defect [CSCws82819][62], upgrading from pre-16.1(2f) to 16.1(2f) or later can result in a boot loop when a `N9K-C9408` node has 6 or more installed `N9K-X9400-16W` LEMs.
2593-
2594-
This check is applicable only when the APIC target version is between 6.1(2f) and 6.2(1g), inclusive.
2595-
2596-
The script checks the following conditions:
2597-
2598-
1. Target version is in the affected window (6.1(2f) through 6.2(1g)).
2599-
2. At least one switch node model is `N9K-C9408`.
2600-
3. For each `N9K-C9408` node, the number of `eqptLC` entries with model `N9K-X9400-16W` is counted.
2601-
2602-
If any affected node has more than 5 matching LEMs, the check is flagged as `FAIL - OUTAGE WARNING!!` with the node-level count details.
2603-
2604-
Recommended action:
2605-
2606-
* Do **not** proceed with the upgrade when flagged.
2607-
* Reduce the number of `N9K-X9400-16W` LEMs to 5 or fewer on each affected `N9K-C9408` node, or choose a different target version.
2608-
26092590
### PBR High Scale
26102591

26112592
Due to [CSCwi66348][46], Leaf Switches with high scale PBR config (classes `vnsAdjacencyDefCont`, `vnsSvcRedirEcmpBucketCons` and `fvAdjDefCons` specifically) can take an unexpectedly long time to complete bootstrap after an upgrade.
@@ -2668,6 +2649,17 @@ Due to [CSCwp95515][59], upgrading to an affected version while having any `conf
26682649

26692650
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.
26702651

2652+
### N9K-C9408 with 6 or more N9K-X9400-16W LEMs
2653+
2654+
Due to defect [CSCws82819][62], upgrading from pre-16.1(2f) to 16.1(2f) or later can result in a boot loop when a `N9K-C9408` node has 6 or more installed N9K-X9400-16W` LEMs.
2655+
2656+
Recommended action:
2657+
2658+
* Do **not** proceed with the upgrade when flagged.
2659+
* Reduce the number of `N9K-X9400-16W` LEMs to 5 or fewer on each affected `N9K-C9408` node, or choose a different target version.
2660+
* If reducing LEM count is not operationally feasible, open a TAC case for an upgrade path recommendation.
2661+
2662+
26712663

26722664
[0]: https://github.com/datacenter/ACI-Pre-Upgrade-Validation-Script
26732665
[1]: https://www.cisco.com/c/dam/en/us/td/docs/Website/datacenter/apicmatrix/index.html

0 commit comments

Comments
 (0)