12-22-2023 04:51 AM
The apis involved in deploying templates to devices are hit and miss. It has worked OK in the past, but I'm now facing 2 different issues.
1) After calling Deploy Template V2 api, I get a taskid which I then usually query "status of template deployment" api to get the deployment status. The last few call I get "Going to deploy template "05f0a955-d664-493e-925d-fda181e4753f" in response->progress. It has stayed like that for a while now, with isError=false, but no endTime is being added - and therefor no "Deployment Id" is given in response->progress.
2) If I do get a Deploymentid in getTaskbyId api's response->progress, then when looking up this deployment id, it is always stuck in INIT and it will never get to SUCCESS status.
{
"deploymentId": "89491727-3f6f-4baf-b1dd-b46b8d73073d",
"templateName": "SwitchName - AP Switchport Config,
"templateVersion": "1",
"projectName": "Switches",
"status": "INIT",
"startTime": "11:59:06 22/12/2023",
"endTime": "",
"duration": "47 minutes 12 seconds",
"devices": []
}
Is anyone facing similar issues?
We are on DNAC v2.3.5.4-70852
Thanks
12-22-2023 08:38 AM
I think you should open a TAC case for troubleshooting this issue.
12-29-2023 02:31 AM
Hi,
After further troubleshooting, we found out that the "softwareType" was incorrect for the group of devices we were trying to deploy to. This was set to IOS thinking that this would also cater for IOS-XE, but this is not true - they are mutually exclusive.
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