Skip to content
New issue

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

Error AVD - ERROR! [swleaf]: 'validation Error:servers[23].name': the value 'free', is not unique between all list items as required. #4873

Open
1 task done
malikavd opened this issue Jan 13, 2025 · 1 comment
Labels
type: enhancement New feature or request

Comments

@malikavd
Copy link

Issue Summary

we have error messages after the migration of AVD from version 4.10.2 to 5.1 when we launch the playbook build.yml in a Dual DC L3LS architecture

ERROR! [swleaf]: 'validation Error:servers[23].name': the value 'free', is not unique between all list items as required.

Before, in version 4.10.2, we had warnings and now Errors

these are duplicates of server name are voluntary in the connected_endpoint.YML file and we wish to maintain them,

could you please help us to correct the problem ?

We tried to change the variable below from to without success

jinja2_extensions=jinja2.ext.loopcontrols,jinja2.ext.do
duplicate_dict_key=error

Regards.
Malik

Which component(s) of AVD impacted

eos_designs, eos_cli_config_gen

How do you run AVD ?

None

Steps to reproduce

No response

Relevant log output

No response

Contributing Guide

  • I agree to follow this project's Code of Conduct
@malikavd malikavd added the type: bug Something isn't working label Jan 13, 2025
@ClausHolbechArista
Copy link
Contributor

This is not a bug. We document that the name keys must be unique. I will change this to an enhancement request. There is no workaround for this. My suggestion would be to use name: free<some_number> as name.
Also take a look at the network_ports data model. If you define all your server ports under that as description: free but then have some of them overlapping with servers, the servers will take precendence.

@ClausHolbechArista ClausHolbechArista added type: enhancement New feature or request and removed type: bug Something isn't working labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants