[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: [dut] ok: [dut2] TASK [Find device readiness script] ******************************************** ok: [x1] ok: [x2] ok: [dut] ok: [dut2] TASK [Wait for device to become ready] ***************************************** skipping: [x1] skipping: [x2] included: /home/pipi/net101/tools/netsim/ansible/tasks/readiness-check/vjunos-switch-clab.yml for dut, dut2 TASK [Wait for SSH server] ***************************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/readiness-check/vm-clab-ssh-check.yml for dut, dut2 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: [dut2 -> 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: [dut2 -> localhost] changed: [dut -> localhost] TASK [Confirm dut SSH server works] ******************************************** ok: [dut] => msg: Node dut is ready. ok: [dut2] => msg: Node dut2 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, dut2 TASK [Wait for ge-0/0/0 to appear] ********************************************* ok: [dut2] ok: [dut] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, dut2, x1, x2 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [x1] ok: [x2] ok: [dut] ok: [dut2] TASK [Find configuration template for initial] ********************************* ok: [x1] ok: [x2] ok: [dut] ok: [dut2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] skipping: [dut2] skipping: [x1] skipping: [x2] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [x2] ok: [x1] ok: [dut] ok: [dut2] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/junos.yml for dut, dut2 included: /home/pipi/net101/tools/netsim/ansible/tasks/frr/initial-clab.yml for x1, x2 TASK [junos_config: deploying initial from /home/pipi/net101/tools/netsim/ansible/templates/initial/junos.j2] *** changed: [dut] fatal: [dut2]: FAILED! => changed=false module_stderr: '' module_stdout: |2- {"failed": true, "msg": "b'ncclient timed out while waiting for an rpc reply.'", "invocation": {"module_args": {"src": "system {\n host-name dut2\n static-host-mapping {\n dut inet 10.0.0.1;\n x1 inet 10.0.0.3;\n x2 inet 10.0.0.4;\n }\n}\n\n\ninterfaces {\n ge-0/0/0 {\n mtu 1514;\n }\n\n lo0.0 {\n \n family inet {\n address 10.0.0.2/32;\n }\n \n }\n ge-0/0/0.0 {\n description \"dut2 -> dut [external]\";\n \n family inet {\n address 172.0.66.2/24;\n }\n \n }\n}\nprotocols {\n lldp {\n interface fxp0 {\n disable;\n }\n interface all;\n }\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'ncclient timed out while waiting for an rpc reply.'", "invocation": {"module_args": {"src": "system {\n host-name dut2\n static-host-mapping {\n dut inet 10.0.0.1;\n x1 inet 10.0.0.3;\n x2 inet 10.0.0.4;\n }\n}\n\n\ninterfaces {\n ge-0/0/0 {\n mtu 1514;\n }\n\n lo0.0 {\n \n family inet {\n address 10.0.0.2/32;\n }\n \n }\n ge-0/0/0.0 {\n description \"dut2 -> dut [external]\";\n \n family inet {\n address 172.0.66.2/24;\n }\n \n }\n}\nprotocols {\n lldp {\n interface fxp0 {\n disable;\n }\n interface all;\n }\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 [Attempt to load VRF kernel module] *************************************** changed: [x1 -> localhost] changed: [x2 -> localhost] TASK [Disable FRR management VRF when modprobe fails] ************************** skipping: [x1] skipping: [x2] TASK [include_tasks] *********************************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/frr/deploy-config.yml for x1, x2 TASK [template] **************************************************************** changed: [x1] changed: [x2] TASK [set_fact] **************************************************************** ok: [x1] ok: [x2] TASK [run /tmp/config.sh to deploy initial config from /home/pipi/net101/tools/netsim/ansible/templates/initial/frr.j2] *** changed: [x1] changed: [x2] TASK [run vtysh to import initial config from /home/pipi/net101/tools/netsim/ansible/templates/initial/frr.j2] *** skipping: [x1] skipping: [x2] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [x1] ok: [x2] ok: [dut] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2 => (item=bgp) TASK [Figure out whether to deploy the module bgp on current device] *********** ok: [x1] ok: [x2] ok: [dut] TASK [Find configuration template for bgp] ************************************* ok: [x1] ok: [dut] ok: [x2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] skipping: [x1] skipping: [x2] TASK [Find configuration deployment deploy_script for bgp] ********************* ok: [dut] ok: [x1] ok: [x2] 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 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: [x2] changed: [x1] TASK [set_fact] **************************************************************** ok: [x1] ok: [x2] TASK [run /tmp/config.sh to deploy bgp config from /home/pipi/net101/tools/netsim/ansible/templates/bgp/frr.j2] *** skipping: [x1] skipping: [x2] TASK [run vtysh to import bgp config from /home/pipi/net101/tools/netsim/ansible/templates/bgp/frr.j2] *** changed: [x2] changed: [x1] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=21 changed=3 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 dut2 : ok=13 changed=1 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 x1 : ok=21 changed=5 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 x2 : ok=21 changed=5 unreachable=0 failed=0 skipped=6 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.