You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a Pathfinder configuration, if an Edge node has the interface set for DHCP, eos_validate_state gives an error for that node and cannot create any reports.
Which component(s) of AVD impacted
eos_validate_state
How do you run AVD ?
Ansible CLI (with virtual-env or native python)
Steps to reproduce
Create a Pathfinder network with an Edge device that has an interface set for DHCP:
Then run a playbook to validate state. This is the playbook I used:
---
- name: Validate state for Pathfinderhosts: PF_NETWORKtasks:
- name: Validate states on EOS devicesansible.builtin.import_role:
name: arista.avd.eos_validate_state
In the Pathfinder_MR directory, you'll find four edges configured via DHCP in Region2.
It doesn't appear that validate_state recognizes DHCP as a valid option. DHCP will probably be fairly common in Pathfinder deployments.
### Relevant log output
```shell
TASK [arista.avd.eos_validate_state : Run eos_validate_state_runner] *********************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ValueError: 'dhcp' does not appear to be an IPv4 or IPv6 interface
fatal: [Edge20]: FAILED! => {"changed": false, "msg": "Error during plugin execution: 'dhcp' does not appear to be an IPv4 or IPv6 interface"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ValueError: 'dhcp' does not appear to be an IPv4 or IPv6 interface
fatal: [Edge22]: FAILED! => {"changed": false, "msg": "Error during plugin execution: 'dhcp' does not appear to be an IPv4 or IPv6 interface"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ValueError: 'dhcp' does not appear to be an IPv4 or IPv6 interface
fatal: [Edge23]: FAILED! => {"changed": false, "msg": "Error during plugin execution: 'dhcp' does not appear to be an IPv4 or IPv6 interface"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ValueError: 'dhcp' does not appear to be an IPv4 or IPv6 interface
fatal: [Edge24]: FAILED! => {"changed": false, "msg": "Error during plugin execution: 'dhcp' does not appear to be an IPv4 or IPv6 interface"}
Contributing Guide
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Thank you for reporting! @carl-baillargeon would you have time to take a look at this? I guess we should just ignore the IP associated tests when the interface IP is DHCP.
We do have fields for the peer_ip, so if useful we could still use that to ping the peer?
gmuloc
changed the title
DHCP Not Recognized in eos_validate_state for Pathfinder interfaces
Bug(eos_validate_state): DHCP not recognized for Pathfinder interfaces
Nov 15, 2024
Issue Summary
In a Pathfinder configuration, if an Edge node has the interface set for DHCP, eos_validate_state gives an error for that node and cannot create any reports.
Which component(s) of AVD impacted
eos_validate_state
How do you run AVD ?
Ansible CLI (with virtual-env or native python)
Steps to reproduce
Create a Pathfinder network with an Edge device that has an interface set for DHCP:
Then run a playbook to validate state. This is the playbook I used:
You can find a full topology here: https://github.com/tonybourkesdnpros/V3_Repo_Pathfinder.git
In the Pathfinder_MR directory, you'll find four edges configured via DHCP in Region2.
It doesn't appear that validate_state recognizes DHCP as a valid option. DHCP will probably be fairly common in Pathfinder deployments.
Contributing Guide
The text was updated successfully, but these errors were encountered: