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] s1: initial,vlan [CREATED] s2: initial,vlan [CREATED] s3: initial,vlan [CREATED] s4: initial,vlan [CREATED] r1: initial,routing [CREATED] r2: initial,routing [CREATED] r3: initial,routing [CREATED] r4: initial,routing [CREATED] d1: initial,routing [CREATED] d2: initial,routing [CREATED] d3: initial,routing [CREATED] d4: initial,routing [INFO] Executing initial configuration for node r1 (namespace clab- ml_23-r1) [INFO] Executing routing configuration for node r1 (namespace clab- ml_23-r1) [INFO] Executing initial configuration for node r2 (namespace clab- ml_23-r2) [INFO] Executing routing configuration for node r2 (namespace clab- ml_23-r2) [INFO] Executing initial configuration for node r3 (namespace clab- ml_23-r3) [INFO] Executing routing configuration for node r3 (namespace clab- ml_23-r3) [INFO] Executing initial configuration for node r4 (namespace clab- ml_23-r4) [INFO] Executing routing configuration for node r4 (namespace clab- ml_23-r4) [INFO] Executing initial configuration for node d1 (namespace clab- ml_23-d1) [INFO] Executing routing configuration for node d1 (namespace clab- ml_23-d1) [INFO] Executing initial configuration for node d2 (namespace clab- ml_23-d2) [INFO] Executing routing configuration for node d2 (namespace clab- ml_23-d2) [INFO] Executing initial configuration for node d3 (namespace clab- ml_23-d3) [INFO] Executing routing configuration for node d3 (namespace clab- ml_23-d3) [INFO] Executing initial configuration for node d4 (namespace clab- ml_23-d4) [INFO] Executing routing configuration for node d4 (namespace clab- ml_23-d4) [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: [s2] ok: [s3] ok: [s4] ok: [r1] ok: [r2] ok: [s1] ok: [r3] ok: [r4] ok: [d1] ok: [d2] ok: [d3] ok: [d4] TASK [Generic readiness tests] ************************************************* skipping: [s2] skipping: [s3] skipping: [s4] skipping: [r1] skipping: [r2] skipping: [r3] skipping: [r4] skipping: [d1] skipping: [d2] skipping: [d3] skipping: [d4] 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: [s2] ok: [s3] ok: [s4] ok: [r1] ok: [r2] ok: [s1] ok: [r3] ok: [r4] ok: [d1] ok: [d2] ok: [d3] ok: [d4] TASK [Wait for device to become ready] ***************************************** skipping: [s2] skipping: [s3] skipping: [s4] skipping: [r1] skipping: [r2] skipping: [r3] skipping: [r4] skipping: [d1] skipping: [d2] skipping: [d3] skipping: [d4] 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 s1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for s2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for s3 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for s4 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r3 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r4 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for d1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for d2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for d3 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for d4 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 [Figure out whether to deploy the module normalize on current device] ***** ok: [s3] TASK [Find configuration template for normalize] ******************************* ok: [s3] TASK [fail] ******************************************************************** skipping: [s3] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [s3] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [s3] TASK [Deploy normalize configuration] ****************************************** skipping: [s3] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [s4] TASK [Find configuration template for normalize] ******************************* ok: [s4] TASK [fail] ******************************************************************** skipping: [s4] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [s4] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [s4] TASK [Deploy normalize configuration] ****************************************** skipping: [s4] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [r1] TASK [Find configuration template for normalize] ******************************* ok: [r1] TASK [fail] ******************************************************************** skipping: [r1] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [r1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r1] TASK [Deploy normalize configuration] ****************************************** skipping: [r1] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [r2] TASK [Find configuration template for normalize] ******************************* ok: [r2] TASK [fail] ******************************************************************** skipping: [r2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [r2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r2] TASK [Deploy normalize configuration] ****************************************** skipping: [r2] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [r3] TASK [Find configuration template for normalize] ******************************* ok: [r3] TASK [fail] ******************************************************************** skipping: [r3] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [r3] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r3] TASK [Deploy normalize configuration] ****************************************** skipping: [r3] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [r4] TASK [Find configuration template for normalize] ******************************* ok: [r4] TASK [fail] ******************************************************************** skipping: [r4] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [r4] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r4] TASK [Deploy normalize configuration] ****************************************** skipping: [r4] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [d1] TASK [Find configuration template for normalize] ******************************* ok: [d1] TASK [fail] ******************************************************************** skipping: [d1] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [d1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [d1] TASK [Deploy normalize configuration] ****************************************** skipping: [d1] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [d2] TASK [Find configuration template for normalize] ******************************* ok: [d2] TASK [fail] ******************************************************************** skipping: [d2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [d2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [d2] TASK [Deploy normalize configuration] ****************************************** skipping: [d2] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [d3] TASK [Find configuration template for normalize] ******************************* ok: [d3] TASK [fail] ******************************************************************** skipping: [d3] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [d3] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [d3] TASK [Deploy normalize configuration] ****************************************** skipping: [d3] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [d4] TASK [Find configuration template for normalize] ******************************* ok: [d4] TASK [fail] ******************************************************************** skipping: [d4] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [d4] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [d4] TASK [Deploy normalize configuration] ****************************************** skipping: [d4] TASK [Deploy initial configuration] ******************************************** 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 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for s3 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for s4 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r3 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r4 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for d1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for d2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for d3 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for d4 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 s2 inet 10.0.0.2;\n s3 inet 10.0.0.3;\n s4 inet 10.0.0.4;\n r1 inet 172.31.1.5;\n r2 inet 172.31.1.6;\n r3 inet 172.31.1.7;\n r4 inet 172.31.1.8;\n d1 inet 172.31.1.9;\n d2 inet 172.31.1.10;\n d3 inet 172.31.1.11;\n d4 inet 172.31.1.12;\n }\n}\n\n\ninterfaces {\n\n\n\n\n ge-0/0/0.0 {\n vlan-id 4093;\n }\n\n\n\n\n\n\n\n\n\n ge-0/0/1 {\n flexible-vlan-tagging;\n native-vlan-id 1;\n }\n\n ge-0/0/1.0 {\n vlan-id 1;\n }\n\n\n\n\n\n\n\n ge-0/0/2 {\n flexible-vlan-tagging;\n native-vlan-id 700;\n }\n\n ge-0/0/2.0 {\n vlan-id 700;\n }\n\n\n\n\n\n\n\n ge-0/0/3 {\n flexible-vlan-tagging;\n native-vlan-id 700;\n }\n\n ge-0/0/3.0 {\n vlan-id 700;\n }\n\n\n\n\n\n\n\n ge-0/0/4 {\n flexible-vlan-tagging;\n native-vlan-id 1;\n }\n\n ge-0/0/4.0 {\n vlan-id 1;\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 ge-0/0/0 {\n flexible-vlan-tagging;\n }\n\n ge-0/0/0.1 {\n vlan-id 1;\n }\n\n\n\n\n\n\n\n\n ge-0/0/1 {\n flexible-vlan-tagging;\n }\n\n ge-0/0/1.700 {\n vlan-id 700;\n }\n\n\n\n\n\n\n\n\n ge-0/0/2 {\n flexible-vlan-tagging;\n }\n\n ge-0/0/2.1 {\n vlan-id 1;\n }\n\n\n\n\n\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 ge-0/0/3 {\n mtu 1522;\n }\n ge-0/0/4 {\n mtu 1522;\n }\n\n lo0.0 {\n \n family inet {\n address 10.0.0.1/32;\n }\n \n }\n ge-0/0/0.0 {\n description \"s1 -> s2\";\n \n \n }\n ge-0/0/1.0 {\n description \"s1 -> s3\";\n \n \n }\n ge-0/0/2.0 {\n description \"s1 -> s4\";\n \n \n }\n ge-0/0/3.0 {\n description \"[Access VLAN red] s1 -> r1\";\n \n \n }\n ge-0/0/4.0 {\n description \"[Access VLAN vlan_1] s1 -> d1\";\n \n \n }\n ge-0/0/0.700 {\n description \"[SubIf VLAN red] s1 -> s2\";\n \n \n }\n ge-0/0/0.1 {\n description \"[SubIf VLAN vlan_1] s1 -> s2\";\n \n \n }\n ge-0/0/1.700 {\n description \"[SubIf VLAN red] s1 -> s3\";\n \n \n }\n ge-0/0/2.1 {\n description \"[SubIf VLAN vlan_1] s1 -> s4\";\n \n \n }\n irb.1 {\n description \"VLAN vlan_1 (1) -> [d1,d2,s2,d3,s3...]\";\n \n family inet {\n address 172.31.1.1/24;\n mtu 1500;\n }\n \n }\n irb.700 {\n description \"VLAN red (700) -> [r1,r2,s2,r3,s3...]\";\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 <