cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14513
Views
15
Helpful
13
Replies

Nexus 3k 6.0.2.A8.4a TO 7.0.3.I7.3 SRG error (0x404F0003)

varlotbolt
Level 1
Level 1

Hello guys,

I want to update a Nexus 3548 from 6.0.2.A8.4a to 7.0.3.I7.3 but after i am issuing the "show install all impact system"command i am getting the SRG error (0x404F0003) :

 

Extracting "system" version from image bootflash:/nxos.7.0.3.I7.3.bin.
[#] 0% -- FAIL. Return code 0x404F0003 (SRG file not present/cannot be opened).
Pre-upgrade check failed. Return code 0x40930012 (SRG extraction failed).

I did reboot to empty the log files as suggested in other threads but it didnt help, any ideas? 

 

Bootflash seems to have enough extra space for the decompression:

Usage for bootflash://
 1841655808 bytes used
 1985736704 bytes free
 3827392512 bytes total
iaag-rtryz-sni-inf-01a# 

Regards.

 

13 Replies 13

Kirk J
Cisco Employee
Cisco Employee

Greetings.

Based on current version, you  may be hitting CSCuo00926, which causes the /var/tmp/vdc.log to fill up.

Thinking you may need to manually clear that log via "filesys delete /var/tmp/vdc.log"command

Please run: 

show system internal dir /var/tmp
show install all failure-reason

If you need assistance, you may want to open a TAC case to confirm issue, and resolution.

 

Thanks,

Kirk...

 

Hello and thank you for your reply

Unfortunately the dir command seems not functional in my case:

 

Devname# show system internal dir /var/tmp dir
                                                        ^
% Invalid command at '^' marker.

 

Hardware
cisco Nexus 3548 Chassis ("48x10GE Supervisor")

 

Software
BIOS: version 2.0.6
loader: version N/A
kickstart: version 6.0(2)A8(4a)
system: version 6.0(2)A8(4a)
Power Sequencer Firmware:

Hi kirk, these commands you are mentioning are not working for my device.

 

So first i got the error that i have to do the COMPACT image:

 

Verifying image bootflash:/nxos.7.0.3.I7.3.bin for boot variable "system".
[# ] 2% -- FAIL. Return code 0x40930084 (Upgrade cannot be continued with non-compact image!. Please use scp compacting for a compact image and retry ISSU.).
Pre-upgrade check failed. Return code 0x40930011 (Image verification failed).

But after that i am getting again the 0x404F0003  error:

 

 

 448369333    Mar 19 11:26:46 2018  nxos.7.0.3.I7.3.bin --> COMPACT 

Extracting "system" version from image bootflash:/nxos.7.0.3.I7.3.bin.
[# ] 0% -- FAIL. Return code 0x404F0003 (SRG file not present/cannot be opened).
Pre-upgrade check failed. Return code 0x40930012 (SRG extraction failed).

 

Software
  BIOS:      version 2.0.6
  loader:    version N/A
  kickstart: version 6.0(2)A8(8)
  system:    version 6.0(2)A8(8)
  Power Sequencer Firmware: 
             Module 1: version v2.1
  BIOS compile time:       12/26/2014
  kickstart image file is: bootflash:///n3500-uk9-kickstart.6.0.2.A8.8.bin
  kickstart compile time:  1/19/2018 20:00:00 [01/20/2018 07:23:13]
  system image file is:    bootflash:///n3500-uk9.6.0.2.A8.8.bin
  system compile time:     1/19/2018 20:00:00 [01/20/2018 07:56:34]


Hardware
  cisco Nexus 3548 Chassis ("48x10GE Supervisor")

 

Please advice.

Thank you.

 

To fix this, you need to use the scp image compacting feature, the local image compacting is not supported.:

 https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus3000/sw/release/70372/n3k_70372_nxos_rn.html#_Toc498583962

Please do it “on the fly”, when downloading the image to the switch from its CLI via SCP, the compact option with copy command is allowed only with SCP protocol, the command is: 
switch# copy scp:<source image name> bootflash:<image name> compact vrf <vrf name> Note: if you already have the image on the bootflash, you’ll have to delete it first for the above command to work.

Hope this helps 

Thanks
--Vinit

Thank you for your reply, as i mentioned before, i did the compact transfer and as you can see in the "dir" command, the size is already compressed to 450meg instead of the default almost 1gig:

any other ideas please ?

nexus# copy scp:nxos.7.0.3.I7.3.bin bootflash:nxos.7.0.3.I7.3.bin compact
Enter vrf (If no input, current vrf 'default' is considered): 

RSA key fingerprint is SHA1:
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added (RSA) to the list of known hosts.
nxos.7.0.3.I7.3.bin 100% 918MB 695.9KB/s 22:31 
Copy complete, now saving to disk (please wait)...

nexusb# dir

448369333    Mar 19 10:54:41 2018  nxos.7.0.3.I7.3.bin

 

sysadmgrp1
Level 1
Level 1

Maybe I am having a dense moment here but I am trying to upgrade the OS on a brand new switch that is not on our network yet.  Is it possible to compact this file any other way than through scp?

Many many thanks to  Vinit Jain!

 

Here's what I did:

Copied the (non-compacted) "nxos.7.0.3.I7.3.bin" from usb1: to bootflash: and named the file "wheelie.bin"

Then I did a "copy scp:wheelie.bin bootflash:nxos.7.0.3.I7.3.bin compact vrf management" and used the switch's local IP on the mgmt 0 interface as the source IP (maybe you can also use the IP of a local loopback interface)

Afterwards "install all nxos bootflash:nxos.7.0.3.I7.3.bin" to complete the upgrade 

 

 

omg cisco, this is horrible.  Not everyone has a SCP server.  This is what i did.  I turned on the SCP feature on another nexus and ftp'd there, than SCP'd (doing compact) from that nexus switch.

 

This worked for me.  

ManuelRubio2020
Level 1
Level 1
I am having the same issue with a 3164 going from nxos.7.0.3.I7.5a.bin to nxos.7.0.3.I4.8.bin, I do have space.

Any ideas? Below my logs:

Thanks.

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 08.34
NXOS: version 7.0(3)I7(5a)
BIOS compile time: 04/26/2018
NXOS image file is: bootflash:///nxos.7.0.3.I7.5a.bin
NXOS compile time: 10/12/2018 19:00:00 [10/13/2018 03:16:04]


Hardware
cisco Nexus3000 C3164PQ Chassis (Nexus 9000 Series)
Intel(R) Xeon(R) CPU E5-2420 v2 @ 2.20GHz with 16399908 kB of memory.
Processor Board ID FDO223422VU

Device name: switch
bootflash: 51496280 kB
Kernel uptime is 0 day(s), 12 hour(s), 7 minute(s), 22 second(s)

Last reset at 17638 usecs after Fri Jan 17 03:06:20 2020
Reason: Reset Requested by CLI command reload
System version: 7.0(3)I7(5a)
Service:

plugin
Core Plugin, Ethernet Plugin

Active Package(s):

switch# show install all impact nxos bootflash:nxos.7.0.3.I4.8.bin
Installer will perform impact only check. Please wait.

"Failed to process nxos image".
Pre-upgrade check failed. Return code 0x404F0003 (SRG file not present/some modules are not supported in target image).
2020 Jan 17 15:15:15 switch %$ VDC-1 %$ %USER-0-SYSTEM_MSG: ISSU ERROR: nbi_open failed. - new_installer
switch# dir
4096 Jan 14 22:02:36 2020 .rpmstore/
4096 Jan 14 22:02:53 2020 .swtam/
0 Jan 14 22:02:46 2020 bootflash_sync_list
4096 Oct 26 21:53:01 2018 home/
337 Oct 26 21:55:11 2018 license_FDO223422VU_13.lic
4096 Jan 17 15:15:15 2020 lost+found/
702630912 Jan 17 03:49:28 2020 nxos.7.0.3.I4.8.bin
1006938112 Jan 14 21:49:57 2020 nxos.7.0.3.I7.5a.bin
0 Jan 14 22:03:20 2020 platform-sdk.cmd
4096 Oct 26 21:58:10 2018 scripts/
4096 Oct 26 21:57:54 2018 virtual-instance/

Usage for bootflash://
2105118720 bytes used
49799405568 bytes free
51904524288 bytes total
switch#

What is the full command you are using to get the command?  Also, have your tried skipping the impact and doing a "install all, etc."? 

 

 

Hello, This is the full command:

*nxos.7.0.3.I4.8.bin 100% 670MB 17.2MB/s
00:39*

*Copy complete, now saving to disk (please wait)...*

*Copy complete.*

*switch#*

*switch# install all nxos bootflash:nxos.7.0.3.I4.8.bin*

*Installer will perform compatibility check first. Please wait.*

*Installer is forced disruptive*



*"Failed to process nxos image".*

*Pre-upgrade check failed. Return code 0x404F0003 (SRG file not
present/some modules are not supported in target image).*

*2020 Jan 17 03:49:55 switch %$ VDC-1 %$ %USER-0-SYSTEM_MSG: ISSU ERROR:
nbi_open failed. - new_installer*

*switch#*


Hi, I am using:

 

switch# show ver

Software

  BIOS: version 08.34

  NXOS: version 7.0(3)I7(5a)

  BIOS compile time:  04/26/2018

switch#

switch#

switch#

switch# copy scp://vrxuser:vrxuser@192.168.1.1/opt/vr4/binaries/switch/cisco/nxos.7.0.3.I4.8.bin bootflash:/ vrf management

The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.

RSA key fingerprint is SHA256:GYITPHS/216GceHEOx+PYmwNrDpoFs8sq+EIH+maWLk.

Are you sure you want to continue connecting (yes/no)? yes

Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts.

vrxuser@192.168.1.1's password:

nxos.7.0.3.I4.8.bin                           100%  670MB  17.2MB/s   00:39

Copy complete, now saving to disk (please wait)...

Copy complete.

switch#

switch# install all nxos bootflash:nxos.7.0.3.I4.8.bin

Installer will perform compatibility check first. Please wait.

Installer is forced disruptive

 

"Failed to process nxos image".

Pre-upgrade check failed. Return code 0x404F0003 (SRG file not present/some modules are not supported in target image).

2020 Jan 17 03:49:55 switch %$ VDC-1 %$ %USER-0-SYSTEM_MSG: ISSU ERROR: nbi_open failed.  - new_installer

switch#

r.heitmann
Level 1
Level 1

well - this is usually _really_ simple, I had this just seconds ago..

Szenario

* given a non-XL Nexus 31..-Switch

Process

(1) you copy using a protocol of your choice (SCP if you like it) the new "nxos"-image

  * of course you chose the "compact"-image.

(2) you try "show install ..." and it fails with "SRG file missing", "SRG extraction failed", "SRG file not present/some modules are not supported in target image"

(3) you find, that the "bootflash:" is full

(4) you clean up

(5) "show install nxos" still fails.

Reason:

* the "copy"-process (task #1) aborted since there was not enough space

  * an incomplete part of the nxos-file has been transferred

  * so there really is no SRG-info available in this file

Solution:

* delete the broken nxos-file

* copy the nxos-file agein

should work.

Forum Tips: 1. Paste images inline - don't attach. 2. Always mark helpful and correct answers, it helps others find what they need.

Review Cisco Networking for a $25 gift card