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
Action states do not produce valid configuration commands and muliple tracebacks
ISSUE TYPE
Bug Report
COMPONENT NAME
l2_interfaces
ANSIBLE VERSION
N/R
COLLECTION VERSION
cisco.iosxr 5.0.1
CONFIGURATION
OS / ENVIRONMENT
Cisco IOS XR Software, Version 7.0.2
Copyright (c) 2013-2020 by Cisco Systems, Inc.
Build Information:
Built By : ahoang
Built On : Fri Mar 13 22:27:54 PDT 2020
Built Host : iox-ucs-029
Workspace : /auto/srcarchive15/prod/7.0.2/xrv9k/ws
Version : 7.0.2
Location : /opt/cisco/XR/packages/
Label : 7.0.2
cisco IOS-XRv 9000 () processor
System uptime is 9 weeks 5 days 5 hours 6 minutes
fatal: [10.0.150.231]: FAILED! => changed=false
module_stderr: '''NoneType'' object is not iterable'
module_stdout: ''
msg: |-
MODULE FAILURE
See stdout/stderr for the exact error
invocation:
module_args:
config:
- encapsulation: null
l2protocol:
- cdp: null
cpsv: null
pvst: null
stp: forward
vtp: null
l2transport: true
name: GigabitEthernet0/0/0/4
native_vlan: 40
propagate: null
q_vlan: null
- encapsulation: null
l2protocol: null
l2transport: null
name: GigabitEthernet0/0/0/3.900
native_vlan: null
propagate: null
q_vlan:
- 20
running_config: null
state: replaced
msg: 'Elements value for option ''q_vlan'' found in ''config'' is of type <class ''ansible.parsing.yaml.objects.AnsibleUnicode''> and we were unable to convert to int: <class ''ansible.parsing.yaml.objects.AnsibleUnicode''> cannot be converted to an int
also, if any from q_vlan is removed
module_stderr: |-
l2transport l2protocol cpsv None
^
% Invalid input detected at '^' marker.
RP/0/RP0/CPU0:ios(config-if)#
module_stdout: ''
msg: |-
MODULE FAILURE
See stdout/stderr for the exact error
SUMMARY
Action states do not produce valid configuration commands and muliple tracebacks
ISSUE TYPE
COMPONENT NAME
l2_interfaces
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
cisco IOS-XRv 9000 () processor
System uptime is 9 weeks 5 days 5 hours 6 minutes
STEPS TO REPRODUCE
Playbooks added here are out of module examples
errors out as
replaced state
errors out with q_vlan value as any
also, if any from q_vlan is removed
notes -
the condition gets none at l2protocol
https://github.com/KB-perByte/iosxr/blob/5232275fcae9b9e928e145c74659d4a15e573662/plugins/module_utils/network/iosxr/config/l2_interfaces/l2_interfaces.py#L317
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: