Loading...
Loading...
* Unable to push a template to a device with up/up control connections. 22-Mar-2023 16:15:06,511 UTC INFO [] [VmanageSyslogLogger] (device-action-push_feature_template_configuration-83) || {template-fragment-1/2: { "logid":"af9ae470-27cf-47e7-9f4d-3ff8bfd4524c”, "entry_time":1679501706511, "statcycletime":1679501706511, "logmodule":"template”, "logfeature":"template-device-config”, "loguser":"vnagrale”, "logusersrcip":"”, "logmessage":"Device became unreachable. Configuration template scheduled to be attached when device comes online”, "logdeviceid":"”, "auditdetails”: ["[22-Mar-2023 16:14:32 UTC] Configuring device with feature template: ”, "[22-Mar-2023 16:14:33 UTC] Checking and creating device in vManage”, "[22-Mar-2023 16:14:33 UTC] Generating configuration from template”, "[22-Mar-2023 16:14:41 UTC] Device is online”, "[22-Mar-2023 16:14:41 UTC] Updating device configuration in vManage”, "[22-Mar-2023 16:14:41 UTC] Sending configuration to device”, "[22-Mar-2023 16:15:06 UTC] Device became unreachable while pushing configuration. Mark it as pending.”, "[22-Mar-2023 16:15:06 UTC] Configuration template 22-Mar-2023 15:54:33,079 UTC INFO [] [AbstractNCSDeviceRPCUtils] (device-config-0)Failed to run device sync-from for >;" due to "java.lang.Exception: vedge-: transport timeout; closing session".
Found on vManage 20.6.2 & 20.6.3, but more versions could be affected.
Increase the NETCONF connection timeout settings for the affected device. These steps must be done for each affected device (this requires root access. TAC should be able to perform the following). Step 1: ncs_cli -u admin show devices device active-settings config devices device read-timeout 90 commit end Step 2: ncs_cli -u admin request devices device sync-from Step 3: Deploy the template You can also make the change globally for all devices using this method. 1.- Login to the vManage 2.- Request a consent token to gain Root Access to the device 3.- Once you are logged in as root, execute the following: VMANAGE~$ ncs_cli -u admin VMANAGE# config Entering configuration mode terminal vmanage_20_6_5(config)# devices global-settings read-timeout 90 vmanage_20_6_5(config)# com 4.- Attempt the template attachment again, this time should work 5.- Go back to NCS and execute the following: ncs_cli -u admin request devices device sync-from
The underlying issue is that the device is taking too long to respond to the vManage's NETCONF requests during the template push, leading the vManage to think that the device has gone unreachable. The root cause of why the device is taking so long to respond is still being investigated.
Cisco Integration
Learn more about where this data comes from
BugZero Plan
Streamline upgrades with automated vendor bug scrubs
BugZero Prevent
Wish you caught this bug sooner? Get proactive today.