cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
275
Views
0
Helpful
2
Replies

DNA API - Deploy template issues

81001
Level 1
Level 1

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

2 Replies 2

Preston Chilcote
Cisco Employee
Cisco Employee

I think you should open a TAC case for troubleshooting this issue.

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.