Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.27 KB

issues_1.md

File metadata and controls

42 lines (34 loc) · 1.27 KB

The following example playbook fails when using cisco.dcnm version 2.4.0 (as do similar tasks in other playbooks).

- hosts: ndfc
gather_facts: false
roles:
- ndfc_network_replaced_all
vars:
    fabric_name: MSD

The error returned is, variously:

 "Invalid: Fabric mode is not multicast and Multicast Address: 239.1.1.0 is present",

 or 

 "Invalid: Ingress Replication is true and Multicast Address is 239.1.1.0"

There are two known workarounds:

  1. Downgrade to cisco.dcnm 2.3.0
  2. If running cisco.dcnm 2.4.0, set multicast_group_address: "" in roles/ndfc_network_replaced_all/tasks/worker.yml, like so:
# ndfc_network_replaced_all/tasks/worker.yml
- name: worker replaced FABRIC {{ network.value.fabric }} NETWORK {{ network.value.net_name }} VRF {{ network.value.vrf_name }} VLAN {{ network.value.vlan_id }} SUBNET {{ network.value.gw_ip_subnet }}"
  cisco.dcnm.dcnm_network:
    fabric: "{{ fabric_name }}"
    state: replaced
    config:
    - net_name: "{{ network.value.net_name }}"
      multicast_group_address: ""
      vrf_name: "{{ network.value.vrf_name }}"
      vlan_id: "{{ network.value.vlan_id }}"
      gw_ip_subnet: "{{ network.value.gw_ip_subnet }}"
      attach: "{{ network.value.attach }}"
  vars:
    ansible_connection: httpapi