IMC
cancel
Showing results for 
Search instead for 
Did you mean: 

IMC 7 Config deploy not working

 
markopolo
Occasional Visitor

IMC 7 Config deploy not working

Hi, I am having a problem with deploying config templates out to my 2920 series switches using IMC.

 

Telnet is set as the connection option in IMC and I can connect via putty to it. When I try to deploy or run a backup using TFTP the failure message is "TFTP server is not started" however, I have a TFTP server on the IMC server and can connect to it directly using the switch to copy or download. 

 

 

The log has errors which are as follows:

2014-08-06 10:58:20.942 [ERROR (1)] [THREAD(3836)] [CTclExecutor::exec_impl()] Failed to exec cmd: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve2500/exit_enable.tcl, error message: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve2500/exit_enable.tcl(7): error: send: spawn id exp4 not open
2014-08-06 10:58:20.942 [ERROR (11)] [THREAD(3836)] [CTelnetScriptProcessor::ExitToMode()] Fail to call oTclExecutor.execFile(), AdaptName = HPProcurve2500.file_name = exit_enable.tcl, DevIP = 172.20.139.20
2014-08-06 10:58:20.942 [ERROR (11)] [THREAD(3836)] [CTelnetScriptProcessor::gotoMode()] Fail to call exitToMode().AdaptName=HPProcurve2500.DevIP = 172.20.139.20.this mode=enable,exit to mode = 
2014-08-06 10:58:20.942 [ERROR (11)] [THREAD(3836)] [CTelnetScriptProcessor::logout()] Fail to call exitToMode(). AdaptName=HPProcurve2500. current mode = enable
2014-08-06 10:58:20.942 [INFO (0)] [THREAD(3836)] [CTclExecutor::exec_impl()] Begin to exec: close
2014-08-06 10:58:20.943 [ERROR (1)] [THREAD(3836)] [CTclExecutor::exec_impl()] Failed to exec cmd: close, error message: spawn_id: spawn id exp4 not open
2014-08-06 10:58:20.943 [ERROR (11)] [THREAD(3836)] [CTelnetScriptProcessor::logout()] Fail to close spawn.AdaptName=HPProcurve2500.current mode = enable
2014-08-06 10:58:20.943 [INFO (0)] [THREAD(3836)] [CTelnetScriptProcessor::logout()] End.
2014-08-06 10:58:20.944 [INFO (0)] [THREAD(3836)] [ScriptTool::execScriptAction()] ResultNo: 0, CmdResp: manager@172.20.139.20's password: 
HP J9728A 2920-48G Switch

 I have also tried with SSH/SFTP settings for config deployment and get the same error message. Any advice would be appreciated.

 

Cheers,

 

Mark

 

 

4 REPLIES
LindsayHill
Honored Contributor

Re: IMC 7 Config deploy not working

First guess would be that you don't have correct Telnet/SSH credentials assigned.

 

If you've got it set to Telnet mode, can you find the device in IMC, go to Configure -> Modify Telnet Settings, then click Test?

 

Do the same with SSH.

markopolo
Occasional Visitor

Re: IMC 7 Config deploy not working

Hi Lindsay,

 

Thanks for getting back to me.

 

I can confirm that testing telnet, SSH for individual devices completes successfully. I can also update the switches firmware and deploy CLI commands via deployment task successfully.

 

Regards,

 

Mark

LindsayHill
Honored Contributor

Re: IMC 7 Config deploy not working

Hmmm. Well, those tests verify that credentials are all good.

 

I have seen something similar before (specifically where you see this log: "Failed to exec cmd: close, error message: spawn_id: spawn id exp4 not open"), but I can't recall the exact circumstances.

 

Next things I'd be looking at:

* If you're using SFTP, check that 'ip ssh filetransfer' is configured

* If you're using Telnet, capture all traffic between the switch & IMC, and analyse what commands it's sending, and where it's getting stuck. Correlate these with the logfiles, and any temp files created in <IMC>/server/tmp.

 

If you like, you could email me the PCAP and log file, and I'll see if I can work out what's going on - lindsay AT lkhill DOT com.

Mauro Furini
Frequent Advisor

Re: IMC 7 Config deploy not working

You try to deploy the new configuration as a segment or CLI command?

If I remember well, to Procurve switches the segment method doesn't work, you can upload config only via CLI mode.