09-18-2022 12:01 PM - edited 09-18-2022 01:28 PM
So beginning with 2.3.3.4 the Add ip pool to virtual network has started to fail. We have been using this call in a script for a while now, but it now dislikes our names for the actual vlans. The structure that worked with 2.2.x.x was:
{
"siteNameHierarchy": "Global/Sites/Testsite",
"virtualNetworkName": "vrf1",
"isLayer2Only": false,
"ipPoolName": "vrf1-pool1",
"vlanId": "1023",
"vlanName": "vrf1_pool1",
"autoGenerateVlanName": false,
"scalableGroupName": "some_sgroup",
"isL2FloodingEnabled": false,
"isThisCriticalPool": false,
"isWirelessPool": false,
"isIpDirectedBroadcast": false,
"isCommonPool": false,
}
When this payload is sent in 2.3.3.4 we get:
{
"status": "failed",
"description": "'namespace'",
"taskId": null,
"taskStatusUrl": "/dna/intent/api/v1/task/null",
"executionStatusUrl": "/dna/intent/api/v1/dnacaap/management/execution-status/56e16f0c-57e4-4909-a461-772cd488292f",
"executionId": "56e16f0c-57e4-4909-a461-772cd488292f",
"response": {
"failureReason": "Unknown Error: An unexpected condition was encountered. Please try after the system is restored."
}
}
However, if i change "vlanName": "vrf1_pool1" to "vlanName": "vrf1_pool11" or some other small change, it works as expected. It seems like the "namespace" error indicates that this vlanName has been used previously (as it has), and cant be used again. The problem here is that we have 100 sites already using the same vlanname, and we use that name in our Auth-policies in ISE to not make 100 different policies to assign vlan/ip-pools. Anyone seen the same in 2.3.3.4?
Solved! Go to Solution.
12-25-2022 04:58 AM
The fix is in 2.3.3.6 (available now) or 2.3.5 coming Q1 2023.
09-19-2022 11:06 AM
Funny thing is, when the internal API that DNAC uses itself, the vlanName can be the same as i want it to be (vrf1_pool1 say), but in the internal API they reference the namespace to use this vlanName, whereas the external API doesnt. Maybe something wrong in that part in 2.3.3.4.
09-21-2022 06:06 AM - edited 09-21-2022 06:09 AM
I'm experiencing the same issue after upgrading to 2.3.3.4
VLAN name 'Corp-Data' is used in other fabric sites for the same reason of simplifying the ISE policy. I can configure the IP pool manually using the same VLAN name via the DNAC GUI without any issues. It just fails when using the external API
Let me know if you find a solution to this.
10-03-2022 11:25 PM
Update - Cisco has filed this Bugid for anyone looking for a solution, follow this:
https://bst.cloudapps.cisco.com/bugsearch/bug/CSCwd16487
12-25-2022 04:58 AM
The fix is in 2.3.3.6 (available now) or 2.3.5 coming Q1 2023.
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