- Community Home
- >
- Networking
- >
- IMC
- >
- Re: Deploy Configuration Fails - since E0403P04
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2016 08:26 AM - edited 08-10-2016 08:29 AM
08-10-2016 08:26 AM - edited 08-10-2016 08:29 AM
After the upgrade to patch 3 (E0403P04) the Configuration Deploy to our Cisco devices stopped working. This has been working like a charm earlier..
We are using SCP as transfer mode. All devices have their SCP server enabled. The adapter-index.xml-file is updated with all devices. All devices are accessible via AAA and TACACS. When logging into the devices the user is passed directly to Enable mode.
Upgraded to P06 but the error still resides.
When trying to deploy a configuration the following error appears.
Task Finished – Failed to execute script.
(Clicking Details)
Deploy running configuration file to device by script.
Failed to execute script.
1.Please check if the script is correct.
2.Please check if the network connection to device is normal.
3.Please check if the (T)FTP Server is running.
4.Please check if the FTP username and password are correct.
(Clicking link "Failed to execute script.")
Error Prompt:
/opt/iMC/server/bin/../../server/conf/adapters/ICC/Cisco/CiscoIOSGeneric/deploy_running_config_scp.tcl(28): error: can't read "enable_prompt": no such variable
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2016 04:11 PM
08-10-2016 04:11 PM
SolutionI'm looking at <IMC>/server/conf/adapters/ICC/Cisco/CiscoIOSGeneric/deploy_running_config_scp.tcl, and it doesn't really make sense. It is looking for $enable_prompt, but that doesn't apply when SCP'ing a file.
$enable_prompt is set in initialize.tcl, but that never gets called when doing an SCP.
I think someone at HP has been modifying some of the expect scripts, but they've blindly made that change to all the main expect loops.
My advice is to:
(A) Take a look at the main expect loop in CiscoASA/deploy_running_config_scp.tcl. Make the loop in the CiscoIOSGeneric/deploy_running_config_scp file look similar. Key points are that it does not have enable_prompt as one of the options, but it *does* have the "100%" match. Also,
(B) Log a support case with HP so they fix this in future IMC patches. Otherwise you'll have to keep making the same changes as above every time you update IMC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2016 04:32 PM
08-10-2016 04:32 PM
Re: Deploy Configuration Fails - since E0403P04
Wow, good catch! Thank you very much.
I removed
$enable_prompt { set loop false }
and it's working again!
I did check that script and found it weird that this variable wasn't referenced.. But I would never check in the ASA folder for advice. Cheers!
I will absolutely take this through our HPE support contact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2016 04:45 PM
08-10-2016 04:45 PM
Re: Deploy Configuration Fails - since E0403P04
Good to hear it's working.
I've written a few custom adapters over the years, so I'm used to looking around at the other adapters to see how things are done.