My Oracle Support Banner

Cisco Switch Upgrade Fails with sha256 Mismatch (Doc ID 2910720.1)

Last updated on NOVEMBER 28, 2022

Applies to:

Cisco Nexus Switch - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Symptoms

 When running patch manager pre check, it may fail with the following

[dbmadmin@dbadm01 patch_switch_21.2.11.0.0.220414.1]$ ./patchmgr --roceswitches /u01/patches/tmp/patch_switch_21.2.11.0.0.220414.1/roceswitches.lst --upgrade --roceswitch-precheck --force --log_dir /u01/patches/tmp/patch_switch_21.2.11.0.0.220414.1

2022-08-06 14:06:27 -0500 :Working: Initiate pre-upgrade validation check on 2 RoCE switch(es).

2022-08-06 14:06:31 -0500 1 of 2 :Updating switch rocea0

2022-08-06 14:06:35 -0500: [INFO ] ASR will be installed on switch rocea0
2022-08-06 14:06:36 -0500: [INFO ] switch config missing 'no cdp enable'. It will be upgraded on switch rocea0
2022-08-06 14:06:38 -0500: [INFO ] Switch rocea0 will be upgraded from nxos.7.0.3.I7.8.bin to nxos.7.0.3.I7.9.bin
2022-08-06 14:06:38 -0500: [INFO ] Checking for free disk space on switch
2022-08-06 14:06:39 -0500: [INFO ] disk is 94.00% free, available: 110261567488 bytes
2022-08-06 14:06:39 -0500: [SUCCESS ] There is enough disk space to proceed
2022-08-06 14:06:40 -0500: [INFO ] Copying nxos.7.0.3.I7.9.bin onto rocea0 (eta: 1-5 minutes)
2022-08-06 14:06:41 -0500: [FAIL ] Could not finish copying the image
2022-08-06 14:06:41 -0500: [INFO ] Verifying sha256sum of bin file on switch
2022-08-06 14:06:46 -0500: [FAIL ] [FirmwareUpgradeError] sha256 mismatch! got: {'local_sha256': '992cbb067bc72f29403f643eafd73079c57f74dd632a391201a1e31fdebba325', 'success': False, 'switch_sha256': None}. run with --force to overwrite

SUMMARY OF ERRORS:

2022-08-06 14:06:41 -0500: [FAIL ] Could not finish copying the image
2022-08-06 14:06:46 -0500: [FAIL ] [FirmwareUpgradeError] sha256 mismatch! got: {'local_sha256': '992cbb067bc72f29403f643eafd73079c57f74dd632a391201a1e31fdebba325', 'success': False, 'switch_sha256': None}. run with --force to overwrite

 

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.