11-14-2017 11:52 AM - edited 03-08-2019 12:44 PM
I am trying to upgrade from 6.0.2.U6.5c
to nxos.7.0.3.I4.7
, before upgrade i want to make sure it pass all checks but i got this error. This switch isn't in production yet but want to make sure it goes well and smooth. Am i doing something wrong?
Software
BIOS: version 2.6.0
loader: version N/A
kickstart: version 6.0(2)U6(5c)
system: version 6.0(2)U6(5c)
Power Sequencer Firmware:
Module 1: version v1.0
SFP uC: version 2.12
BIOS compile time: 08/06/2014
kickstart image file is: bootflash:///n3000-uk9-kickstart.6.0.2.U6.5c.bin
kickstart compile time: 4/6/2016 22:00:00 [04/07/2016 05:46:42]
system image file is: bootflash:///n3000-uk9.6.0.2.U6.5c.bin
system compile time: 4/6/2016 22:00:00 [04/07/2016 06:14:31]
Error:
Pre-upgrade check failed. Return code 0x40930012 (SRG extraction failed).
see full output.
switch# show install all impact system bootflash:nxos.7.0.3.I4.7.bin
Installer is forced disruptive
Verifying image bootflash:/n3000-uk9-kickstart.6.0.2.U6.5c.bin for boot variable "kickstart".
[########################################] 100% -- SUCCESS
Verifying image bootflash:/nxos.7.0.3.I4.7.bin for boot variable "system".
[########################################] 100% -- SUCCESS
Verifying image type.
[########################################] 100% -- SUCCESS
Extracting "system" version from image bootflash:/nxos.7.0.3.I4.7.bin.
[# ] 0% -- FAIL. Return code 0x404F0003 (SRG file not present/cannot be opened).
Pre-upgrade check failed. Return code 0x40930012 (SRG extraction failed).
Notes: I have also verify no TCP connection is opened base on this bug https://bst.cloudapps.cisco.com/bugsearch/bug/CSCut84783/?referring_site=bugquickviewredir
Also i have "reload" it many time to clean up /var/tmp. I am not seeing any space issue too.
switch# show system internal flash Mount-on 1K-blocks Used Available Use% Filesystem / 409600 77460 332140 19 /dev/root /proc 0 0 0 0 proc /post 2048 4 2044 1 none /var 409600 77460 332140 19 none /sys 0 0 0 0 none /debugfs 0 0 0 0 nodev /isan 1536000 784452 751548 52 none /nxos/tmp 40960 48 40912 1 none /var/tmp 409600 9056 400544 3 none /var/sysmgr 921600 128 921472 1 none /var/sysmgr/ftp 307200 100 307100 1 none /var/sysmgr/ftp/cores 102400 0 102400 0 none /dev/shm 643072 182692 460380 29 none /volatile 102400 0 102400 0 none /debug 20480 0 20480 0 none /dev/mqueue 0 0 0 0 none /mnt/cfg/0 114171 4149 104127 4 /dev/sda5 /mnt/cfg/1 113193 4149 103200 4 /dev/sda6 /var/sysmgr/startup-cfg 409600 20 409580 1 none /dev/pts 0 0 0 0 devpts /mnt/pss 114203 6137 102170 6 /dev/sda4 /mnt/plog 49024 1564 47460 4 /dev/mtdblock
In last option i have upgrade BIOS from 2.6 to 4.0.0, still no luck
Software BIOS: version 4.0.0 loader: version N/A kickstart: version 6.0(2)U6(5c) system: version 6.0(2)U6(5c)
I have confirmed md5sum too to make sure file isn't modified while copying. Any suggestion?
11-14-2017 11:58 AM
Do both the kick start image and system image exist on the flash?
What is the output of "dir"?
HTH
11-14-2017 12:02 PM - edited 11-14-2017 12:02 PM
In 7.x version they don't have kickstart separate file so i have tried following but still not working
switch# show install all impact kickstart bootflash:nxos.7.0.3.I4.4.bin system bootflash:nxos.7.0.3.I4.4.bin
Notes: This time i am trying following file instead of nxos.7.0.3.I4.7.bin (but getting same error)
nxos.7.0.3.I4.4.bin
switch# dir 4096 Oct 30 21:33:59 2017 .patch/ 84 Jul 12 14:11:37 2017 20170712_141119_poap_3679_init.log 168 Oct 30 21:19:12 2017 20171030_211744_poap_3681_init.log 1960 Nov 14 16:43:55 2017 20171114_164207_poap_3924_init.log 1225 Nov 14 18:39:58 2017 20171114_183847_poap_3926_init.log 173 Nov 14 17:55:24 2017 dhclient_log 37857280 Oct 30 21:25:27 2017 n3000-uk9-kickstart.6.0.2.U6.5c.bin 206969903 Oct 30 21:25:59 2017 n3000-uk9.6.0.2.U6.5c.bin 699334656 Nov 14 18:58:09 2017 nxos.7.0.3.I4.4.bin 1024 Oct 30 21:33:42 2017 sprom_cstruct_2_0_0 1024 Oct 30 21:34:16 2017 sprom_cstruct_3_0_0 4096 Jan 29 01:54:24 2010 vdc_2/ 4096 Jan 29 01:54:24 2010 vdc_3/ 4096 Jan 29 01:54:24 2010 vdc_4/ 4096 Jan 29 01:54:24 2010 virt_strg_pool_bf/ 4096 Oct 30 21:34:00 2017 virtual-instance/
Usage for bootflash://
1060663296 bytes used
548614144 bytes free
1609277440 bytes total
04-02-2018 08:30 PM
I think I just figured this out. In 7.x don't use the "install all system bootflash:..." use "install all nxos bootflash:..." This seems to kick off a whole different install process.
04-04-2018 01:30 AM
Issue
switch# show install all impact system bootflash:nxos.7.0.3.I4.1.bin (Note - there is no option for “show install all impact nxos”)
Installer is forced disruptive
Verifying image bootflash:/n3000-uk9-kickstart.6.0.2.U6.6.bin for boot variable "kickstart".
[########################################] 100% -- SUCCESS
Verifying image bootflash:/nxos.7.0.3.I4.7.bin for boot variable "system".
[########################################] 100% -- SUCCESS
Verifying image type.
[########################################] 100% -- SUCCESS
Extracting "system" version from image bootflash:/nxos.7.0.3.I4.7.bin.
[# ] 0% -- FAIL.
Return code 0x404F0003 (SRG file not present/cannot be opened).
Pre-upgrade check failed. Return code 0x40930012 (SRG extraction failed).
Searches on Cisco support forum site suggests this error is related to bootflash space/ established SFTP connections/ var/tmp directory. And the workaround (reload/clearing bootflash) from Cisco support forum didn’t work.
In this case, I execute install instead of verification as suggested on one of the forum and it works.
switch# install all nxos bootflash:nxos.7.0.3.I7.1.bin
Installer is forced disruptive
Verifying image bootflash:/nxos.7.0.3.I7.1.bin for boot variable "nxos".
[########################################] 100% -- SUCCESS
Verifying image type.
[########################################] 100% -- SUCCESS
Extracting "nxos" version from image bootflash:/nxos.7.0.3.I7.1.bin.
[########################################] 100% -- SUCCESS
Extracting "bios" version from image bootflash:/nxos.7.0.3.I7.1.bin.
[########################################] 100% -- SUCCESS
Performing runtime checks.
[########################################] 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 Unsupported in new image, module needs to be powered off
Images will be upgraded according to following table:
Module Image Running-Version New-Version Upg-Required
------ ---------------- ---------------------- ---------------------- ------------
1 kickstart 6.0(2)U6(6) 7.0(3)I7(1) yes
1 bios v1.2.0(08/25/2011) v4.4.0(07/12/2017) yes
Switch will be reloaded for disruptive upgrade.
Do you want to continue with the installation (y/n)? [n] y
08-04-2021 03:28 PM
Thanks yes it is working with me also to upgrade to nxos.7.0.3.I2.2b.bin
NX3000# install all nxos bootflash:
bootflash:/// bootflash://sup-1/ bootflash://sup-local/
bootflash://module-1/ bootflash://sup-active/
NX3000# install all nxos bootflash:///
bootflash:///.patch
bootflash:///20010101_131936_poap_4119_init.log
bootflash:///NX3000-startup-config
bootflash:///n3000-uk9-kickstart.6.0.2.U6.10.bin
bootflash:///n3000-uk9.6.0.2.U6.10.bin
bootflash:///nxos.7.0.3.I2.2b.bin
bootflash:///nxos.7.0.3.I7.9.bin
bootflash:///platform-sdk.cmd
bootflash:///sprom_cstruct_2_0_0
bootflash:///sprom_cstruct_3_0_0
bootflash:///vdc_2
bootflash:///vdc_3
bootflash:///vdc_4
bootflash:///virtual-instance
NX3000# install all nxos bootflash:///nxos.7.0.3.I2.2b.bin
Installer is forced disruptive
Verifying image bootflash:/nxos.7.0.3.I2.2b.bin for boot variable "nxos".
[########################################] 100% -- SUCCESS
Verifying image type.
[########################################] 100% -- SUCCESS
Extracting "nxos" version from image bootflash:/nxos.7.0.3.I2.2b.bin.
[########################################] 100% -- SUCCESS
Extracting "bios" version from image bootflash:/nxos.7.0.3.I2.2b.bin.
[########################################] 100% -- SUCCESS
Performing runtime checks.
[########################################] 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 Unsupported in new image, module needs to be powered off
Images will be upgraded according to following table:
Module Image Running-Version New-Version Upg-Required
------ ---------------- ---------------------- ---------------------- ------------
1 kickstart 6.0(2)U6(10) 7.0(3)I2(2b) yes
1 bios v1.7.0(06/23/2014) v3.5.0(09/14/2015) yes
Switch will be reloaded for disruptive upgrade.
Do you want to continue with the installation (y/n)? [n] y
Time Stamp: Thu Aug 5 01:22:17 2021
Install is in progress, please wait.
Performing runtime checks.
[########################################] 100% -- SUCCESS
Setting boot variables.
[########################################] 100% -- SUCCESS
Performing configuration copy.
[########################################] 100% -- SUCCESS
Module 1: Refreshing compact flash and upgrading bios/loader/bootrom/power-seq.
Warning: please do not remove or power off the module at this time.
Note: Power-seq upgrade needs a power-cycle to take into effect.
On success of power-seq upgrade, SWITCH OFF THE POWER to the system and then, power it up.
[########################################] 100% -- SUCCESS
Time Stamp: Thu Aug 5 01:26:07 2021
Finishing the upgrade, switch will reboot in 10 seconds.
NX3000# [ 2078.692035] writing reset reason 49,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide