Ansible for Junos OS Troubleshooting Summary
Table 1 lists some common errors that you might encounter when you use the
juniper.device Ansible modules to manage Juniper Networks devices. For each
issue, the table provides a reference that has additional information about the error and
potential solutions to resolve the issue. However, every environment is unique, and a proposed
solution might not work in all cases.
| General Issue | Sample Errors | Reference |
|---|---|---|
|
Junos PyEZ |
|
Troubleshoot Junos PyEZ (junos-eznc) Install Errors for Ansible Modules |
|
Ansible collection and module resolution errors |
|
Troubleshoot Ansible Collection and Module Errors When Managing Junos Devices |
|
External connection plugins error (Occurs for Ansible |
|
External connection plugins that do not set _sub_plugin trigger errors |
|
Unreachable host |
|
Troubleshoot Failed Connection, Unknown Command, or Interpreter Not Found Errors |
|
Module interpreter not found / unknown command |
|
Troubleshoot Failed Connection, Unknown Command, or Interpreter Not Found Errors |
|
Unknown host or address errors |
|
|
|
Connection refused or socket error |
|
|
|
Host network OS error |
|
|
|
Authentication error |
|
|
|
Missing host or sock_fd error ( |
|
Providing Connection and Authentication Parameters for the Module |
|
|
|
|
|
Configuration timeout error |
|
|
|
Configuration lock error |
|
|
|
Configuration load error |
|
|
|
Configuration commit error |
|