Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

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

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
Hall of Fame Super Gold

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

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.

Hall of Fame Super Gold

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

Attached is my working setup of Zero-Touch.

Hall of Fame Super Gold

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

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.

17 REPLIES
Hall of Fame Super Gold

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

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?

New Member

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

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

Hall of Fame Super Gold

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

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?

New Member

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

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.

Hall of Fame Super Gold

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

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.

New Member

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

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

Hall of Fame Super Gold

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

Attached is my working setup of Zero-Touch.

New Member

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

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.

Hall of Fame Super Gold

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

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.

New Member

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

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.

Hall of Fame Super Gold

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

Use the built-in groups and try again.

New Member

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

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

Hall of Fame Super Gold

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

Thanks Vivek. 

Hall of Fame Super Gold

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

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.

New Member

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

hmm that could very well be the problem because I took the product id from the show version of the switch which needed the IOS upgrade.

Instead I should have looked for the product id on the chassis.

Good find.

I may get another batch of switches to upgrade so if I do, I'll try it out again and report into this thread.

Hall of Fame Super Gold

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

Thanks Vivek.  I'm curious to know the outcome.

Hall of Fame Super Gold

Re: Smart Install Image Upgrade Fails - Director (c3560) Client

match WS-C3560CG-8PC-S

One more thing, because my match statement looks like this, my image list filename has to look like this too: 3560CG-8PC-imagelist.txt

2767
Views
0
Helpful
17
Replies
CreatePlease login to create content