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

Smart Install Image Upgrade Fails - Director (c3560) Client (c3750X)

Vivek Bannore
Level 1
Level 1

Hi community,

Just need some assistance to understand why smart install image upgrade fails coming via a Director (c3560) to clients (c3750X).

Director Configuration (c3560)

vstack director 192.168.100.254

vstack basic

vstack dhcp-localserver SmartUpgrade

address-pool 192.168.100.0 255.255.255.0

default-router 192.168.100.254

file-server 192.168.100.13

ip dhcp excluded-address 192.168.100.250 192.168.100.254

ip dhcp excluded-address 192.168.100.1 192.168.100.49

vstack group custom New3750X product-id

image tftp://192.168.100.13/Images/c3750e-universalk9-tar.122-58.SE2.tar

config tftp://192.168.100.13/New3750X-config.txt

match WS-C3750X-48P

!

The client (c3750x) would automatically get an IP from the address pool - 192.168.100.x/24 when directly connected to the Director. The image transfer starts but after it completes, the following is seen on the client's

Switch#

Switch#

*Mar  1 00:48:31.828: %SMI-6-UPGRD_STARTED: Device (IP address: 192.168.100.51) image upgrade has started

Loading Images/c3750e-universalk9-tar.122-58.SE2.tar from 192.168.100.13 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[OK - 21186560 bytes]

Could not buffer tarfile...using multiple downloads

examining image...

%Error opening tftp://192.168.100.13/c3750e-universalk9-mz.122-58.SE2/ (No such file or directory)

%Error opening flash:update/info (No such file or directory)

ERROR: Image is not a valid IOS image archive.

*Mar  1 00:52:03.170: VSTACK_ERR:

!!smi_ibc_dl_handle_events: download not successful

*Mar  1 00:52:03.170: %SMI-3-UPGRD_FAILED: Device (IP address: 192.168.100.51) image upgrade failed

From the above statements, I'm unsure as to why the switch keeps looking for the path

tftp://192.168.100.13/c3750e-universalk9-mz.122-58.SE2/

even though the IOS image path specified in the vstack custom profile is

tftp://192.168.100.13/Images/c3750e-universalk9-tar.122-58.SE2.tar

I also tried to force the image upgrade to the client from the director's CLI using the following command, but it was unsuccessful as well with the above specified error statements

vstack download-image tftp://192.168.100.13/Images/c3750e-universalk9-tar.122-58.SE2.tar 192.168.100.52 cisco reload in 00:01

Regards

Vivek Bannore

3 Accepted Solutions

Accepted Solutions

That's right.  Smart Install doesn't like "/" or "\".  So change the TFTP server to be pointing to the same folder as the TAR files and the imagelist file should only contact the filename and nothing else.

Give that a go.  This is my setup and it's been working since.

View solution in original post

Attached is my working setup of Zero-Touch.

View solution in original post

smart-install#sh run | beg vstack

  vstack group custom New3750X product-id

  image tftp://192.168.100.50/c3750e-universalk9-tar.122-58.SE2.tar

  match WS-C3750X-48P

Hi Vivek,

I believe I know where the problem is.  Your "match" statement is incomplete.   Can you specify the suffix bit?  Whether or not it's a "-S" or a "-E"?

This is what my match statement looks like:   match WS-C3560CG-8PC-S

My custom group works and it's able to download the IOS and the config file without any issues.

View solution in original post

17 Replies 17

Leo Laohoo
Hall of Fame
Hall of Fame
image tftp://192.168.100.13/Images/c3750e-universalk9-tar.122-58.SE2.tar

Is this where your TFTP server is pointing at?  Smart Install does NOT like "/".

Do you have an "imagelist" file?

Thanks for commenting leo.

The TFTP server was external and its IP was 192.168.100.13.

Yes the imagelist was automatically created by the director and uploaded onto the TFTP server to the directory

"tftp://192.168.100.13/Images". The imagelist contained "Images/c3750e-universalk9-tar.122-58.SE2.tar".

Regards

Vivek

The imagelist contained "Images/c3750e-universalk9-tar.122-58.SE2.tar".

That's not right.  The imagelist file should only contain "c3750e-universalk9-tar.122-58.SE2.tar" and nothing else.

I meant, where is the TFTP server directory pointing at?  Is it pointing directly at the /image folder?

No the TFTP server just points to a root folder within which a Images folder was created. Thats why the path in the custom profile on director was given as

tftp://192.168.100.13/Images/c3750e-universalk9-tar.122-58.SE2.tar

I guess if I changed the root folder of the TFTP server to be the Images folder then the path would be

tftp://192.168.100.13/c3750e-universalk9-tar.122-58.SE2.tar

and the imagelist would just contain the TAR file name.

That's right.  Smart Install doesn't like "/" or "\".  So change the TFTP server to be pointing to the same folder as the TAR files and the imagelist file should only contact the filename and nothing else.

Give that a go.  This is my setup and it's been working since.

Thanks Leo. I'll give that a go and report back in an hour or two.

Attached is my working setup of Zero-Touch.

Thanks for the document. Thats exactly what I have configured except the TFTP path.

Anyways I modified the TFTP server to point to the correct folder and then saw the following messages -

Director

smart-install#sh vstac status

SmartInstall:  ENABLED

Device Status:   ACT - Active        INA - Inactive     PND - Pending Update

                 HLD - On-hold       DNY - Denied       NSI - Non Smart Install

Image Upgrade:   i - in progress     I - done           X - failed

Config Upgrade:  c - in progress     C - done           x - failed

Director Database:

DevNo  MAC Address     Product-ID         IP_addr          Hostname    Status

=====  ==============  =================  ===============  ==========  =========

0      0019.303c.1980  WS-C3560-24PS      192.168.100.254  smart-inst  Director

1      70ca.9b81.2c00  WS-C3750X-48P      192.168.100.52   Switch      ACT

smart-install#

smart-install#

smart-install#sh vstac download-status

SmartInstall:  ENABLED

Total no of entries : 1

No   client-IP        client-MAC      Method          Image-status  Config-status

===  ===============  ==============  ==============  ============  =============

1    192.168.100.52   70ca.9b81.2c00  zero-touch      NOT STARTED   NOT STARTED


smart-install#sh run | beg vstack

vstack group custom New3750X product-id

image tftp://192.168.100.50/c3750e-universalk9-tar.122-58.SE2.tar

match WS-C3750X-48P

!

!

vstack group built-in 3750x 48poe

image tftp://192.168.100.50/c3750e-universalk9-tar.122-58.SE2.tar

!

!

vstack dhcp-localserver SmartUpgrade

address-pool 192.168.100.0 255.255.255.0

file-server 192.168.100.50

default-router 192.168.100.254

!

vstack director 192.168.100.254

vstack basic

!

Client

Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 15.0(1)SE, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2011 by Cisco Systems, Inc.

Compiled Wed 20-Jul-11 09:09 by prod_rel_team

*Mar  1 00:01:33.725: %STACKMGR-5-MASTER_READY: Master Switch 1 is READY

*Mar  1 00:01:35.319: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to down

*Mar  1 00:01:35.328: %USB_CONSOLE-6-MEDIA_RJ45: Console media-type is RJ45.

*Mar  1 00:01:37.190: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/1, changed state to up

*Mar  1 00:01:37.190: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to down

*Mar  1 00:01:38.238: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/1, changed state to up*Mar  1 00:01:41.057: %PLATFORM-6-FRULINK_INSERTED: FRULink 1G module inserted in Switch 1.*Mar  1 00:02:06.273: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up

*Mar  1 00:02:25.357: AUTOINSTALL: Vlan1 is assigned 192.168.100.52 got vend id vend spec. info ret: succeed got vend id vend spec. info ret: succeed

*Mar  1 00:02:45.859: %SMI-3-IMG_CFG_NOT_CONFIGURED: IBC (IP Address :192.168.100.52) : The Director does not have a image file or a configuration file configured for this Product-ID*Mar  1 00:02:45.867: %SMI-3-UPGRD_FAILED: Device (IP address: 192.168.100.52) image upgrade failed

*Mar  1 00:02:45.867: %SMI-6-AUTOINSTALL: Continue AUTOINSTALL

*Mar  1 00:02:45.867: %SMI-6-AUTOINSTALL: Aborted AUTOINSTALL*Mar  1 00:02:45.867: AUTOINSTALL: Obtain tftp server address (opt 150) 192.168.100.254%Error opening tftp://192.168.100.254/dummy (No such file or directory)

%Error opening tftp://192.168.100.254/dummy (No such file or directory)

%Error opening tftp://192.168.100.254/dummy (No such file or directory)%Error opening tftp://255.255.255.255/dummy (Timed out)

%Error opening tftp://255.255.255.255/dummy (Timed out)

%Error opening tftp://255.255.255.255/dummy (Timed out)*Mar  1 00:04:28.099: AUTOINSTALL: Obtain tftp server address (opt 150) 192.168.100.254

Loading client_cfg.txt from 192.168.100.254 (via Vlan1): !

[OK - 97 bytes]

Trying 192.168.100.254, 29358 ... Open

[Connection to 192.168.100.254 closed by foreign host]

*Mar  1 00:04:45.439: %SYS-5-CONFIG_I: Configured from tftp://192.168.100.254/client_cfg.txt by console

*Mar  1 00:04:48.450: %LINK-5-CHANGED: Interface FastEthernet0, changed state to administratively down

Nothing happens further on the Client and I'm just viewing the client's console - no clicks within the console window.

vstack group custom New3750X product-id

match WS-C3750X-48P

Why do you have these two lines?   Look what options I have in my VStack Director:

vDirector(config)#vstack group built-in 3750x ?

  24     3750x 24 port gig switch

  24poe  3750x 24 port gig POE switch

  48     3750x 48 port gig switch

  48poe  3750x 48 port gig POE switch

What IOS version is the director?

I notice that the 3750X is trying to load 15.0(1)SE.  This is not related to your issue but I'd like to recommend that you stay away from IOS version 15.0(1)SE and 15.0(1)SE1.

15.0(1)SE has a memory leak issue while 15.0(1)SE1 has been "pulled" due to the discovery of critical bugs.

I created a custom group (matches client's product id) to ensure the commands are taken in but really doesn't matter because I get the same response on the clients whether I use a built-in or custom group.

Director, c3560, is 12.2(55)SE4 and the clients, c3750x, out of the box come loaded with 15.0(1)SE which I still have kept intact in the flash. There is enough memory to load another IOS and boot of it, which is what I have done by manually loading the .bin file since vstack keeps failing.

Use the built-in groups and try again.

Hi Leo,

As mentioned in my previous post, it doesn't matter whether I use builtin or custom group, the outcome is the same.

Anyways, I have run out of time on this issue. Thanks for all your help.

I may revisit this issue but then make the 3750X as the director. It could have been that the 3560 was just throwing trantrums being the director.

One of your post did give me new information in relation to no subdirectory on the tftp path. So have marked it as a correct answer. I think I will mark your document as a correct answer as well so that it helps the community as well.

Regards

Vivek

Thanks Vivek. 

smart-install#sh run | beg vstack

  vstack group custom New3750X product-id

  image tftp://192.168.100.50/c3750e-universalk9-tar.122-58.SE2.tar

  match WS-C3750X-48P

Hi Vivek,

I believe I know where the problem is.  Your "match" statement is incomplete.   Can you specify the suffix bit?  Whether or not it's a "-S" or a "-E"?

This is what my match statement looks like:   match WS-C3560CG-8PC-S

My custom group works and it's able to download the IOS and the config file without any issues.

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: