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: [r3] ok: [r4] ok: [d1] ok: [s1] 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 (50 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (49 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (48 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (47 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (46 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (45 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (44 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (43 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (42 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (41 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: [r3] ok: [r4] ok: [d1] ok: [d2] ok: [s1] 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/nxos.yml for s1 TASK [Wait for Eth1/1 to appear] *********************************************** 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=========================================\nhostname s1\n!\nno ip domain-lookup\n!\nfeature lldp\n!\nusername vagrant password vagrant\n!\nip host d1 172.31.1.9\nip host d2 172.31.1.10\nip host d3 172.31.1.11\nip host d4 172.31.1.12\nip host r1 172.31.1.5\nip host r2 172.31.1.6\nip host r3 172.31.1.7\nip host r4 172.31.1.8\nip host s2 10.0.0.2\nip host s3 10.0.0.3\nip host s4 10.0.0.4\n!\nfeature interface-vlan\n!\ninterface mgmt0\n no lldp transmit\n no lldp receive\n!\ninterface loopback0\n no shutdown\n ip address 10.0.0.1/32\n!\ninterface Ethernet1/1\n no shutdown\n no switchport\n mac-address caf0.0001.0001\n description s1 -> s2\n!\ninterface Ethernet1/2\n no shutdown\n no switchport\n description s1 -> s3\n!\ninterface Ethernet1/3\n no shutdown\n no switchport\n description s1 -> s4\n!\ninterface Ethernet1/4\n no shutdown\n no switchport\n description [Access VLAN red] s1 -> r1\n!\ninterface Ethernet1/5\n no shutdown\n no switchport\n description [Access VLAN vlan_1] s1 -> d1\n!\ninterface vlan1\n no shutdown\n description VLAN vlan_1 (1) -> [d1,d2,s2,d3,s3...]\n ip address 172.31.1.1/24\n!\ninterface vlan700\n no shutdown\n description VLAN red (700) -> [r1,r2,s2,r3,s3...]\n!\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/nxos.yml for s1 TASK [nxos_config: deploying initial from /work/netlab_cicd/hogs/node_files/s1/initial] *** [WARNING]: To ensure idempotency and correct diff the input configuration lines should be similar to how they appear if present in the running configuration on device including the indentation 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 <