We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
peer_group command for a neighbor in bgp_global is not working
arista.eos.eos_bgp_global
ansible [core 2.13.7] config file = /home/jrmann/development/ansible/ansible.cfg configured module search path = ['/home/jrmann/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/dist-packages/ansible ansible collection location = /home/jrmann/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible python version = 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] jinja version = 3.0.3 libyaml = True
# /home/jrmann/.ansible/collections/ansible_collections Collection Version ---------- ------- arista.eos 6.0.0
DEFAULT_HOST_LIST(/home/jrmann/development/ansible/ansible.cfg) = ['/home/jrmann/development/ansible/hosts'] DEFAULT_NO_LOG(/home/jrmann/development/ansible/ansible.cfg) = False DEFAULT_TIMEOUT(/home/jrmann/development/ansible/ansible.cfg) = 5 HOST_KEY_CHECKING(/home/jrmann/development/ansible/ansible.cfg) = False
Linux Host, Kernel 5.15.0-58-generic, Targetting cEOS 4.29.0.2F
Run playbook: ansible-playbook overlay-bgp.yml -u admin -k
--- - hosts: all gather_facts: false tasks: - name: EOS - Enable BGP process on Leaf arista.eos.eos_bgp_global: config: as_number: "{{ 6500 ~ leafnum }}" router_id: "{{ routerid }}" neighbor: - neighbor_address: "evpn" peer_group: "evpn" remote_as: "65000" update_source: "Loopback0" ebgp_multihop: set: false ttl: 2 send_community: set: true - peer_group: "evpn" neighbor_address: "10.2.2.1" when: inventory_hostname in groups['leaf'] - name: EOS - Enable BGP process on Spine arista.eos.eos_bgp_global: config: as_number: "65000" router_id: "{{ routerid }}" neighbor: - neighbor_address: "evpn" peer_group: "evpn" update_source: "Loopback0" next_hop_unchanged: true ebgp_multihop: set: true ttl: 2 send_community: set: true when: inventory_hostname in groups['spine']
Leaf Neighbors should be configured with a peer group provided. They are not. Additionally eBGP multi-hop is not configured.
peer group is blank, and failing on the switch
Below is the error for peer_group
ansible-playbook playbooks/overlay-bgp.yml -u admin -k SSH password: PLAY [all] ************************************************************************************************************************************************************************************************************************************************************************* [WARNING]: While constructing a mapping from /home/jrmann/development/ansible/group_vars/all, line 2, column 3, found a duplicate dict key (username). Using last defined value only. TASK [EOS - Enable BGP process on Leaf] ******************************************************************************************************************************************************************************************************************************************** skipping: [clab-srlceos01-clab-spine1] skipping: [clab-srlceos01-clab-spine2] fatal: [clab-srlceos01-leaf3]: FAILED! => {"changed": false, "module_stderr": "neighbor 10.2.2.1 peer group\r\n% Incomplete command\r\nclab-srlceos01-leaf3(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf2]: FAILED! => {"changed": false, "module_stderr": "neighbor 10.2.2.1 peer group\r\n% Incomplete command\r\nclab-srlceos01-leaf2(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf1]: FAILED! => {"changed": false, "module_stderr": "neighbor 10.2.2.1 peer group\r\n% Incomplete command\r\nclab-srlceos01-leaf1(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf5]: FAILED! => {"changed": false, "module_stderr": "neighbor 10.2.2.1 peer group\r\n% Incomplete command\r\nclab-srlceos01-leaf5(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf4]: FAILED! => {"changed": false, "module_stderr": "neighbor 10.2.2.1 peer group\r\n% Incomplete command\r\nclab-srlceos01-leaf4(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf6]: FAILED! => {"changed": false, "module_stderr": "neighbor 10.2.2.1 peer group\r\n% Incomplete command\r\nclab-srlceos01-leaf6(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf7]: FAILED! => {"changed": false, "module_stderr": "neighbor 10.2.2.1 peer group\r\n% Incomplete command\r\nclab-srlceos01-leaf7(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf8]: FAILED! => {"changed": false, "module_stderr": "neighbor 10.2.2.1 peer group\r\n% Incomplete command\r\nclab-srlceos01-leaf8(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"}
Below is the error for eBGP multihop
jrmann@clab1:~/development/ansible$ ansible-playbook playbooks/overlay-bgp.yml -u admin -k SSH password: PLAY [all] ************************************************************************************************************************************************************************************************************************************************************************* [WARNING]: While constructing a mapping from /home/jrmann/development/ansible/group_vars/all, line 2, column 3, found a duplicate dict key (username). Using last defined value only. TASK [EOS - Enable BGP process on Leaf] ******************************************************************************************************************************************************************************************************************************************** skipping: [clab-srlceos01-clab-spine1] skipping: [clab-srlceos01-clab-spine2] fatal: [clab-srlceos01-leaf4]: FAILED! => {"changed": false, "module_stderr": "neighbor evpn ebgp-multiphop 2\r\n% Invalid input\r\nclab-srlceos01-leaf4(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf2]: FAILED! => {"changed": false, "module_stderr": "neighbor evpn ebgp-multiphop 2\r\n% Invalid input\r\nclab-srlceos01-leaf2(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf1]: FAILED! => {"changed": false, "module_stderr": "neighbor evpn ebgp-multiphop 2\r\n% Invalid input\r\nclab-srlceos01-leaf1(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf5]: FAILED! => {"changed": false, "module_stderr": "neighbor evpn ebgp-multiphop 2\r\n% Invalid input\r\nclab-srlceos01-leaf5(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf3]: FAILED! => {"changed": false, "module_stderr": "neighbor evpn ebgp-multiphop 2\r\n% Invalid input\r\nclab-srlceos01-leaf3(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf7]: FAILED! => {"changed": false, "module_stderr": "neighbor evpn ebgp-multiphop 2\r\n% Invalid input\r\nclab-srlceos01-leaf7(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf6]: FAILED! => {"changed": false, "module_stderr": "neighbor evpn ebgp-multiphop 2\r\n% Invalid input\r\nclab-srlceos01-leaf6(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"} fatal: [clab-srlceos01-leaf8]: FAILED! => {"changed": false, "module_stderr": "neighbor evpn ebgp-multiphop 2\r\n% Invalid input\r\nclab-srlceos01-leaf8(config-s-ansible_16-router-bgp)#", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"}
The text was updated successfully, but these errors were encountered:
rohitthakur2590
Successfully merging a pull request may close this issue.
SUMMARY
peer_group command for a neighbor in bgp_global is not working
ISSUE TYPE
COMPONENT NAME
arista.eos.eos_bgp_global
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Linux Host, Kernel 5.15.0-58-generic, Targetting cEOS 4.29.0.2F
STEPS TO REPRODUCE
Run playbook:
ansible-playbook overlay-bgp.yml -u admin -k
EXPECTED RESULTS
Leaf Neighbors should be configured with a peer group provided. They are not.
Additionally eBGP multi-hop is not configured.
ACTUAL RESULTS
peer group is blank, and failing on the switch
Below is the error for peer_group
Below is the error for eBGP multihop
The text was updated successfully, but these errors were encountered: