cisco.nxos.nxos_lag_interfaces KeyError in overridden state #452
Labels
bug
This issue/PR relates to a bug.
has_pr
This issue has an associated PR.
lag_interfaces
lag_interfaces resource module
SUMMARY
We're trying to run the following playbook on a nxos 9000v where no port-channel exists. So we first create a interface "port-channel99" and then running the nxos_lag_interfaces for configuring the corresponding interface. The main problem we're struggling with is the "overridden" state cause the playbook fails with
ISSUE TYPE
COMPONENT NAME
nxos_lag_interfaces
ANSIBLE VERSION
COLLECTION VERSION
STEPS TO REPRODUCE
Run the following playbook on a switch where no PortChannel exists
EXPECTED RESULTS
Correctly configure Port-Channel99
ACTUAL RESULTS
Seems to be an problem in source
and cause there is no really configured Port-Channel (only just the interface) h["members"] is the KeyError
This will fix the issue:
The text was updated successfully, but these errors were encountered: