[INFO] Executing initial configuration for node h1 (namespace clab- ml_17-h1) [INFO] Executing routing configuration for node h1 (namespace clab- ml_17-h1) [INFO] Executing initial configuration for node h2 (namespace clab- ml_17-h2) [INFO] Executing routing configuration for node h2 (namespace clab- ml_17-h2) [INFO] Executing initial configuration for node h3 (namespace clab- ml_17-h3) [INFO] Executing routing configuration for node h3 (namespace clab- ml_17-h3) [INFO] Executing initial configuration for node h4 (namespace clab- ml_17-h4) [INFO] Executing routing configuration for node h4 (namespace clab- ml_17-h4) [INFO] Starting Ansible playbook to deploy the rest of the configurations /home/pipi/.local/lib/python3.10/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from cryptography.hazmat.primitives.ciphers.algorithms in 48.0.0. "cipher": algorithms.TripleDES, /home/pipi/.local/lib/python3.10/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from cryptography.hazmat.primitives.ciphers.algorithms in 48.0.0. "class": algorithms.TripleDES, [WARNING]: Could not match supplied host pattern, ignoring: unprovisioned [WARNING]: Found variable using reserved name: hosts PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [h1] ok: [h2] ok: [h3] ok: [h4] ok: [rtr] ok: [dut] TASK [Generic readiness tests] ************************************************* skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] skipping: [rtr] included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/ssh.yml for dut => (item=ssh) TASK [Check if 'sshpass' is installed] ***************************************** ok: [dut -> localhost] TASK [Check for 'timeout' command] ********************************************* ok: [dut -> localhost] TASK [Execute local ssh command to check ssh readiness] ************************ FAILED - RETRYING: [dut -> localhost]: Execute local ssh command to check ssh readiness (20 retries left). ok: [dut -> localhost] TASK [Confirm dut SSH server works] ******************************************** ok: [dut] => msg: Node dut is ready. TASK [Find device readiness script] ******************************************** ok: [h1] ok: [h3] ok: [h2] ok: [h4] ok: [rtr] ok: [dut] TASK [Wait for device to become ready] ***************************************** skipping: [dut] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] skipping: [rtr] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut, h1, h2, h3, h4, rtr TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [h1] ok: [h2] ok: [h3] ok: [h4] ok: [rtr] ok: [dut] TASK [Find configuration template for normalize] ******************************* ok: [h1] ok: [h2] ok: [h4] ok: [h3] ok: [dut] ok: [rtr] TASK [fail] ******************************************************************** skipping: [dut] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] skipping: [rtr] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [h1] ok: [h2] ok: [h3] ok: [dut] ok: [h4] ok: [rtr] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] skipping: [rtr] ok: [dut] => msg: |- normalize configuration for dut ========================================= ! interface Ethernet1 shutdown ! interface Ethernet2 shutdown TASK [Deploy normalize configuration] ****************************************** skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] skipping: [rtr] included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/eos.yml for dut TASK [eos_config: deploying normalize from /home/pipi/netlab_gh/netsim/ansible/templates/normalize/eos.j2] *** [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: [dut] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut, h1, h2, h3, h4, rtr TASK [Figure out whether to deploy the module initial on current device] ******* ok: [h1] ok: [h2] ok: [h3] ok: [h4] ok: [rtr] ok: [dut] TASK [Find configuration template for initial] ********************************* skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] ok: [rtr] ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] skipping: [rtr] TASK [Find configuration deployment deploy_script for initial] ***************** skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] ok: [rtr] ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] ok: [dut] => msg: |- initial configuration for dut ========================================= hostname dut ! logging monitor debugging aaa authorization exec default local ! lldp run no ip routing no ipv6 unicast-routing ! ! ip host rtr 10.0.0.2 192.168.42.2 172.16.0.2 ip host h1 192.168.42.3 ip host h2 172.16.0.4 ip host h3 192.168.43.5 ip host h4 192.168.43.6 ipv6 host rtr 2001:db8:0:2::1 ipv6 host h1 2001:db8:cafe:1::3 ipv6 host h2 2001:db8:1::4 ipv6 host h3 2001:db8:cafe:2::5 ipv6 host h4 2001:db8:cafe:2::6 ! interface Management0 no lldp transmit no lldp receive ! interface Ethernet1 no switchport description dut -> [rtr,h1] [stub] ip address 192.168.42.1/24 ipv6 nd ra rx accept default-route ipv6 address 2001:db8:cafe:1::1/64 mac-address caf0.0001.0001 ! no shutdown ! interface Ethernet2 no switchport description dut -> [h3,h4] [stub] ip address 192.168.43.1/24 ipv6 nd ra rx accept default-route ipv6 address 2001:db8:cafe:2::1/64 mac-address caf0.0001.0002 ! no shutdown ! ok: [rtr] => msg: |- initial configuration for rtr ========================================= #!/bin/bash # set -e set -x # # Create bash profile script # cat <