You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dnac version is 2.3.3.5 and dnac collection is 6.6.0.
I try to delete IP pools from VN using cisco.dnac.sda_virtual_network_ip_pool, it show the below error messages.
TASK [Assign IP Pool to VN and fabric sites.] **************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: get_ip_pool_from_sda_virtual_network() missing 1 required positional argument: 'site_name_hierarchy'
fatal: [10.100.0.1]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}
===================================================================================
My playbook is as below:
Release IP Pool to VN and fabric sites.
hosts: dnac_servers
vars_files:
vars.yml
connection: local
gather_facts: no
tasks:
name: Assign IP Pool to VN and fabric sites.
cisco.dnac.sda_virtual_network_ip_pool:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
dnac_password: "{{dnac_password}}"
dnac_verify: "{{dnac_verify}}"
dnac_port: "{{dnac_port}}"
dnac_version: "{{dnac_version}}"
dnac_debug: "{{dnac_debug}}"
state: absent
virtualNetworkName: "OT"
ipPoolName: "HQ_VN_OT"
siteNameHierarchy: "Global/Shanghai/SHA-17/SH_Floor_1"
The text was updated successfully, but these errors were encountered:
I have tested with Ansible cisco.dnac 6.6.1 and dnacentersda 2.5.5, still output the below error message.
TASK [Release IP Pool to VN and fabric sites.] *************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible_collections.cisco.dnac.plugins.plugin_utils.exceptions.AnsibleSDAException
fatal: [10.100.0.1]: FAILED! => {"changed": false, "msg": "Could not get object to be delete {'status': 'failed', 'description': "'usedForWireless'", 'executionId': '65dc8cc5-c2e3-4f88-870b-63eae1b2c244'}"}
The message 'usedForWireless' looks strange. Would you please double check?
Before test ansible playbook, I have checked the DNAC API, it is works fine.
The dnac version is 2.3.3.5 and dnac collection is 6.6.0.
I try to delete IP pools from VN using cisco.dnac.sda_virtual_network_ip_pool, it show the below error messages.
TASK [Assign IP Pool to VN and fabric sites.] **************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: get_ip_pool_from_sda_virtual_network() missing 1 required positional argument: 'site_name_hierarchy'
fatal: [10.100.0.1]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}
===================================================================================
My playbook is as below:
Release IP Pool to VN and fabric sites.
hosts: dnac_servers
vars_files:
connection: local
gather_facts: no
tasks:
cisco.dnac.sda_virtual_network_ip_pool:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
dnac_password: "{{dnac_password}}"
dnac_verify: "{{dnac_verify}}"
dnac_port: "{{dnac_port}}"
dnac_version: "{{dnac_version}}"
dnac_debug: "{{dnac_debug}}"
state: absent
virtualNetworkName: "OT"
ipPoolName: "HQ_VN_OT"
siteNameHierarchy: "Global/Shanghai/SHA-17/SH_Floor_1"
The text was updated successfully, but these errors were encountered: