Using transformed lab topology from snapshot file netlab.snapshot.pickle Checking virtualization provider installation OK: libvirt installed and working correctly OK: clab installed and working correctly Starting libvirt nodes creating libvirt management network nl_mgmt_17 provider libvirt: executing flock -E 42 /tmp/netlab.lock vagrant up --provider libvirt Bringing machine 'dut' up with 'libvirt' provider... ==> dut: Checking if box 'cisco/cat8000v' version '17.16.01a' is up to date... [fog][WARNING] Unrecognized arguments: libvirt_ip_command ==> dut: Creating image (snapshot of base box volume). ==> dut: Creating domain with the following settings... ==> dut: -- Name: ml-17_dut ==> dut: -- Description: Source: /work/netlab_cicd/Vagrantfile ==> dut: -- Domain type: kvm ==> dut: -- Cpus: 2 ==> dut: -- Feature: acpi ==> dut: -- Feature: apic ==> dut: -- Feature: pae ==> dut: -- Clock offset: utc ==> dut: -- Memory: 4096M ==> dut: -- Management MAC: ca:fe:00:01:00:00 ==> dut: -- Base box: cisco/cat8000v ==> dut: -- Storage pool: default ==> dut: -- Image(vda): /var/lib/libvirt/images/ml-17_dut.img, virtio, 8G ==> dut: -- Disk driver opts: cache='default' ==> dut: -- Graphics Type: vnc ==> dut: -- Video Type: cirrus ==> dut: -- Video VRAM: 16384 ==> dut: -- Video 3D accel: false ==> dut: -- Keymap: en-us ==> dut: -- TPM Backend: passthrough ==> dut: -- INPUT: type=mouse, bus=ps2 ==> dut: Creating shared folders metadata... ==> dut: Starting domain. ==> dut: Domain launching with graphics connection settings... ==> dut: -- Graphics Port: 5900 ==> dut: -- Graphics IP: 127.0.0.1 ==> dut: -- Graphics Password: Not defined ==> dut: -- Graphics Websocket: 5700 ==> dut: Waiting for domain to get an IP address... ==> dut: Waiting for machine to boot. This may take a few minutes... dut: SSH address: 192.168.17.101:22 dut: SSH username: vagrant dut: SSH auth method: private key dut: Warning: Connection refused. Retrying... ==> dut: Machine booted and ready! Starting clab nodes Recreating clab-augment.yml configuration file for clab provider Created provider configuration file: clab-augment.yml provider clab: executing flock -E 42 /tmp/netlab.lock sudo -E containerlab deploy --reconfigure -t clab-augment.yml 16:41:13 INFO Containerlab started version=0.75.0 16:41:13 INFO Parsing & checking topology file=clab-augment.yml 16:41:13 INFO Removing directory path=/work/netlab_cicd/clab-ml-17 16:41:13 INFO Creating docker network name=nl_mgmt_17 IPv4 subnet=192.168.17.0/24 IPv6 subnet="" MTU=0 16:41:13 INFO Creating lab directory path=/work/netlab_cicd/clab-ml-17 16:41:14 INFO Creating container name=x1 16:41:14 INFO Created link: x1:eth1 ▪┄┄▪ virbr2:bni17n2i1 16:41:15 INFO Executed command node=x1 command="sleep 1" stdout="" 16:41:15 INFO Adding host entries path=/etc/hosts 16:41:15 INFO Adding SSH config for nodes path=/etc/ssh/ssh_config.d/clab-ml-17.conf ╭───────────────┬──────────────────────────────┬─────────┬────────────────╮ │ Name │ Kind/Image │ State │ IPv4/6 Address │ ├───────────────┼──────────────────────────────┼─────────┼────────────────┤ │ clab-ml-17-x1 │ linux │ running │ 192.168.17.102 │ │ │ quay.io/frrouting/frr:10.6.1 │ │ N/A │ ╰───────────────┴──────────────────────────────┴─────────┴────────────────╯ Reloading saved initial device configurations [INFO] Lab devices are ready to be configured initial: [INFO] Lab devices do not need the configuration normalization step [WARNING]: Found variable using reserved name: hosts PLAY [Reload saved device configurations] ************************************** TASK [Did we get the configuration directory name?] **************************** skipping: [dut] TASK [Set variables that cannot be set with VARS] ****************************** ok: [x1] ok: [dut] TASK [Remember the original deployment path(s)] ******************************** ok: [x1] ok: [dut] TASK [Do initial device configuration if needed] ******************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [x1] ok: [dut] TASK [Find configuration template for initial] ********************************* skipping: [x1] ok: [dut] TASK [fail] ******************************************************************** skipping: [x1] skipping: [dut] TASK [Find configuration deployment deploy_script for initial] ***************** skipping: [x1] ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [x1] ok: [dut] => { "msg": "initial configuration for dut\n=========================================\nhostname dut\n!\nno ip domain lookup\nlogging buffered 256000\n\n!\nlldp run\n!\nip host x1 10.0.0.2 10.1.0.2\n!\nip routing\n!\nno ipv6 unicast-routing\n!\n!\ninterface Loopback0\n ip address 10.0.0.1 255.255.255.255\n!\ninterface GigabitEthernet1\n no lldp transmit\n no lldp receive\n!\ninterface GigabitEthernet2\n description dut -> x1\n mtu 1500\n ip address 10.1.0.1 255.255.255.252\n no shutdown\n!\n!\nline vty 0 4\n exec-timeout 0 0 \n!\nno banner exec\nno banner login\nno banner incoming\n" } TASK [Deploy initial configuration] ******************************************** skipping: [x1] included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/ios.yml for dut TASK [ios_config: deploying initial from /work/netlab_cicd/node_files/dut/initial.cfg] *** [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 saved configuration files] **************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-custom-config.yml for dut, x1 TASK [Find configuration template] ********************************************* ok: [x1] ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] TASK [Check is the configuration template is a file] *************************** ok: [dut -> localhost] ok: [x1 -> localhost] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] TASK [Process template /work/netlab_cicd/node_files/dut/saved.cfg for dut] ***** skipping: [x1] skipping: [dut] TASK [debug] ******************************************************************* skipping: [dut] skipping: [x1] TASK [debug] ******************************************************************* skipping: [dut] skipping: [x1] TASK [Find custom configuration deployment script] ***************************** ok: [x1] ok: [dut] TASK [Run the configuration deployment script] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/reload-config/ios.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/frr.yml for x1 TASK [Config SCP server on Cisco IOS] ****************************************** [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 changed: [dut] TASK [Copy replacement configuration to Cisco IOS device] ********************** included: /home/pipi/net101/tools/netsim/ansible/tasks/reload-config/_copy_config.yml for dut TASK [Check if 'sshpass' is installed] ***************************************** ok: [dut -> localhost] TASK [Copy replacement configuration to the device] **************************** changed: [dut -> localhost] TASK [Replace running configuration] ******************************************* ok: [dut] TASK [template] **************************************************************** changed: [x1] TASK [set_fact] **************************************************************** ok: [x1] TASK [run /tmp/config.sh to deploy saved config from /work/netlab_cicd/node_files/x1/saved.cfg] *** skipping: [x1] TASK [run vtysh to import saved config from /work/netlab_cicd/node_files/x1/saved.cfg] *** changed: [x1] PLAY RECAP ********************************************************************* dut : ok=19 changed=3 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 x1 : ok=12 changed=2 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 [CREATED] dut: initial,saved [CREATED] x1: initial,saved OK: Saved configurations reloaded Creating Device configuration snippets [CREATED] x1: initial,ospf Config Deploying device configurations [INFO] Executing initial configuration for node x1 [INFO] Executing ospf configuration for node x1 Results of configuration script deployments ================================================================================ x1 Script: initial,ospf This topology tests the "start lab with configuration reload" functionality. You should: * Start the lab with "netlab up" * Save the configuration with "netlab collect -o saved" * Stop the lab with "netlab down" * Restart the lab with "netlab up --snapshot --reload-config saved" * Validate the results with "netlab validate"