/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: [s2] ok: [rr] ok: [h2] ok: [s1] TASK [Generic readiness tests] ************************************************* skipping: [rr] skipping: [s2] skipping: [h1] skipping: [h2] included: /home/pipi/net101/tools/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 (20 retries left). FAILED - RETRYING: [s1 -> localhost]: Execute local ssh command to check ssh readiness (19 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: [h2] ok: [h1] ok: [rr] ok: [s1] TASK [Wait for device to become ready] ***************************************** skipping: [s1] skipping: [s2] skipping: [h1] skipping: [h2] included: /home/pipi/net101/tools/netsim/ansible/tasks/readiness-check/nxos.yml for rr TASK [Wait for Eth1/1 to appear] *********************************************** ok: [rr] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for rr, s1, s2, h1, h2 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [s2] ok: [h2] ok: [h1] ok: [rr] ok: [s1] TASK [Find configuration template for normalize] ******************************* ok: [s2] ok: [h2] ok: [h1] ok: [rr] ok: [s1] TASK [fail] ******************************************************************** skipping: [rr] skipping: [s1] skipping: [s2] skipping: [h1] skipping: [h2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [h2] ok: [s2] ok: [h1] ok: [s1] ok: [rr] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [rr] skipping: [s2] skipping: [h1] skipping: [h2] ok: [s1] => msg: |- normalize configuration for s1 ========================================= ! interface Ethernet1 shutdown ! interface Ethernet2 shutdown TASK [Deploy normalize configuration] ****************************************** skipping: [rr] skipping: [s2] skipping: [h1] skipping: [h2] included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for s1 TASK [eos_config: deploying normalize from /home/pipi/net101/tools/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: [s1] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for rr, s1, s2, h1, h2 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [s2] ok: [h2] ok: [h1] ok: [rr] ok: [s1] TASK [Find configuration template for initial] ********************************* ok: [s2] ok: [h1] ok: [rr] ok: [h2] ok: [s1] TASK [fail] ******************************************************************** skipping: [rr] skipping: [s1] skipping: [s2] skipping: [h1] skipping: [h2] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [h2] ok: [s2] ok: [h1] ok: [rr] ok: [s1] TASK [Print deployed configuration when running in verbose mode] *************** ok: [h1] => msg: |- initial configuration for h1 ========================================= #!/bin/bash # # This script contains the 'ip' commands needed to set up container # interfaces and route table. It's executed within the container # network namespace on the container host. # # /etc/hosts file is generated as a clab bind. # set -e ### One-Shot configuration (non-Ubuntu VM or container) # # Send ARP requests from a sane source IP address sysctl -w net.ipv4.conf.all.arp_announce=2 # # Disable IPv4 and IPv6 forwarding # sysctl -w net.ipv4.ip_forward=0 sysctl -w net.ipv6.conf.all.forwarding=0 # # Interface addressing, create any bond devices # ip link set dev eth1 up set +e ip addr del 172.31.1.4/24 dev eth1 2>/dev/null set -e ip addr add 172.31.1.4/24 dev eth1 sysctl -w net.ipv6.conf.eth1.disable_ipv6=1 ip link set dev eth1 mtu 1500 ok: [h2] => msg: |- initial configuration for h2 ========================================= #!/bin/bash # # This script contains the 'ip' commands needed to set up container # interfaces and route table. It's executed within the container # network namespace on the container host. # # /etc/hosts file is generated as a clab bind. # set -e ### One-Shot configuration (non-Ubuntu VM or container) # # Send ARP requests from a sane source IP address sysctl -w net.ipv4.conf.all.arp_announce=2 # # Disable IPv4 and IPv6 forwarding # sysctl -w net.ipv4.ip_forward=0 sysctl -w net.ipv6.conf.all.forwarding=0 # # Interface addressing, create any bond devices # ip link set dev eth1 up set +e ip addr del 172.31.1.5/24 dev eth1 2>/dev/null set -e ip addr add 172.31.1.5/24 dev eth1 sysctl -w net.ipv6.conf.eth1.disable_ipv6=1 ip link set dev eth1 mtu 1500 ok: [rr] => msg: |- initial configuration for rr ========================================= hostname rr ! no ip domain-lookup ! feature lldp ! username vagrant password vagrant ! ip host s1 10.0.0.2 ip host s2 10.0.0.3 ip host h1 172.31.1.4 ip host h2 172.31.1.5 ! ! interface mgmt0 no lldp transmit no lldp receive ! interface loopback0 no shutdown ip address 10.0.0.1/32 ipv6 address 2001:db8:cafe:1::1/64 ipv6 nd ra-interval 5 min 3 ! interface Ethernet1/1 no shutdown no switchport mac-address caf0.0001.0001 description rr -> s1 mtu 1600 ip address 10.1.0.1/30 ipv6 address 2001:db8:1::1/64 ipv6 nd ra-interval 5 min 3 ! interface Ethernet1/2 no shutdown no switchport mac-address caf0.0001.0002 description rr -> s2 mtu 1600 ip address 10.1.0.5/30 ipv6 address 2001:db8:1:1::1/64 ipv6 nd ra-interval 5 min 3 ! ok: [s2] => msg: |- initial configuration for s2 ========================================= #!/bin/bash # set -e set -x # # Create bash profile script # cat <