Using transformed lab topology from snapshot file netlab.snapshot.pickle Checking virtualization provider installation OK: clab installed and working correctly Starting clab nodes provider clab: executing flock -E 42 /tmp/netlab.lock sudo -E containerlab deploy --reconfigure -t clab.yml 16:43:47 INFO Containerlab started version=0.75.0 16:43:47 INFO Parsing & checking topology file=clab.yml 16:43:47 INFO Removing directory path=/work/netlab_cicd/clab-ml-17 16:43:47 INFO Creating docker network name=nl_mgmt_17 IPv4 subnet=192.168.17.0/24 IPv6 subnet="" MTU=0 16:43:47 INFO Creating lab directory path=/work/netlab_cicd/clab-ml-17 16:43:47 INFO Creating container name=x1 16:43:47 INFO Creating container name=dut 16:43:47 INFO Created link: dut:eth1 ▪┄┄▪ x1:eth1 16:43:48 INFO Executed command node=x1 command="sleep 1" stdout="" 16:43:48 INFO Adding host entries path=/etc/hosts 16:43:48 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-dut │ cisco_c8000v │ running │ 192.168.17.101 │ │ │ vrnetlab/cisco_c8000v:17.16.01a │ (health: starting) │ N/A │ ├────────────────┼─────────────────────────────────┼────────────────────┼────────────────┤ │ clab-ml-17-x1 │ linux │ running │ 192.168.17.102 │ │ │ quay.io/frrouting/frr:10.6.1 │ │ N/A │ ╰────────────────┴─────────────────────────────────┴────────────────────┴────────────────╯ Reloading saved initial device configurations Checking Are lab devices ready to be configured? [INFO] Checking SSH server(s) on dut [SSH] SSH server on node dut (device cat8000v) is ready after 112.9 seconds [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"