Open drobnymichal opened 4 months ago
Hello, I'm experiencing exactly the same problem on a Cisco Nexus 5k.
@drobnymichal Can you please share the output of show running-config | section ^vlan
and show vlan | json-pretty
from the target appliance?
SUMMARY
I am using nxos_vlans module for vlans deployment. However, the task returns the error mentioned below. I tried changing the version of this library (3.0, 4.4.0,5.3.0), but without success. I also tried Python 3.10 and Python 3.9 - same behavior.
This switch works fine:
This switch raises the described error:
ISSUE TYPE
COMPONENT NAME
nxos_vlans
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
PC: Ubuntu 22.04 switch:
STEPS TO REPRODUCE
EXPECTED RESULTS
Return or push VLANS from/to the device.
ACTUAL RESULTS
The task will terminate with the error below. I have tried other states, such as merged or replaced. It always ends with the error.