Warning in ansible: You're using Ansible version 12.x or higher; netlab might not work correctly ... Ansible core version 2.19 introduced breaking changes in templates and playbooks ... We tested netlab core with Ansible version 12.x but not every device template ... You might want to downgrade Ansible to version 11.10 or lower. ... Use 'netlab install ansible' on Ubuntu to do that ... Finally, please open a GitHub issue if you experience errors/crashes ... Set defaults.ansible.warnings.ver12 to False to hide this warning [INFO] Checking for updates in configuration templates [INFO] Creating configuration snippets [CREATED] h1: initial,routing [CREATED] h2: initial,routing [CREATED] h3: initial,routing [CREATED] h4: initial,routing [CREATED] s1: initial,vlan,ospf [CREATED] s2: initial,vlan,ospf [INFO] Executing initial configuration for node h1 (namespace clab- ml_23-h1) [INFO] Executing routing configuration for node h1 (namespace clab- ml_23-h1) [INFO] Executing initial configuration for node h2 (namespace clab- ml_23-h2) [INFO] Executing routing configuration for node h2 (namespace clab- ml_23-h2) [INFO] Executing initial configuration for node h3 (namespace clab- ml_23-h3) [INFO] Executing routing configuration for node h3 (namespace clab- ml_23-h3) [INFO] Executing initial configuration for node h4 (namespace clab- ml_23-h4) [INFO] Executing routing configuration for node h4 (namespace clab- ml_23-h4) [INFO] Starting Ansible playbook to deploy the rest of the configurations [WARNING]: Could not match supplied host pattern, ignoring: unprovisioned [WARNING]: Found variable using reserved name 'hosts'. Origin: /work/netlab_cicd/hogs/group_vars/all/topology.yml:157:1 155 ipv4: 10.2.0.0/24 156 prefix: 32 157 hosts: ^ column 1 PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [h1] ok: [h2] ok: [h3] ok: [h4] ok: [s2] ok: [s1] TASK [Generic readiness tests] ************************************************* skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] skipping: [s2] included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/ssh.yml for s1 => (item=ssh) TASK [Check if 'sshpass' is installed] ***************************************** ok: [s1 -> localhost] TASK [Check for 'timeout' command] ********************************************* ok: [s1 -> localhost] TASK [Execute local ssh command to check ssh readiness] ************************ FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (60 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (59 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (58 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (57 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (56 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (55 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (54 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (53 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (52 retries left). ok: [s1 -> localhost] TASK [Confirm s1 SSH server works] ********************************************* ok: [s1] => { "msg": "Node s1 is ready." } TASK [Find device readiness script] ******************************************** ok: [h1] ok: [h2] ok: [h3] ok: [h4] ok: [s2] ok: [s1] TASK [Wait for device to become ready] ***************************************** skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] skipping: [s2] included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/junos.yml for s1 TASK [set_fact] **************************************************************** ok: [s1] TASK [Wait for first interface (ge-0/0/0)] ************************************* ok: [s1] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h3 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h4 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for s1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for s2 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [h1] TASK [Find configuration template for normalize] ******************************* ok: [h1] TASK [fail] ******************************************************************** skipping: [h1] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [h1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h1] TASK [Deploy normalize configuration] ****************************************** skipping: [h1] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [h2] TASK [Find configuration template for normalize] ******************************* ok: [h2] TASK [fail] ******************************************************************** skipping: [h2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [h2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h2] TASK [Deploy normalize configuration] ****************************************** skipping: [h2] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [h3] TASK [Find configuration template for normalize] ******************************* ok: [h3] TASK [fail] ******************************************************************** skipping: [h3] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [h3] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h3] TASK [Deploy normalize configuration] ****************************************** skipping: [h3] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [h4] TASK [Find configuration template for normalize] ******************************* ok: [h4] TASK [fail] ******************************************************************** skipping: [h4] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [h4] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h4] TASK [Deploy normalize configuration] ****************************************** skipping: [h4] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [s1] TASK [Find configuration template for normalize] ******************************* ok: [s1] TASK [fail] ******************************************************************** skipping: [s1] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [s1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [s1] TASK [Deploy normalize configuration] ****************************************** skipping: [s1] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [s2] TASK [Find configuration template for normalize] ******************************* ok: [s2] TASK [fail] ******************************************************************** skipping: [s2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [s2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [s2] TASK [Deploy normalize configuration] ****************************************** skipping: [s2] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h3 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h4 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for s1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for s2 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [h1] TASK [Find configuration template for initial] ********************************* skipping: [h1] TASK [fail] ******************************************************************** skipping: [h1] TASK [Find configuration deployment deploy_script for initial] ***************** skipping: [h1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h1] TASK [Deploy initial configuration] ******************************************** skipping: [h1] TASK [Figure out whether to deploy the module initial on current device] ******* ok: [h2] TASK [Find configuration template for initial] ********************************* skipping: [h2] TASK [fail] ******************************************************************** skipping: [h2] TASK [Find configuration deployment deploy_script for initial] ***************** skipping: [h2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h2] TASK [Deploy initial configuration] ******************************************** skipping: [h2] TASK [Figure out whether to deploy the module initial on current device] ******* ok: [h3] TASK [Find configuration template for initial] ********************************* skipping: [h3] TASK [fail] ******************************************************************** skipping: [h3] TASK [Find configuration deployment deploy_script for initial] ***************** skipping: [h3] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h3] TASK [Deploy initial configuration] ******************************************** skipping: [h3] TASK [Figure out whether to deploy the module initial on current device] ******* ok: [h4] TASK [Find configuration template for initial] ********************************* skipping: [h4] TASK [fail] ******************************************************************** skipping: [h4] TASK [Find configuration deployment deploy_script for initial] ***************** skipping: [h4] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h4] TASK [Deploy initial configuration] ******************************************** skipping: [h4] TASK [Figure out whether to deploy the module initial on current device] ******* ok: [s1] TASK [Find configuration template for initial] ********************************* ok: [s1] TASK [fail] ******************************************************************** skipping: [s1] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [s1] TASK [Print deployed configuration when running in verbose mode] *************** ok: [s1] => { "msg": "initial configuration for s1\n=========================================\nsystem {\n host-name s1;\n static-host-mapping {\n h1 inet 172.16.0.1;\n h2 inet 172.16.0.2;\n h3 inet 172.16.1.3;\n h4 inet 172.16.2.4;\n s2 inet 10.0.0.6;\n }\n}\n\n\ninterfaces {\n\n\n\n\n\n ge-0/0/0 {\n flexible-vlan-tagging;\n native-vlan-id 701;\n }\n\n ge-0/0/0.0 {\n vlan-id 701;\n }\n\n\n\n\n\n\n\n\n\n\n ge-0/0/1 {\n flexible-vlan-tagging;\n native-vlan-id 700;\n }\n\n ge-0/0/1.0 {\n vlan-id 700;\n }\n\n\n\n\n\n\n\n ge-0/0/2 {\n flexible-vlan-tagging;\n native-vlan-id 1;\n }\n\n ge-0/0/2.0 {\n vlan-id 1;\n }\n\n\n\n\n\n\n\n\n ge-0/0/0 {\n flexible-vlan-tagging;\n }\n\n ge-0/0/0.700 {\n vlan-id 700;\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n}\ninterfaces {\n ge-0/0/0 {\n mtu 1522;\n }\n ge-0/0/1 {\n mtu 1522;\n }\n ge-0/0/2 {\n mtu 1522;\n }\n\n lo0.0 {\n \n family inet {\n address 10.0.0.5/32;\n }\n \n }\n ge-0/0/0.0 {\n description \"s1 -> s2\";\n \n family inet {\n address 10.1.0.1/30;\n }\n \n }\n ge-0/0/1.0 {\n description \"[Access VLAN red] s1 -> h1\";\n \n \n }\n ge-0/0/2.0 {\n description \"s1 -> h3 [stub]\";\n \n family inet {\n address 172.16.1.5/24;\n }\n \n }\n ge-0/0/0.700 {\n description \"[SubIf VLAN red] s1 -> s2\";\n \n \n }\n irb.700 {\n description \"VLAN red (700) -> [h1,h2,s2]\";\n \n \n }\n}\nprotocols {\n lldp {\n interface fxp0 {\n disable;\n }\n interface all;\n }\n}\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/junos.yml for s1 TASK [junos_config: deploying initial from /work/netlab_cicd/hogs/node_files/s1/initial] *** changed: [s1] TASK [Figure out whether to deploy the module initial on current device] ******* ok: [s2] TASK [Find configuration template for initial] ********************************* ok: [s2] TASK [fail] ******************************************************************** skipping: [s2] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [s2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [s2] => { "msg": "initial configuration for s2\n=========================================\n#!/bin/bash\n#\nset -e\nset -x\n#\n# Create bash profile script\n#\ncat <