cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2150
Views
5
Helpful
9
Replies

POAP fails while flashing NEXUS 9000.

Guru Prasad
Level 1
Level 1

Below is the logs recorded during POAP. When I try the same command manually in a configured switch it's working. But during POAP process it fails. Can anyone shed some light on this issue. Please help.

 

2017 Oct 25 07:31:10 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: S/N[FDO21182MWJ]-MAC[00:27:E3:AB:9E:10] - Installing 7x NXOS image - script.sh

2017 Oct 25 07:31:10 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: S/N[FDO21182MWJ]-MAC[00:27:E3:AB:9E:10] - config terminal ; boot nxos bootflash:/nxos.7.0.3.I4.6.bin - script.sh

2017 Oct 25 07:31:26 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: S/N[FDO21182MWJ]-MAC[00:27:E3:AB:9E:10] - Failed to set NXOS boot variable to bootflash:/nxos.7.0.3.I4.6.bin - script.sh

2017 Oct 25 07:31:26 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: S/N[FDO21182MWJ]-MAC[00:27:E3:AB:9E:10] - "Performing image verification and compatibility check, please wait....\nbootvar config command failed to apply\n\nCmd exec error.\nERROR: ld.so: object '/isan/lib/libutils.so' from LD_PRELOAD cannot be preloaded: ignored.\nERROR: ld.so: object

1 Accepted Solution

Accepted Solutions

The image with which I was trying was probably corrupted/md5 problem. That is the reason for failing. If i try the same procedure with different image it work fine.

View solution in original post

9 Replies 9

Rick1776
Level 5
Level 5
Does the the switch have a configuration already? If so that would cause this failure.

The switch is in factory reset state, I'm trying to configure it with POAP.

Did you get your script from the following location:

https://github.com/datacenter/nexus9000/blob/master/nx-os/poap/poap.py

Yes I have taken poap.py from the same location.

Can you send the script you're using?

Rick1776
Level 5
Level 5
Try this, have the image locally on flash and go through the process again to see if your script works.

If the version of image in factory reseted switch is different from the image mentioned in poap.py script it fails with the logs that I have mentioned in the beginning.

But if the version of image in factory reseted switch is same as the image given in poap.py script it is successful (since the image copy will be skipped in POAP as the image version is same and also will be present in bootflash).

The image with which I was trying was probably corrupted/md5 problem. That is the reason for failing. If i try the same procedure with different image it work fine.

That would make sense. Thanks for sharing.

Review Cisco Networking for a $25 gift card