-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Ansible Version
ansible [core 2.17.0]Ansible Collection Versions
Collection Version
---------------------------------------- -------
ansible.netcommon 5.3.0
ansible.posix 1.5.4
ansible.utils 2.11.0
cisco.dcnm 3.5.0
cisco.nac_dc_vxlan 0.3.0
cisco.nxos 5.3.0
community.general 8.5.0Cisco NDFC Version
12.2.2Cisco NX-OS Version
10.3(6)Which role is this issue related to?
cisco.nac_dc_vxlan.dtc.create
Which section of the data model is this issue related to?
vxlan.topology
Expected Behavior
Routed interfaces are configured on devices with IPv6 management addresses.
Actual Behavior
TASK [cisco.nac_dc_vxlan.create : Manage Interface Routed] ******************************************************************************************
fatal: [marehler_vnd3]: FAILED! => {"changed": false, "msg": "Error: Switches ['2001:420:448b:8006:fab2:0:0:13', '2001:420:448b:8006:fab2:0:0:23', '2001:420:448b:8006:fab2:0:0:24'] are not managable in Fabric 'VXLAN-FABRIC-2', No changes are allowed on these switches\n"}Ansible Playbook
---
# This is the main entry point playbook for calling the various roles in this collection.
- hosts: marehler_vnd3
any_errors_fatal: true
gather_facts: no
roles:
# -----------------------
# DataCenter Roles
# Role: cisco.netascode_dc_vxlan.dtc manages NDFC workflows
#
- role: cisco.nac_dc_vxlan.dtc.create
- role: cisco.nac_dc_vxlan.dtc.deploy
- role: cisco.nac_dc_vxlan.dtc.removeSteps to Reproduce
Use IPv6 management addresses not using double colons. Example:
---
vxlan:
topology:
switches:
- name: N9Kv-SPINE3
role: spine
serial_number: 940TOBQT4KY
management:
management_ipv6_address: 2001:420:448b:8006:fab2:0:0:13
default_gateway_v6: 2001:420:448b:8006::1
routing_loopback_id: 0
interfaces:
- name: Ethernet1/3
mode: routed
enabled: false
- name: Ethernet1/4
mode: routed
enabled: false
- name: Ethernet1/5
mode: routed
enabled: falseRelevant Debug Output
No response
Initial Analysis
- The issue is similar to TASK Add NDFC Fabric Devices <name> fails for IPv6 Devices #251. Same as cisco.dcnm.dcnm_inventory, the cisco.dcnm.dcnm_interface module does not properly handle IPv6 addresses in different representations.
- As a workaround for issue TASK Add NDFC Fabric Devices <name> fails for IPv6 Devices #251, I have changed my topology data not using double colons.
- However, while dcnm_inventory fails when using double colons, dcnm_interfaces fails when not using double colons.
Workaround
Use IPv6 addresses with double colons, e.g. 2001:420:448b:8006:fab2::13
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working