Closed marehler closed 1 month ago
Formatted error from the fabric module
TASK [cisco.nac_dc_vxlan.create : Manage fabric VXLAN-FABRIC-2 in NDFC] *****************************************************************************
task path: /Users/marehler/nac-vxlan/ansible-dc-vxlan-example/collections/ansible_collections/cisco/nac_dc_vxlan/roles/dtc/create/tasks/fabric.yml:31
fatal: [marehler_vnd2]: FAILED! => {"changed": false, "msg": "The following parameter(value) combination(s) are invalid and need to be reviewed:
Fabric: VXLAN-FABRIC-2,
FABRIC_INTERFACE_TYPE(p2p) requires UNDERLAY_IS_V6 != True. UNDERLAY_IS_V6 valid values: [False, True].
SUBNET_TARGET_MASK(30) requires UNDERLAY_IS_V6 == False. UNDERLAY_IS_V6 valid values: [False, True].
REPLICATION_MODE(Ingress) requires UNDERLAY_IS_V6 != True. UNDERLAY_IS_V6 valid values: [False, True].
OSPF_AUTH_ENABLE(False) requires UNDERLAY_IS_V6 == False, UNDERLAY_IS_V6 valid values: [False, True].
LOOPBACK0_IP_RANGE(10.2.0.0/22) requires UNDERLAY_IS_V6 == False, UNDERLAY_IS_V6 valid values: [False, True].
LOOPBACK1_IP_RANGE(10.3.0.0/22) requires UNDERLAY_IS_V6 == False, UNDERLAY_IS_V6 valid values: [False, True].
SUBNET_RANGE(10.4.0.0/16) requires UNDERLAY_IS_V6 == False, UNDERLAY_IS_V6 valid values: [False, True].
BGP_AUTH_ENABLE(False) requires UNDERLAY_IS_V6 == False. UNDERLAY_IS_V6 valid values: [False, True].
BFD_ENABLE(False) requires UNDERLAY_IS_V6 == False. UNDERLAY_IS_V6 valid values: [False, True].
ENABLE_NETFLOW(False) requires UNDERLAY_IS_V6 == False. UNDERLAY_IS_V6 valid values: [False, True]. ", "response": [{}], "result": [{}]}
Verified. Thank you @devegupt for fixing this issue.
Thanks @marehler!
Thanks @marehler
Creating a fabric with IPv6 underlay fails. Underlay configuration:
Error message:
When I try to manually create a fabric via API with the same fabric config, I cannot reproduce this error. Instead, I get errors indicating to remove REPLICATION_MODE, DEPLOY, and FABRIC_TYPE. I assume this error is not raised by NDFC, but by the cisco.dcnm.dcnm_fabric Ansible module.
When removing 'replication_mode' from the configuration data, a different error occurs at an earlier task: