cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4491
Views
0
Helpful
17
Replies

Nexus 3172 upgrade firmware failed

slakos
Level 1
Level 1

switch# install all nxos bootflash:nxos.9.2.2.bin

Installer will perform compatibility check first. Please wait.

Installer is forced disruptive

 

Verifying image bootflash:/nxos.9.2.2.bin for boot variable "nxos".

[####################] 100% -- SUCCESS

 

Verifying image type.

[####################] 100% -- SUCCESS

 

Preparing "nxos" version info using image bootflash:/nxos.9.2.2.bin.

[####################] 100% -- SUCCESS

 

Preparing "bios" version info using image bootflash:/nxos.9.2.2.bin.

[####################] 100% -- SUCCESS

 

Collecting "running" plugin(s) information.

[####################] 100% -- SUCCESS

 

Collecting plugin(s) information from "new" image.

[####################] 100% -- SUCCESS               [####################] 100% -- SUCCESS

 

Performing module support checks.                    [####################] 100% -- SUCCESS

 

Notifying services about system upgrade.             [####################] 100% -- SUCCESS

 

 

 

Compatibility check is done:

Module  bootable          Impact  Install-type  Reason

------  --------  --------------  ------------  ------

     1       yes      disruptive         reset  default upgrade is not hitless

 

 

 

Images will be upgraded according to following table:

Module       Image                  Running-Version(pri:alt)           New-Version  Upg-Required

------  ----------  ----------------------------------------  --------------------  ------------

     1        nxos                               7.0(3)I7(9)                9.2(2)           yes

     1        bios                        v5.3.1(05/17/2019)    v5.2.0(05/18/2018)            no

 

 

Switch will be reloaded for disruptive upgrade.

Do you want to continue with the installation (y/n)?  [n] y

 

 

Install is in progress, please wait.

 

Performing runtime checks.                           [####################] 100% -- SUCCESS

 

Setting boot variables.

[###########         ]  50% -- FAIL.

Return code -1.

 

 

Install has failed. Return code 0x4093000C (Setting boot variables failed).

Please identify the cause of the failure, and try 'install all' again.

2 Accepted Solutions

Accepted Solutions

Hi @slakos 

It looks like you downloaded the image for Nexus 3000/9000 and not for Nexus 3100.

Look at the image size for non-working switch:

1322543104 Jul 26 13:15:55 2021 nxos.9.2.2.bin

versus the working switch:

535297770 Apr 30 12:05:40 2021 nxos.9.2.2.bin

Try copying the image from the working switch to non-wokring switch and use that one for installation. You can use SCP.

 

0. delete the nxos.9.2 on the non-working switch

1. enable scp-server on the working switch:

conf t
feature scp-server

2. copy the image on the non-working switch:

copy scp: bootflash:

<complete with the requested details>

 

Stay safe,

Sergiu

 

View solution in original post

crl+L is correct I can boot from another image

error was because bad compact in Nexus

I get new file from Cisco (n3100-compact.9.3.7.bin)

View solution in original post

17 Replies 17

Sergiu.Daniluk
VIP Alumni
VIP Alumni

Hi @slakos 

Can you run the command:

show incompatibility system nxos.9.2.2.bin

Cheers,

Sergiu


switch# show incompatibility system nxos.9.2.2.bin
This command require valid n3k system image.
Error: Invalid image. Please try again with a valid image.

switch# dir
8343 Jul 26 12:23:51 2021 .n3k_pre_single_img_upd_config
4096 Jul 26 12:30:07 2021 .rpmstore/
4096 Jul 26 12:30:32 2021 .swtam/
0 Jan 01 00:02:40 2001 20010101_000240_poap_4100_init.log
0 Jan 23 07:09:14 2021 20210123_070914_poap_4103_init.log
0 Jan 23 07:26:21 2021 20210123_072621_poap_4002_init.log
168 Jul 23 13:45:20 2021 20210723_124345_poap_4002_init.log
0 Jul 26 12:30:19 2021 bootflash_sync_list
4096 Jul 26 13:35:33 2021 logflash/
4096 Jul 26 15:06:36 2021 lost+found/
472320617 Jul 26 12:19:37 2021 n3100-compact.7.0.3.I7.9.bin
1322543104 Jul 26 13:15:55 2021 nxos.9.2.2.bin
486 Jul 26 14:39:11 2021 patch_control.log
87 Jul 26 14:39:11 2021 patch_debug.log
0 Jul 26 12:12:39 2021 platform-sdk.cmd
1024 Jul 26 14:39:25 2021 sprom_2_0_1
1024 Jul 26 14:39:25 2021 sprom_3_0_0
1024 Jul 26 12:08:37 2021 sprom_cstruct_2_0_0
1024 Jul 26 12:09:06 2021 sprom_cstruct_3_0_0
4096 Jan 01 00:01:23 2001 vdc_2/
4096 Jan 01 00:01:23 2001 vdc_3/
4096 Jan 01 00:01:23 2001 vdc_4/
4096 Jul 26 12:08:50 2021 virtual-instance/

Usage for bootflash://
1853071360 bytes used
20836352 bytes free
1873907712 bytes total
switch#

In correct work switch is this same


switch# show incompatibility system nxos.9.2.2.bin
This command require valid n3k system image.
Error: Invalid image. Please try again with a valid image.

 

switch# dir
4096 Jan 01 00:13:49 2001 .rpmstore/
4096 Jan 01 00:14:09 2001 .swtam/
1756 Jan 01 00:04:56 2001 20010101_000446_poap_28947_init.log
1756 Jan 01 00:16:36 2001 20010101_001626_poap_29104_init.log
1801 Jan 30 00:01:05 2001 20010129_235938_poap_28941_init.log
332 Apr 30 12:06:19 2021 FOC2511R1YW_1619784377.lic
945 Apr 30 12:11:59 2021 bios_daemon.dbg
4096 Feb 18 01:16:28 2001 logflash/
4096 Apr 30 12:06:52 2021 lost+found/
535297770 Apr 30 12:05:40 2021 nxos.9.2.2.bin
0 Jan 01 00:17:45 2001 platform-sdk.cmd
4096 Jan 01 00:16:26 2001 scripts/
1024 Mar 18 22:18:12 2001 sprom_2_0_1
1024 Mar 18 22:18:12 2001 sprom_3_0_0
4096 Jan 01 00:14:24 2001 virtual-instance/

Usage for bootflash://
540282880 bytes used
1289318400 bytes free
1829601280 bytes total

 

switch# sh ver
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (C) 2002-2018, Cisco and/or its affiliates.
All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under their own
licenses, such as open source. This software is provided "as is," and unless
otherwise stated, there is no warranty, express or implied, including but not
limited to warranties of merchantability and fitness for a particular purpose.
Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or
GNU General Public License (GPL) version 3.0 or the GNU
Lesser General Public License (LGPL) Version 2.1 or
Lesser General Public License (LGPL) Version 2.0.
A copy of each such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://opensource.org/licenses/gpl-3.0.html and
http://www.opensource.org/licenses/lgpl-2.1.php and
http://www.gnu.org/licenses/old-licenses/library.txt.

Software
BIOS: version 5.2.0
NXOS: version 9.2(2)
BIOS compile time: 05/18/2018
NXOS image file is: bootflash:///nxos.9.2.2.bin
NXOS compile time: 11/4/2018 21:00:00 [11/05/2018 06:11:06]


Hardware
cisco Nexus 3172T Chassis
Intel(R) Pentium(R) CPU @ 2.00GHz with 4030416 kB of memory.
Processor Board ID FOC25091SQJ

Device name: SWC_GDA08
bootflash: 1833984 kB
usb1: 0 kB (expansion flash)

Kernel uptime is 11 day(s), 3 hour(s), 22 minute(s), 31 second(s)

Last reset
Reason: Unknown
System version: 9.2(2)
Service:

plugin
Core Plugin, Ethernet Plugin

Active Package(s):

switch#

 

Hi @slakos 

It looks like you downloaded the image for Nexus 3000/9000 and not for Nexus 3100.

Look at the image size for non-working switch:

1322543104 Jul 26 13:15:55 2021 nxos.9.2.2.bin

versus the working switch:

535297770 Apr 30 12:05:40 2021 nxos.9.2.2.bin

Try copying the image from the working switch to non-wokring switch and use that one for installation. You can use SCP.

 

0. delete the nxos.9.2 on the non-working switch

1. enable scp-server on the working switch:

conf t
feature scp-server

2. copy the image on the non-working switch:

copy scp: bootflash:

<complete with the requested details>

 

Stay safe,

Sergiu

 

switch# install all nxos bootflash:nxos.9.2.2.bin
Installer will perform compatibility check first. Please wait.
Installer is forced disruptive

Verifying image bootflash:/nxos.9.2.2.bin for boot variable "nxos".
[####### ] 30%2021 Jul 27 15:14:15 switch %$ VDC-1 %$ last message repeated 1 time [####################] 100% -- SUCCESS

Verifying image type.
[####################] 100% -- SUCCESS

Preparing "nxos" version info using image bootflash:/nxos.9.2.2.bin.
[####################] 100% -- SUCCESS

Preparing "bios" version info using image bootflash:/nxos.9.2.2.bin.
[####################] 100% -- SUCCESS

Collecting "running" plugin(s) information.
[####################] 100% -- SUCCESS

Collecting plugin(s) information from "new" image.
[####################] 100% -- SUCCESS [####################] 100% -- SUCCESS

Performing module support checks. [####################] 100% -- SUCCESS

Notifying services about system upgrade. [####################] 100% -- SUCCESS

 

Compatibility check is done:
Module bootable Impact Install-type Reason
------ -------- -------------- ------------ ------
1 yes disruptive reset default upgrade is not hitless

 

Images will be upgraded according to following table:
Module Image Running-Version(pri:alt) New-Version Upg-Required
------ ---------- ---------------------------------------- -------------------- ------------
1 nxos 7.0(3)I7(9) 9.2(2) yes
1 bios v5.3.1(05/17/2019) v5.2.0(05/18/2018) no


Switch will be reloaded for disruptive upgrade.
Do you want to continue with the installation (y/n)? [n] y


Install is in progress, please wait.

Performing runtime checks. [####################] 100% -- SUCCESS

Setting boot variables.
[########## ] 45%2021 Jul 27 15:15:58 switch %$ VDC-1 %$ %USER-2-SYSTEM_MSG: Image-Signature Verification DISABLED for comp[####################] 100% -- SUCCESS

Performing configuration copy.
[####################] 100% -- SUCCESS

Module 1: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS


Finishing the upgrade, switch will reboot in 10 seconds.
switch#

 

(c) Copyright 2019, Cisco Systems.
N3172T BIOS v.5.3.1, Fri 05/17/2019


Press TAB in 1 seconds to list all boot options
Any other key to active boot...
Press ctrl L to go to loader prompt in 2 secs

Booting kickstart image: bootflash:/nxos.9.2.2.bin
CardIndex = 11091
Image valid
[ 0.000000] efi: System table signature incorrect!
Installing klm_card_index
done
[ 3.855438] sd 0:0:0:0: [sda] No Caching mode page found
[ 3.918816] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 4.008064] sd 1:0:0:0: [sdb] No Caching mode page found
[ 4.071445] sd 1:0:0:0: [sdb] Assuming drive cache: write through
remounting root with size 2048M
creating flash devices BOOT_DEV= sda
INIT: version 2.88 booting
Skipping ata_piix install for n3k.
Unsquashing rootfs ...
Total size needed in bootflash is 146196
check bootflash : OK
Total size needed in bootflash is 35504
check bootflash : OK
Removing libcrdcfgdata and linking libcrdcfgdata3nk
Enabling 8250 serial driver spurious INTs workaround
Installing isan procfs ... done.
is_lxc: is_stby: suffix:
Installing ftrace in non-lxc mode done
Installing SSE module ... done.
Creating SSE device node 247 ... done.
Loading I2C driver ... done.
Loading MEM scrub driver ... done.
Installing CCTRL driver for card_type 31 without NEED_GEM ... done.
8.76: Interrupt throttling disabled. No cctrl irq detected.
Loading IGB driver ... done.
Checking for eUSB firmware upgrade..

Checking all filesystems.Current boot disk sda3..

Installing SPROM driver ... IS_N3K done.
Skipping installing default sprom values for N3k...
Installing pfmsvcs module ...done.
Installing nvram module ... done.
Installing if_index module with port mode 6 ... done.
Installing fcfwd stub
Installing RNI lcnd ... done
Installing LC netdev ... done
Installing psdev module ... done.
Installing veobc module ... done.
Inserting mtdphysmap module...Inserting OBFL module ... done.
Making OBFL character devices
Mounting OBFL pstore for mtd
Inserting kernel_services module ... done.
Making kernel_services character devices
cgroups initialized
invalid group file entry
delete line 'aaa-db-operator:508:'? No
grpck: no changes
cat: /proc/isan/sw/nv_entry: No such file or directory
exit code: 1
Starting OpenBSD Secure Shell server: sshd ... done.
mkdir: cannot create directory '/lc': File exists
Trim files after extracting TOR files ...
tune2fs 1.42.9 (28-Dec-2013)
Setting reserved blocks percentage to 0% (0 blocks)
Starting portmap daemon...
creating NFS state directory: done
starting 8 nfsd kernel threads: done
starting mountd: done
starting statd: done
Saving image for img-sync ...
Loading system software
Installing local RPMS
Patch Repository Setup completed successfully
Creating /dev/mcelog
Starting mcelog daemon
Removing dme lib
Moving N3K specific syslog config file
Loading a compact image
INIT: Entering runlevel: 3
Running S93thirdparty-script...

Populating conf files for hybrid sysmgr ...
Removing bios-imgs and /lcimages
Starting hybrid sysmgr ...
Netbroker support IS present in the kernel.
done
Executing Prune clis.
2021 Jul 27 15:18:31 switch %$ VDC-1 %$ %USER-0-SYSTEM_MSG: Running compact image for this platform - pfm
2021 Jul 27 15:18:31 switch %$ VDC-1 %$ %USER-0-SYSTEM_MSG: before access to bkout_cfg - clis
2021 Jul 27 15:18:32 switch %$ VDC-1 %$ %PLATFORM-2-PS_OK: Power supply 1 ok (Serial number DCB2323L0AH)
2021 Jul 27 15:18:32 switch %$ VDC-1 %$ %PLATFORM-2-PS_FANOK: Fan in Power supply 1 ok
2021 Jul 27 15:18:32 switch %$ VDC-1 %$ %PLATFORM-2-PS_OK: Power supply 2 ok (Serial number DCB2323L0AP)
2021 Jul 27 15:18:32 switch %$ VDC-1 %$ %PLATFORM-2-PS_FANOK: Fan in Power supply 2 ok
2021 Jul 27 15:18:32 switch %$ VDC-1 %$ %PLATFORM-2-FANMOD_FAN_OK: Fan module 1 (Fan1(sys_fan1) fan) ok
2021 Jul 27 15:18:32 switch %$ VDC-1 %$ %PLATFORM-2-FANMOD_FAN_OK: Fan module 2 (Fan2(sys_fan2) fan) ok
2021 Jul 27 15:18:32 switch %$ VDC-1 %$ %PLATFORM-2-FANMOD_FAN_OK: Fan module 3 (Fan3(sys_fan3) fan) ok
2021 Jul 27 15:18:32 switch %$ VDC-1 %$ %PLATFORM-2-FANMOD_FAN_OK: Fan module 4 (Fan4(sys_fan4) fan) ok
2021 Jul 27 15:18:33 switch %$ VDC-1 %$ %USER-2-SYSTEM_MSG: <<%USBHSD-2-USB_SWAP>> USB insertion or removal detected - usbhsd
2021 Jul 27 15:18:33 switch %$ VDC-1 %$ %USER-2-SYSTEM_MSG: <<%USBHSD-2-MOUNT>> USB1: online - usbhsd
2021 Jul 27 15:18:34 switch %$ VDC-1 %$ %DAEMON-2-SYSTEM_MSG: <<%ASCII-CFG-2-CONF_CONTROL>> Binary restore - ascii-cfg[26262]
2021 Jul 27 15:18:36 switch %$ VDC-1 %$ netstack: Registration with cli server complete
2021 Jul 27 15:18:47 switch %$ VDC-1 %$ %USER-2-SYSTEM_MSG: ssnmgr_app_init called on ssnmgr up - aclmgr
2021 Jul 27 15:18:53 switch %$ VDC-1 %$ %USER-0-SYSTEM_MSG: end of default policer - copp
2021 Jul 27 15:19:01 switch %$ VDC-1 %$ %VDC_MGR-2-VDC_ONLINE: vdc 1 has come online


User Access Verification
switch login: admin
Password:

switch# sh ver
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (C) 2002-2018, Cisco and/or its affiliates.
All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under their own
licenses, such as open source. This software is provided "as is," and unless
otherwise stated, there is no warranty, express or implied, including but not
limited to warranties of merchantability and fitness for a particular purpose.
Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or
GNU General Public License (GPL) version 3.0 or the GNU
Lesser General Public License (LGPL) Version 2.1 or
Lesser General Public License (LGPL) Version 2.0.
A copy of each such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://opensource.org/licenses/gpl-3.0.html and
http://www.opensource.org/licenses/lgpl-2.1.php and
http://www.gnu.org/licenses/old-licenses/library.txt.

Software
BIOS: version 5.3.1
NXOS: version 9.2(2)
BIOS compile time: 05/17/2019
NXOS image file is: bootflash:///nxos.9.2.2.bin
NXOS compile time: 11/4/2018 21:00:00 [11/05/2018 06:11:06]


Hardware
cisco Nexus 3172T Chassis
Intel(R) Pentium(R) CPU @ 2.00GHz with 4030416 kB of memory.
Processor Board ID FOC213044TU

Device name: switch
bootflash: 1859256 kB
usb1: 0 kB (expansion flash)

Kernel uptime is 0 day(s), 0 hour(s), 2 minute(s), 3 second(s)

Last reset at 319366 usecs after Tue Jul 27 15:24:43 2021
Reason: Reset Requested by CLI command reload
System version: 9.2(2)
Service:

plugin
Core Plugin, Ethernet Plugin

Active Package(s):

switch#

I think that all is ok

Do you know how upgrade from 9.2(2) to 9.3(7) ?

 

Yes, the upgrade looks good. The upgrade to 9.3.7 is done using the same command " install all ".

 

Take care,

Sergiu

Do you have correct path to Cisco Website with correct software (early I have to big file  ) ?

 

https://software.cisco.com/download/home/285001670/type/282088129/release/9.3(7)

 

There are two files listed there. The one blow is the image you are looking for:

 

Nexus 31xx Release 9.3(7) Compact Image
n3100-compact.9.3.7.bin
11-Mar-2021
642.04 MB
 
 
Cheers,
Sergiu

This is compact image it's ok ?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: