aristanetworks / avd

Arista Validated Designs
https://avd.arista.com
Apache License 2.0
290 stars 209 forks source link

MLAG for only 1 node_group not possible #4015

Closed geckigek closed 5 months ago

geckigek commented 5 months ago

Issue Summary

HI there,

I am trying to implement MLAG with eos_design role. I added the mlag config to group 1. But I dont want the MLAG config group B. But the AVD build playbook outputs an error. The eos_design role needs to have a mlag_interface configured for "Name-of-L3Leaf2A". But I dont want to configure MLAG on group 2 and this is the regarding code:

Is this normal behaviour or is there something wrong?

node_groups:
    - group: Group_1
      bgp_as: "64901.11"
      mlag_interfaces: ["Ethernet52/1", "Ethernet52/1"]
      mlag_peer_ipv4_pool: 192.168.1.0/24
      mlag_peer_l3_ipv4_pool: 192.168.2.0/24
      nodes:
        - name: Name-of-L3Leaf-1A
          id: 21
         .......
        - name: Name-of-L3Leaf-1B
          id: 22
    - group: Group_2
      nodes:
        - name: Name-of-L3Leaf-2A    

Best regards

Stefan

Which component(s) of AVD impacted

eos_designs

How do you run AVD ?

Ansible CLI with AVD Runner

Steps to reproduce

No response

Relevant log output

: Set eos_designs facts] **************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible_collections.arista.avd.plugins.plugin_utils.errors.errors.AristaAvdMissingVariableError: 'mlag_interfaces' not set on 'Name-of-L3Leaf-2A.
fatal: [Name-of-L3Leaf-2A]: FAILED! => {"changed": false, "msg": "'mlag_interfaces' not set on 'Name-of-L3Leaf-2A. is required but was not found for host 'Name-of-L3Leaf-2A'"}

Contributing Guide

geckigek commented 5 months ago

Made a mistake in the grouping of the nodes. Issue is resolved :)