Skip to content

Commit f12515e

Browse files
committed
Updated review comments
1 parent 2789582 commit f12515e

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

aci-preupgrade-validation-script.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6410,7 +6410,7 @@ def svccore_excessive_data_check(**kwargs):
64106410
return Result(result=ERROR, msg="Error occurred while fetching svccore object counts: {}".format(str(e)), doc_url=doc_url)
64116411

64126412

6413-
@check_wrapper(check_title='False Micron SSD failure_fault')
6413+
@check_wrapper(check_title='False Micron SSD failure fault')
64146414
def false_micron_ssd_failure_fault_check(cversion, tversion, **kwargs):
64156415
result = PASS
64166416
headers = ['Pod', 'Node', 'Model']
@@ -6419,7 +6419,7 @@ def false_micron_ssd_failure_fault_check(cversion, tversion, **kwargs):
64196419
'\n\tRun the SSD Lifetime Validation script manually on all identified nodes before upgrading.\n'
64206420
'\tScript location: https://github.com/datacenter/aci-tac-scripts/tree/main/SSD%20Lifetime%20Validation\n'
64216421
)
6422-
doc_url = 'https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#false-micron-ssd-failure_fault'
6422+
doc_url = 'https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#false-micron-ssd-failure-fault'
64236423

64246424
if not tversion:
64256425
return Result(result=MANUAL, msg=TVER_MISSING)
@@ -6439,7 +6439,7 @@ def false_micron_ssd_failure_fault_check(cversion, tversion, **kwargs):
64396439
data.append([pod_id, node_id, attr.get('model','')])
64406440

64416441
if data:
6442-
result = FAIL_O
6442+
result = MANUAL
64436443

64446444
return Result(result=result, headers=headers, data=data, recommended_action=recommended_action, doc_url=doc_url)
64456445

docs/docs/validations.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Items | Defect | This Script
203203
[N9K-C9408 with more than 5 N9K-X9400-16W LEMs][d31] | CSCws82819 | :white_check_mark: | :no_entry_sign:
204204
[Multi-Pod Modular Spine Bootscript File][d32] | CSCwr66848 | :white_check_mark: | :no_entry_sign:
205205
[Inband Management Policy Misconfiguration][d33]| CSCwd40071 | :white_check_mark: | :no_entry_sign:
206-
[False Micron SSD failure_fault][d34] | CSCwt38698 | :white_check_mark: | :no_entry_sign:
206+
[False Micron SSD failure fault][d34] | CSCwt38698 | :white_check_mark: | :no_entry_sign:
207207

208208
[d1]: #ep-announce-compatibility
209209
[d2]: #eventmgr-db-size-defect-susceptibility
@@ -238,7 +238,7 @@ Items | Defect | This Script
238238
[d31]: #n9k-c9408-with-more-than-5-n9k-x9400-16w-lems
239239
[d32]: #multi-pod-modular-spine-bootscript-file
240240
[d33]: #inband-management-policy-misconfiguration
241-
[d34]: #false-micron-ssd-failure_fault
241+
[d34]: #false-micron-ssd-failure-fault
242242

243243
## General Check Details
244244

@@ -2799,11 +2799,11 @@ Administrators may be unable to access or operate the APIC GUI, potentially impa
27992799

28002800
This check will verify the count of the `svccoreCtrlr` Managed Object and raise and alarm with the bug if object count found more than 240. Remove the content or objects of `svccoreCtrlr` or `svccoreNode`. Contact Cisco TAC or upgrade to a release containing the fix for CSCws84232 before proceeding with an upgrade.
28012801

2802-
### False Micron SSD failure_fault
2802+
### False Micron SSD failure fault
28032803

28042804
Due to [CSCwt38698][70], certain Micron SSDs present in the fabric may experience premature end-of-life failures after upgrading to `6.1(5e)` or `6.2(1g)`.
28052805

2806-
To avoid this issue, change the target version to another version. Or run the **SSD Lifetime Validation** script on all nodes with identified Micron SSDs prior to upgrading to determine the remaining SSD lifetime. If the SSD lifetime is critically low, you have to follow the SSD replacement procedure outlined in the field notice to ensure that the node remains available after the upgrade. In case you already upgraded your node and are experiencing unavailability due to this issue, contact Cisco TAC for the SSD replacement procedure to restore the node.
2806+
To avoid this issue, change the target version to non-impacted version. TO confirm if this is genuine or false alarm run the SSD Lifetime Validation script on all nodes with identified actual failure case. If the SSD lifetime is critically low after manually running the script, you have to follow the SSD replacement procedure outlined in the field notice to ensure that the node remains available after the upgrade. In case you already upgraded your node and experiencing unavailability due to this issue, contact Cisco TAC for the SSD replacement procedure to restore the node.
28072807

28082808
- Script location: [SSD Lifetime Validation](https://github.com/datacenter/aci-tac-scripts/tree/main/SSD%20Lifetime%20Validation)
28092809

tests/checks/false_micron_ssd_failure_fault_check/test_false_micron_ssd_failure_fault_check.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,32 +56,32 @@
5656
script.PASS,
5757
[],
5858
),
59-
# Test 7: FAIL_O - tversion affected 6.1(5e), cversion not affected, single Micron drive
59+
# Test 7: MANUAL - tversion affected 6.1(5e), cversion not affected, single Micron drive
6060
(
6161
{eqptflash_micron: micron_drives_single},
6262
"6.1(5e)", "6.0(2h)",
63-
script.FAIL_O,
63+
script.MANUAL,
6464
[["1", "101", "MTFDDAK240MBB"]],
6565
),
66-
# Test 8: FAIL_O - tversion affected 6.2(1g), cversion not affected, single Micron drive
66+
# Test 8: MANUAL - tversion affected 6.2(1g), cversion not affected, single Micron drive
6767
(
6868
{eqptflash_micron: micron_drives_single},
6969
"6.2(1g)", "6.0(2h)",
70-
script.FAIL_O,
70+
script.MANUAL,
7171
[["1", "101", "MTFDDAK240MBB"]],
7272
),
73-
# Test 9: FAIL_O - tversion not affected, cversion affected 6.1(5e), single Micron drive
73+
# Test 9: MANUAL - tversion not affected, cversion affected 6.1(5e), single Micron drive
7474
(
7575
{eqptflash_micron: micron_drives_single},
7676
"6.2(2a)", "6.1(5e)",
77-
script.FAIL_O,
77+
script.MANUAL,
7878
[["1", "101", "MTFDDAK240MBB"]],
7979
),
80-
# Test 10: FAIL_O - multiple Micron drives across pods and nodes
80+
# Test 10: MANUAL - multiple Micron drives across pods and nodes
8181
(
8282
{eqptflash_micron: micron_drives_multi},
8383
"6.1(5e)", "6.0(2h)",
84-
script.FAIL_O,
84+
script.MANUAL,
8585
[
8686
["1", "101", "MTFDDAK240MBB"],
8787
["2", "201", "MTFDDAK480MBB"],

0 commit comments

Comments
 (0)