[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details [WARNING]: Could not match supplied host pattern, ignoring: unprovisioned PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [x1] ok: [x2] ok: [x3] ok: [dut] TASK [Find device readiness script] ******************************************** ok: [x1] ok: [x2] ok: [x3] ok: [dut] TASK [Wait for device to become ready] ***************************************** skipping: [x1] skipping: [x2] skipping: [x3] included: /home/pipi/net101/tools/netsim/ansible/tasks/readiness-check/vjunos-switch-clab.yml for dut TASK [Wait for SSH server] ***************************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/readiness-check/vm-clab-ssh-check.yml for dut TASK [Execute local ssh command to check vjunos-switch readiness] ************** FAILED - RETRYING: [dut -> localhost]: Execute local ssh command to check vjunos-switch readiness (40 retries left). FAILED - RETRYING: [dut -> localhost]: Execute local ssh command to check vjunos-switch readiness (39 retries left). changed: [dut -> localhost] TASK [Confirm dut SSH server works] ******************************************** ok: [dut] => msg: Node dut is ready. TASK [Wait for ge-0/0/0 interface] ********************************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/readiness-check/vjunos-switch.yml for dut TASK [Wait for ge-0/0/0 to appear] ********************************************* ok: [dut] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2, x3 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [x1] ok: [x2] ok: [dut] ok: [x3] TASK [Find configuration template for initial] ********************************* ok: [x1] ok: [x2] ok: [dut] ok: [x3] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] skipping: [x1] skipping: [x2] skipping: [x3] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [x1] ok: [dut] ok: [x2] ok: [x3] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/junos.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/frr/initial-clab.yml for x1, x2, x3 TASK [junos_config: deploying initial from /home/pipi/net101/tools/netsim/ansible/templates/initial/junos.j2] *** changed: [dut] TASK [Attempt to load VRF kernel module] *************************************** changed: [x1 -> localhost] changed: [x2 -> localhost] changed: [x3 -> localhost] TASK [Disable FRR management VRF when modprobe fails] ************************** skipping: [x1] skipping: [x2] skipping: [x3] TASK [include_tasks] *********************************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/frr/deploy-config.yml for x1, x2, x3 TASK [template] **************************************************************** changed: [x3] changed: [x2] changed: [x1] TASK [set_fact] **************************************************************** ok: [x1] ok: [x2] ok: [x3] TASK [run /tmp/config.sh to deploy initial config from /home/pipi/net101/tools/netsim/ansible/templates/initial/frr.j2] *** changed: [x3] changed: [x2] changed: [x1] TASK [run vtysh to import initial config from /home/pipi/net101/tools/netsim/ansible/templates/initial/frr.j2] *** skipping: [x1] skipping: [x2] skipping: [x3] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [x1] ok: [x2] ok: [x3] ok: [dut] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2, x3 => (item=bgp) included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2, x3 => (item=routing) TASK [Figure out whether to deploy the module bgp on current device] *********** ok: [x1] ok: [x2] ok: [dut] ok: [x3] TASK [Find configuration template for bgp] ************************************* ok: [x1] ok: [x3] ok: [x2] ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] skipping: [x1] skipping: [x2] skipping: [x3] TASK [Find configuration deployment deploy_script for bgp] ********************* ok: [x1] ok: [x3] ok: [x2] ok: [dut] TASK [Deploy bgp configuration] ************************************************ included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/junos.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/frr.yml for x1, x2, x3 TASK [junos_config: deploying bgp from /home/pipi/net101/tools/netsim/ansible/templates/bgp/junos.j2] *** [WARNING]: statement not found changed: [dut] TASK [template] **************************************************************** changed: [x1] changed: [x2] changed: [x3] TASK [set_fact] **************************************************************** ok: [x1] ok: [x2] ok: [x3] TASK [run /tmp/config.sh to deploy bgp config from /home/pipi/net101/tools/netsim/ansible/templates/bgp/frr.j2] *** skipping: [x1] skipping: [x2] skipping: [x3] TASK [run vtysh to import bgp config from /home/pipi/net101/tools/netsim/ansible/templates/bgp/frr.j2] *** changed: [x3] changed: [x1] changed: [x2] TASK [Figure out whether to deploy the module routing on current device] ******* ok: [x1] ok: [x2] ok: [x3] ok: [dut] TASK [Find configuration template for routing] ********************************* skipping: [dut] skipping: [x1] skipping: [x2] skipping: [x3] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] skipping: [x1] skipping: [x2] skipping: [x3] TASK [Find configuration deployment deploy_script for routing] ***************** skipping: [dut] skipping: [x1] skipping: [x2] skipping: [x3] TASK [Deploy routing configuration] ******************************************** skipping: [dut] skipping: [x1] skipping: [x2] skipping: [x3] PLAY [Deploy custom deployment templates] ************************************** TASK [Run custom configuration deployment scripts] ***************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-custom-config.yml for dut, x1, x3 => (item=bgp.session) TASK [Find configuration template] ********************************************* ok: [x3] ok: [x1] ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] skipping: [x3] TASK [Check is the configuration template is a file] *************************** ok: [x1 -> localhost] ok: [x3 -> localhost] ok: [dut -> localhost] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] skipping: [x3] TASK [Process template /home/pipi/net101/tools/netsim/extra/bgp.session/junos.j2 for dut] *** skipping: [x1] skipping: [dut] skipping: [x3] TASK [Find custom configuration deployment script] ***************************** ok: [x1] ok: [dut] ok: [x3] TASK [Run the configuration deployment script] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/junos.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/frr.yml for x1, x3 TASK [junos_config: deploying bgp.session from /home/pipi/net101/tools/netsim/extra/bgp.session/junos.j2] *** fatal: [dut]: FAILED! => changed=false module_stderr: '' module_stdout: |2- {"failed": true, "msg": "b'command timeout triggered, timeout value is 300 secs.\\nSee the timeout setting options in the Network Debug and Troubleshooting Guide.'", "invocation": {"module_args": {"src": "\nprotocols {\n bgp {\n group ebgp-peers {\n neighbor 10.1.0.2 {\n \n }\n neighbor 10.1.0.6 {\n passive;\n\n }\n neighbor 10.1.0.10 {\n passive;\n\n }\n }\n }\n}\n\nrouting-instances {\n}\n", "update": "merge", "confirm": 0, "comment": "configured by junos_config", "confirm_commit": false, "check_commit": false, "backup": false, "zeroize": false, "lines": null, "src_format": null, "replace": null, "backup_options": null, "rollback": null}}} {"failed": true, "msg": "b'command timeout triggered, timeout value is 300 secs.\\nSee the timeout setting options in the Network Debug and Troubleshooting Guide.'", "invocation": {"module_args": {"src": "\nprotocols {\n bgp {\n group ebgp-peers {\n neighbor 10.1.0.2 {\n \n }\n neighbor 10.1.0.6 {\n passive;\n\n }\n neighbor 10.1.0.10 {\n passive;\n\n }\n }\n }\n}\n\nrouting-instances {\n}\n", "update": "merge", "confirm": 0, "comment": "configured by junos_config", "confirm_commit": false, "check_commit": false, "backup": false, "zeroize": false, "lines": null, "src_format": null, "replace": null, "backup_options": null, "rollback": null}}} msg: |- MODULE FAILURE See stdout/stderr for the exact error TASK [template] **************************************************************** changed: [x1] changed: [x3] TASK [set_fact] **************************************************************** ok: [x1] ok: [x3] TASK [run /tmp/config.sh to deploy bgp.session config from /home/pipi/net101/tools/netsim/extra/bgp.session/frr.j2] *** changed: [x3] changed: [x1] TASK [run vtysh to import bgp.session config from /home/pipi/net101/tools/netsim/extra/bgp.session/frr.j2] *** skipping: [x1] skipping: [x3] PLAY RECAP ********************************************************************* dut : ok=28 changed=3 unreachable=0 failed=1 skipped=9 rescued=0 ignored=0 x1 : ok=31 changed=7 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 x2 : ok=23 changed=5 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 x3 : ok=31 changed=7 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Fatal error in netlab: Executing Ansible playbook /home/pipi/net101/tools/netsim/ansible/initial-config.ansible failed Error executing ansible-playbook /home/pipi/net101/tools/netsim/ansible/initial-config.ansible: Command '['ansible-playbook', '/home/pipi/net101/tools/netsim/ansible/initial-config.ansible']' returned non-zero exit status 2.