07-16-2020 01:20 AM - edited 07-20-2020 03:54 AM
Hi
It seems that I am hitting a bug with pushing a very generic template for a C1111-8PLTEEAW* that is connected to WAN via wired interface Gi0/0/1. cEdge is running IOS-XE SDWAN version 16.12.3.0.3752. All controllers are running 19.2.2. The router has control connection built to the controllers and is online and reachable.
When pushing the template I get this log output in the GUI
[16-Jul-2020 9:48:14 CEST] Configuring device with feature template: generic_wired [16-Jul-2020 9:48:15 CEST] Generating configuration from template [16-Jul-2020 9:48:18 CEST] Checking and creating device in vManage [16-Jul-2020 9:48:20 CEST] Device is online [16-Jul-2020 9:48:20 CEST] Updating device configuration in vManage [16-Jul-2020 9:48:23 CEST] Pushing configuration to device. [16-Jul-2020 9:48:28 CEST] Pre-checks on vManage have passed. Continuing with pushing configuration to device. [16-Jul-2020 9:48:31 CEST] Pushing configuration to device. Please wait ... [16-Jul-2020 9:49:25 CEST] Template push failed after 3 retries. [16-Jul-2020 9:49:38 CEST] Device failed to process request. Error Message - completed-with-failure Error received from the device is : bad-cli - No controller Cellular 0/2/0, parser-context - No controller Cellular 0/2/0, parser-response - % Cannot remove controllers this wayError received from the device is : bad-cli - No interface Vlan1, parser-context - No interface Vlan1, parser-response - % Default interface VLAN 1 may not be deleted.Error received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip address
I also pulled up logs from the vManage nms.
From the logs attached it seems that the vManage is failing on some steps where it is trying to do a "no" command on some default configuration. See a snippet below (from :
Caused by: java.lang.Exception: <transaction-status> <controller-type-processed>vmanage</controller-type-processed> <transaction-state>completed-with-failure</transaction-state> <transaction-id>27786</transaction-id> <confd-errno>-1164</confd-errno> <confd-err-tag>Unknown</confd-err-tag> <cli-errors> <bad-cli>no controller Cellular 0/2/0</bad-cli> <err-loc>6</err-loc> <parser-context>no controller Cellular 0/2/0</parser-context> <parser-response> % Cannot remove controllers this way</parser-response> <confd-rollback>false</confd-rollback> </cli-errors> <cli-errors> <bad-cli>no interface Vlan1</bad-cli> <err-loc>14</err-loc> <parser-context>no interface Vlan1</parser-context> <parser-response> % Default interface VLAN 1 may not be deleted.</parser-response> <confd-rollback>false</confd-rollback> </cli-errors> <cli-errors> <bad-cli> ip address</bad-cli> <err-loc>6</err-loc> <parser-context> ip address</parser-context> <parser-response/> <confd-rollback>true</confd-rollback> </cli-errors> <cli-errors> <bad-cli> ip address</bad-cli> <err-loc>6</err-loc> <parser-context> ip address</parser-context> <parser-response/> <confd-rollback>true</confd-rollback> </cli-errors>
Note that there are two errors. The one in the blue with a confd-rollback status of false and the second in red with confd-rollback status of true. I am assuming the later is causing the task to fail.
Regards,
Rudi
07-20-2020 11:37 AM
07-20-2020 12:01 PM
Hi Manuel
No, I am still looking ways to come around this. I will post a solution as soon as it's available. I have another C1111-4PLTEEA router running the same version 16.12.3.0.3752, however this one is connecting via LTE and had no issues attaching the template.
07-20-2020 12:18 PM
07-20-2020 12:20 PM
07-20-2020 12:34 PM
07-20-2020 12:39 PM
07-22-2020 03:27 AM
Hi
I found a workaround and the template finally attached sucessfully. I did not upgrade however.
What is going on is essentially is vManage trying to delete the default config from cEdge and router is just not liking it. What you need to do is to include all the mandatory config in your device template.
In my logs above you can see two errors 1) No controller Cellular 0/2/0 and 2) No interface Vlan1. That is mandatory (default) config that vManage is trying to delete and this is preventing the template to attach. So I solved the problem by creating a feature template for cellular controller and a feature template for VPN interface SVI and choose to use vlan1 interface and used those in my parent device template. I also did the reset config in between just to start fresh.
Please see feature templates attached.
08-19-2020 11:47 AM
11-26-2020 05:21 PM
I opened a TAC because this issue is still not resolved, I did the wokaround by adding a celluarl controller feature template and now I can control my C1111 in vManage mode. However, I feel this is a bit ridiculous and an oversight by Cisco. TAC said that it's not a bug and it was designed this way. But why should I have to configured the cellular aspect of this router to migrate the cEdge from CLI mode to vManage mode...what If I have zero intentions of using the cellular WAN ports. My control is already UP using a physical WAN port.
TAC did seem to understand my POV and they create an enhancment request ID (see ID below).
I suggest others report to TAC and request the enhancment request be implemented.
Ian
*********
Below you can find the defect that has been filed as a result our discussion. For now it’s internal view only which means it is now visible on the internet and it might take a while from the developer team to share feedback with us.
CSCvw57187 bad-cli - No controller Cellular 0/2/0, parser-context ...
Thank you,
** NOTE: please include attach@cisco.com in your replies to have all the documentation attached to the case. **
.:|:.:|:.
CISCO
12-10-2020 06:10 AM
Try to update to version 17, then try
07-02-2021 12:10 AM
It works after attaching the cellular feature template to device template. Issue happened to me with 1161-8TEP model running 17.3.2 code. We have a lot devices with same model and software code running but didn't see this issue. Observed this issue only in new devices that are coming up with 17.2.1 image with SDWAN controller mode enabled as factory defaults.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide