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 'CumulusCommunity/cumulus-vx' version '5.10.0' 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: 2048M ==> dut: -- Management MAC: ca:fe:00:01:00:00 ==> dut: -- Base box: CumulusCommunity/cumulus-vx ==> dut: -- Storage pool: default ==> dut: -- Image(vda): /var/lib/libvirt/images/ml-17_dut.img, virtio, 6G ==> 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: Machine booted and ready! ==> dut: Running provisioner: shell... dut: Running: inline script dut: ### RUNNING CUMULUS EXTRA CONFIG ### dut: ### Setting cumulus user password to 'GetLost1!' ### dut: ### Disabling ZTP service... dut: Removed "/etc/systemd/system/multi-user.target.wants/ztp.service". 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 09:54:15 INFO Containerlab started version=0.75.0 09:54:15 INFO Parsing & checking topology file=clab-augment.yml 09:54:15 INFO Removing directory path=/work/netlab_cicd/clab-ml-17 09:54:15 INFO Creating docker network name=nl_mgmt_17 IPv4 subnet=192.168.17.0/24 IPv6 subnet="" MTU=0 09:54:15 INFO Creating lab directory path=/work/netlab_cicd/clab-ml-17 09:54:15 INFO Creating container name=x1 09:54:15 INFO Created link: x1:eth1 ▪┄┄▪ virbr2:bni17n2i1 09:54:16 INFO Executed command node=x1 command="sleep 1" stdout="" 09:54:16 INFO Adding host entries path=/etc/hosts 09:54:16 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 │ ╰───────────────┴──────────────────────────────┴─────────┴────────────────╯ Deploying initial device configurations Creating Device configuration snippets [CREATED] dut: initial,ospf [CREATED] x1: initial,ospf Checking Are lab devices ready to be configured? [INFO] Checking lab devices with an Ansible playbook [WARNING]: Could not match supplied host pattern, ignoring: netlab_ready_ssh [WARNING]: Found variable using reserved name: hosts PLAY [Wait for SSH servers] **************************************************** skipping: no hosts matched PLAY [Wait for device-specific conditions] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Find device readiness script] ******************************************** ok: [dut] TASK [Wait for device to become ready] ***************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/readiness-check/cumulus_nvue.yml for dut TASK [Wait for nvued to start] ************************************************* ok: [dut] PLAY RECAP ********************************************************************* dut : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Config Deploying device configurations [INFO] Executing initial configuration for node x1 [INFO] Executing ospf configuration for node x1 [INFO] Starting Ansible playbook to deploy the rest of the configurations [WARNING]: Found variable using reserved name: hosts PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut TASK [Figure out whether to deploy the module initial on current device] ******* ok: [dut] TASK [Find configuration template for initial] ********************************* ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "initial configuration for dut\n=========================================\n\n- set:\n system:\n hostname: dut\n global:\n system-mac: ca:fe:00:01:00:00\n config:\n snippet:\n system-mtu:\n file: /etc/network/ifupdown2/policy.d/mtu.json\n content: |\n { \"address\": { \"defaults\": { \"mtu\": \"1500\" } } }\n\n interface:\n eth0:\n ip:\n vrf: mgmt\n address:\n dhcp: {}\n type: eth\n swp1:\n type: swp\n link:\n state:\n up : {}\n description: \"dut -> x1\"\n ip:\n address:\n 10.1.0.1/30: {}\n ipv6:\n enable: off\n\n\n- set:\n interface:\n lo:\n type: loopback\n ip:\n address:\n 10.0.0.1/32: {}\n ipv6:\n enable: off\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/cumulus_nvue.yml for dut TASK [set_fact] **************************************************************** ok: [dut] TASK [copy the cumulus nvue YAML initial config file to switch (generated from /work/netlab_cicd/node_files/dut/initial)] *** changed: [dut] TASK [execute on cumulus: 'nv config patch' for initial config] **************** changed: [dut] TASK [execute on cumulus: 'nv config apply -y' for initial config] ************* changed: [dut] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut => (item=ospf) TASK [Figure out whether to deploy the module ospf on current device] ********** ok: [dut] TASK [Find configuration template for ospf] ************************************ ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] TASK [Find configuration deployment deploy_script for ospf] ******************** ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "ospf configuration for dut\n=========================================\n- set:\n router:\n ospf:\n enable: on\n\n\n- set:\n vrf:\n default:\n router:\n ospf:\n enable: on\n area: \n 0.0.0.0: {}\n router-id: 10.0.0.1\n\n interface:\n lo:\n router:\n ospf:\n area: 0.0.0.0\n network-type: broadcast\n swp1:\n router:\n ospf:\n area: 0.0.0.0\n network-type: point-to-point\n\n \n\n" } TASK [Deploy ospf configuration] *********************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/cumulus_nvue.yml for dut TASK [set_fact] **************************************************************** ok: [dut] TASK [copy the cumulus nvue YAML ospf config file to switch (generated from /work/netlab_cicd/node_files/dut/ospf)] *** changed: [dut] TASK [execute on cumulus: 'nv config patch' for ospf config] ******************* changed: [dut] TASK [execute on cumulus: 'nv config apply -y' for ospf config] **************** changed: [dut] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=22 changed=6 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Results of configuration script deployments ================================================================================ x1 Script: initial,ospf OK: Lab devices configured 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" [WARNING]: Found variable using reserved name: hosts PLAY [Collect device configurations] ******************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] ok: [x1] TASK [Create '/work/netlab_cicd/saved' directory] ****************************** ok: [dut -> localhost] TASK [Find configuration collection script] ************************************ ok: [dut] ok: [x1] TASK [Collect device configurations] ******************************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/fetch-config/cumulus_nvue.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/fetch-config/frr.yml for x1 TASK [save cumulus nvue config to file on switch] ****************************** changed: [dut] TASK [fetch cumulus yaml config from switch] *********************************** changed: [dut] TASK [Save FRR running configuration to frr.conf] ****************************** changed: [x1] TASK [Collect FRR configuration] *********************************************** changed: [x1] TASK [set_fact] **************************************************************** ok: [x1] TASK [Collect FRR daemons configuration] *************************************** changed: [x1] TASK [Save FRR daemons to /work/netlab_cicd/saved/x1-daemons] ****************** changed: [x1 -> localhost] TASK [Copy collected configuration to '/work/netlab_cicd/saved' directory] ***** skipping: [dut] changed: [x1 -> localhost] PLAY RECAP ********************************************************************* dut : ok=6 changed=2 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 x1 : ok=9 changed=5 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 cwd: /work/netlab_cicd output: saved Checking virtualization provider installation OK: libvirt installed and working correctly OK: clab installed and working correctly Stopping clab nodes provider clab: executing flock -E 42 /tmp/netlab.lock sudo -E containerlab destroy --cleanup -t clab-augment.yml 09:54:36 INFO Parsing & checking topology file=clab-augment.yml 09:54:36 INFO Parsing & checking topology file=clab-augment.yml 09:54:36 INFO Destroying lab name=ml-17 09:54:36 INFO Removed container name=clab-ml-17-x1 09:54:36 INFO Removing host entries path=/etc/hosts 09:54:36 INFO Removing SSH config path=/etc/ssh/ssh_config.d/clab-ml-17.conf Stopping libvirt nodes provider libvirt: executing flock -E 42 /tmp/netlab.lock vagrant destroy -f [fog][WARNING] Unrecognized arguments: libvirt_ip_command ==> dut: Removing domain... ==> dut: Deleting the machine folder