12-18-2011 05:09 PM
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.0default-router 192.168.100.254
file-server 192.168.100.13 ip dhcp excluded-address 192.168.100.250 192.168.100.254ip 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.tarconfig 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
Solved! Go to Solution.
12-18-2011 06:40 PM
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.
12-18-2011 06:44 PM
01-30-2012 01:20 PM
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.
12-18-2011 06:17 PM
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?
12-18-2011 06:24 PM
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
12-18-2011 06:34 PM
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?
12-18-2011 06:38 PM
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
and the imagelist would just contain the TAR file name.
12-18-2011 06:40 PM
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.
12-18-2011 06:41 PM
Thanks Leo. I'll give that a go and report back in an hour or two.
12-18-2011 06:44 PM
12-18-2011 07:59 PM
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 InstallImage Upgrade: i - in progress I - done X - failed
Config Upgrade: c - in progress C - done x - failedDirector Database:
DevNo MAC Address Product-ID IP_addr Hostname Status===== ============== ================= =============== ========== =========
0 0019.303c.1980 WS-C3560-24PS 192.168.100.254 smart-inst Director1 70ca.9b81.2c00 WS-C3750X-48P 192.168.100.52 Switch ACT
smart-install#smart-install#
smart-install#sh vstac download-status
SmartInstall: ENABLEDTotal 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 STARTEDsmart-install#sh run | beg vstack
vstack group custom New3750X product-idimage 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.0file-server 192.168.100.50
default-router 192.168.100.254!
vstack director 192.168.100.254vstack basic
!
Client
Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 15.0(1)SE, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupportCopyright (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.254Loading 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.
12-19-2011 12:58 PM
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.
12-19-2011 01:54 PM
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.
12-19-2011 04:44 PM
Use the built-in groups and try again.
12-19-2011 07:30 PM
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
12-19-2011 07:54 PM
Thanks Vivek.
01-30-2012 01:20 PM
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.
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: