Skip to content

consistent missing sw_cversion handling + alert#243

Merged
monrog2 merged 4 commits into
masterfrom
242-handle-get_sw_version-none-result
Apr 23, 2025
Merged

consistent missing sw_cversion handling + alert#243
monrog2 merged 4 commits into
masterfrom
242-handle-get_sw_version-none-result

Conversation

@monrog2
Copy link
Copy Markdown
Collaborator

@monrog2 monrog2 commented Apr 22, 2025

No description provided.

@monrog2 monrog2 linked an issue Apr 22, 2025 that may be closed by this pull request
@monrog2
Copy link
Copy Markdown
Collaborator Author

monrog2 commented Apr 22, 2025

pytest output with changed logic:

[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX...                                                                    PASS
[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX...                                                                    PASS
[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX...                                                 FAIL - OUTAGE WARNING!!
  Pod ID  Node ID  Switch Model     Interface  FEC Mode
  ------  -------  ------------     ---------  --------
  1       101      N9K-C93180YC-EX  eth1/1     ieee-rs-fec
  1       102      N9K-C93180YC-EX  eth1/1     ieee-rs-fec

  Recommended Action: Nexus C93180YC-EX switches do not support IEEE-RS-FEC or CONS16-RS-FEC mode. Misconfigured ports will be hardware disabled upon upgrade. Remove unsupported FEC configuration prior to upgrade.
  Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#unsupported-fec-configuration-for-n9k-c93180yc-ex


[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX...                                                                    PASS
[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX...                                                                    PASS
[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX... Current switch version not found. Check switch health          ERROR !!
[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX... Target switch version not supplied. Skipping.     MANUAL CHECK REQUIRED

@monrog2 monrog2 changed the title missing sw_cversion = ERR consisntent missing sw_cversion handling + alert Apr 22, 2025
@monrog2
Copy link
Copy Markdown
Collaborator Author

monrog2 commented Apr 22, 2025

Alert at tops of script:

Collecting VPC Node IDs...

Gathering Lowest Switch Version from Firmware Repository...No Switches Detected! Join switches to the fabric then re-run this script.

[Check  1/83] APIC Target version image and MD5 hash... 
              Checking S2-APIC-2......                                                                                                DONE
              Checking S2-APIC-21......                                                                                               DONE
              Checking S2-APIC-1......                                                                                                DONE
              Checking S2-APIC-3......                                                                                                DONE

and check will now be MANUAL

[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX...                                                                    PASS
[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX...                                                                    PASS
[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX...                                                 FAIL - OUTAGE WARNING!!
  Pod ID  Node ID  Switch Model     Interface  FEC Mode
  ------  -------  ------------     ---------  --------
  1       101      N9K-C93180YC-EX  eth1/1     ieee-rs-fec
  1       102      N9K-C93180YC-EX  eth1/1     ieee-rs-fec

  Recommended Action: Nexus C93180YC-EX switches do not support IEEE-RS-FEC or CONS16-RS-FEC mode. Misconfigured ports will be hardware disabled upon upgrade. Remove unsupported FEC configuration prior to upgrade.
  Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#unsupported-fec-configuration-for-n9k-c93180yc-ex


[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX...                                                                    PASS
[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX...                                                                    PASS
[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX... Current switch version not found. Check switch health.MANUAL CHECK REQUIRED
[Check  1/1] Unsupported FEC Configuration For N9K-C93180YC-EX... Target switch version not supplied. Skipping.     MANUAL CHECK REQUIRED

@monrog2 monrog2 changed the title consisntent missing sw_cversion handling + alert consistent missing sw_cversion handling + alert Apr 22, 2025
@monrog2
Copy link
Copy Markdown
Collaborator Author

monrog2 commented Apr 23, 2025

Integration tests passed for these checks, merging

@monrog2 monrog2 merged commit 324548f into master Apr 23, 2025
3 checks passed
@monrog2 monrog2 deleted the 242-handle-get_sw_version-none-result branch June 25, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

handle get_sw_version() None result

1 participant