kayobe physical network configure doesn't work with newer Arista eos_config modules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kayobe |
Triaged
|
Medium
|
Unassigned |
Bug Description
I have a fresh Kayobe deployment (2023.1) which has brought in arista.eos: 6.0.1 .
Trying to run kayobe physical network configure bombs out with:
```
TASK [arista-switch : Ensure Arista switches are configured] *******
Friday 15 March 2024 18:44:23 +0000 (0:00:00.853) 0:00:02.078 **********
fatal: [gbbrs-cl6-leaf3 -> localhost]: FAILED! => changed=false
msg: Connection type local is not valid for this module
```
Manually running `ansible-galaxy collection install arista.eos:2.2.0` , the module works.
kayobe/
```
module: eos_config
provider: "{{ arista_
src: arista-config.j2
```
but the `provider` config has been deprecated and removed from the Arista modules:
```
Deprecated
Starting with Ansible 2.5 we recommend using connection: network_cli.
Starting with Ansible 2.6 we recommend using connection: httpapi for eAPI.
This option will be removed in a release after 2022-06-01.
```
so it looks like either the arista.eos collection version must be pinned to an old one, or the `arista-switch` role needs to be updated to use network_cli.
Changed in kayobe: | |
importance: | Undecided → Medium |
status: | New → Triaged |