04-08-2014 03:17 AM - edited 03-01-2019 06:00 AM
The Cisco NX-OS software consists of the kickstart image and the system image. The system image includes the software for the Cisco Nexus device and the Cisco Nexus Fabric Extenders (FEXs) that are connected to the switch. NX-OS supports a technology called In-Service Software Upgrade (ISSU) that allows a Cisco Nexus 5000 Series switches and any connected FEXs to be upgraded without any traffic disruption (with a brief control plane disruption). You can choose to do a disruptive upgrade, if one of the ISSU conditions are not met.
Trying to upgrade a Nexus 5596 switch but it fails. This can be checked using following command
Nexus5596.A2-C06# sh install all impact kickstart bootflash:n5000-uk9-kickstart.6.0.2.N2.3.bin system bootflash:n5000-uk9.6.0.2.N2.3.bin
Verifying image bootflash:/n5000-uk9-kickstart.6.0.2.N2.3.bin for boot variable "kickstart".
[####################] 100% -- SUCCESS
Verifying image bootflash:/n5000-uk9.6.0.2.N2.3.bin for boot variable "system".
[####################] 100% -- SUCCESS
Verifying image type.
[####################] 100% -- SUCCESS
Extracting "system" version from image bootflash:/n5000-uk9.6.0.2.N2.3.bin.
[# ] 0% -- FAIL. Return code 0x404F0003 (SRG file not present/cannot be opened).
Pre-upgrade check failed. Return code 0x40930012 (SRG extraction failed).
Getting error SRG file not present and SRG extraction failed.
Software
BIOS: version 3.6.0
loader: version N/A
kickstart: version 6.0(2)N1(2)
system: version 6.0(2)N1(2)
Hardware
cisco Nexus 5596 Chassis ("O2 48X10GE/Modular Supervisor")
Intel(R) Xeon(R) CPU with 8262944 kB of memory.
Processor Board ID FOC17xxxxx
Device name: Nexus5596.A2-C06
bootflash: 2007040 kB
If you are doing an ISSU you should do certain sanity checks to ensure that the system is ready and to understand the impact of ISSU:
When a software upgrade is done on a Cisco Nexus switch, it copies the upgrade image in the flash and decompress it. The error "SRG extraction failed" means a failure while decompressing the upgrade image file. If the image file is not decompressed properly the upgrade process can not continue.
Use command "show system internal dir /var/tmp" to check for unwanted files also check for overall utilization of the flash.
Nexus5596.A2-C06# sh system internal flash
Mount-on 1K-blocks Used Available Use% Filesystem
/ 409600 72812 336788 18 /dev/root
/proc 0 0 0 0 proc
/post 2048 4 2044 1 none
/var 409600 72812 336788 18 none
/sys 0 0 0 0 none
/isan 1536000 765456 770544 50 none
/var/tmp 307200 100 307100 1 none
/var/sysmgr 1024000 4 1023996 1 none
/nxos/tmp 40960 32 40928 1 none
/var/sysmgr/ftp 409600 68 409532 1 none
/var/sysmgr/ftp/cores 102400 0 102400 0 none
/callhome 61440 0 61440 0 none
/dev/shm 524288 284536 239752 55 none
/volatile 153600 0 153600 0 none
/debug 20480 0 20480 0 none
/dev/mqueue 0 0 0 0 none
/debugfs 0 0 0 0 nodev
/mnt/plog 49024 1360 47664 3 /dev/mtdblock2
/mnt/cfg/0 113794 4347 103572 5 /dev/sda5
/mnt/cfg/1 113794 4347 103572 5 /dev/sda6
/var/sysmgr/startup-cfg 409600 2860 406740 1 none
/dev/pts 0 0 0 0 devpts
/mnt/pss 113802 5402 102524 6 /dev/sda4
/bootflash 1612212 562324 967988 37 /dev/sda3
/proc/bus/usb 0 0 0 0 none
Nexus5596.A2-C06# show system internal dir /var/tmp
./ 680
../ 260
mysrg 1984
upgrade_status_file 1
mylogs 760
bootloader_ver 0
m2rib_ascii.3623 34
_clis_parse_tree_.log 2706
fcoe_mgr_init.log 15815
CSCub19397_debug 237
fcoe_mgr 0
fc-pcm-log-4225 757
fabric_start_cfg_mgr.log 761
issu_helper.log 224
stp.log.1 4316
fwm1.out 0
ntpd_1 0
ntp_client_1 0
igmp_restart.log 0
cfs_mac.log 332
radius_debug.log 232
security_stderr 77
security_stdout 0
aaa_debug.log 519
lcc.log 694
security_debug.log 647
cmp_slot_id.1 0
mvsh.3260 0
lockcisco 0
.flexlm/ 60
logs@ 20
first_setup.log 4745
boot_uptime.log 56
vsh/ 40
To resolve this issue free up the space in flash directory. Follow these steps:
1. In flash directory /var/tmp try to delete all .log files as these files are not required by the system. Do not delete any directory.
2. Check if there is an open telnet session locking a file in bootlash. The filename is "sup_params_info" and will be present in /var/tmp directory. Delete this file and see if you can continue with upgrade.
3. If still you are getting the error when trying to upgrade; reload the switch.
This document is created from following discussion
https://supportforums.cisco.com/discussion/12060756/nexus-5596-upgrade-602n23-failure
NX-OS Software Upgrade and Downgrade Guide
Configuration Rollback Overview and Guidelines
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: