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
[root@4567e492e296 net_compliance]# uname -a
Linux 4567e492e296 4.9.125-linuxkit #1 SMP Fri Sep 7 08:20:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
SUMMARY
network-engine 2.7.5, the error message received when the command_parser template is "missing or invalid" no longer provides the file path/name within the message, rather only "None" is provided. As seen below, the filename and path are provided when going back to network-engine 2.7.3
STEPS TO REPRODUCE
Use command_parser with any filename that doesn't actually exist (or not in the path):
- name: PARSE THE RAW OUTPUTcommand_parser:
file: "{{ parser_template_dir }}/ios/show_run_interface_switch1.yaml"content: "{{ ansible_net_config }}"
EXPECTED RESULTS
Output similar to ansible-network.network-engine v2.7.3
fatal: [switch_hostname]: FAILED! => {}
MSG:
src [/var/lib/awx/projects/net_compliance/parser_templates/ios/show_run_interface_switch1.yaml] is either missing or invalid
ACTUAL RESULTS
Paste verbatim command output between quotes below -->
ansible-network.network-engine v2.7.5
fatal: [switch_hostname]: FAILED! => {}
MSG:
src [None] is either missing or invalid
The text was updated successfully, but these errors were encountered:
ISSUE TYPE
ANSIBLE VERSION
Network OS
Docker Container (awx_task):
SUMMARY
network-engine 2.7.5, the error message received when the command_parser template is "missing or invalid" no longer provides the file path/name within the message, rather only "None" is provided. As seen below, the filename and path are provided when going back to network-engine 2.7.3
STEPS TO REPRODUCE
Use command_parser with any filename that doesn't actually exist (or not in the path):
EXPECTED RESULTS
Output similar to ansible-network.network-engine v2.7.3
ACTUAL RESULTS
Paste verbatim command output between quotes below -->
ansible-network.network-engine v2.7.5
The text was updated successfully, but these errors were encountered: