diff options
m--------- | docs/_include/vyos-1x | 0 | ||||
-rw-r--r-- | docs/automation/cloud-init.rst | 50 | ||||
-rw-r--r-- | docs/changelog/1.3.rst | 33 | ||||
-rw-r--r-- | docs/changelog/1.4.rst | 43 | ||||
-rw-r--r-- | docs/cli.rst | 105 | ||||
-rw-r--r-- | docs/configexamples/autotest/Wireguard/Wireguard.log | 1079 | ||||
-rw-r--r-- | docs/configexamples/autotest/Wireguard/Wireguard.rst | 32 | ||||
-rw-r--r-- | docs/configexamples/autotest/Wireguard/_include/branch.conf | 2 | ||||
-rw-r--r-- | docs/configexamples/autotest/Wireguard/_include/central.conf | 2 | ||||
-rw-r--r-- | docs/configuration/protocols/ospf.rst | 41 | ||||
-rw-r--r-- | docs/configuration/service/tftp-server.rst | 8 | ||||
-rw-r--r-- | docs/configuration/vpn/ipsec.rst | 82 | ||||
-rw-r--r-- | docs/configuration/vrf/index.rst | 2 |
13 files changed, 994 insertions, 485 deletions
diff --git a/docs/_include/vyos-1x b/docs/_include/vyos-1x -Subproject 22e3558834784a8ca37f6335c15c58a631a7fe1 +Subproject b675c8b6187c4b77759e3f96c9c92dd382dabea diff --git a/docs/automation/cloud-init.rst b/docs/automation/cloud-init.rst index 8f5dfcba..3ca8739b 100644 --- a/docs/automation/cloud-init.rst +++ b/docs/automation/cloud-init.rst @@ -19,7 +19,7 @@ VyOS support three types of config sources. * Metadata - Metadata is sourced by the cloud platform or hypervisor. In some clouds, there is implemented as an HTTP endpoint at - ```http://169.254.169.254```. + ``http://169.254.169.254``. * Network configuration - This config source informs the system about the network settings like IP addresses, routes, DNS. Available only in several cloud and virtualization platforms. @@ -44,13 +44,14 @@ described below. Cloud-config modules ******************** -In VyOS, by default, enabled only two modules: +In VyOS, by default, enables only two modules: * ``write_files`` - this module allows to insert any files into the filesystem before the first boot, for example, pre-generated encryption keys, certificates, or even a whole ``config.boot`` file. * ``vyos_userdata`` - the module accepts a list of CLI configuration commands in a ``vyos_config_commands`` section, which gives an easy way to configure the + system during deployment. ************************ @@ -169,6 +170,51 @@ obtained from the EC2 metadata service. commit exit +******* +NoCloud +******* + +Injecting configuration data is not limited to cloud platforms. Users can +employ the NoCloud data source to inject user-data and meta-data on +virtualization platforms such as VMware, Hyper-V and KVM. + +While other methods exist, the most straightforward method for using the +NoCloud data source is creating a seed ISO and attaching it to the virtual +machine as a CD drive. The volume must be formatted as a vfat or ISO 9660 +file system with the label "cidata" or "CIDATA". + +Create text files named user-data and meta-data. On linux-based systems, +the mkisofs utility can be used to create the seed ISO. The following +syntax will add these files to the ISO 9660 file system. + +.. code-block:: none + + mkisofs -joliet -rock -volid "cidata" -output seed.iso meta-data user-data + +The seed.iso file can be attached to the virtual machine. As an example, +the method with KVM to attach the ISO as a CD drive follows. + +.. code-block:: none + + $ virt-install -n vyos_r1 \ + --ram 4096 \ + --vcpus 2 \ + --cdrom seed.iso \ + --os-type linux \ + --os-variant debian10 \ + --network network=default \ + --graphics vnc \ + --hvm \ + --virt-type kvm \ + --disk path=/var/lib/libvirt/images/vyos_kvm.qcow2,bus=virtio \ + --import \ + --noautoconsole + + +For more information on the NoCloud data source, visit its +`page <https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html>`_ +in the cloud-init documentation. + *************** Troubleshooting *************** diff --git a/docs/changelog/1.3.rst b/docs/changelog/1.3.rst index b7dd1861..68d15822 100644 --- a/docs/changelog/1.3.rst +++ b/docs/changelog/1.3.rst @@ -8,6 +8,37 @@ _ext/releasenotes.py +2021-11-28 +========== + +* :vytask:`T3999` (bug): show lldp neighbor Traceback error + + +2021-11-26 +========== + +* :vytask:`T4019` (bug): Smoketests for SSTP and openconnect fails + + +2021-11-25 +========== + +* :vytask:`T4005` (feature): Feature Request: IPsec IKEv1 + IKEv2 for one peer + + +2021-11-24 +========== + +* :vytask:`T4015` (feature): Update Accel-PPP to a newer revision +* :vytask:`T1083` (feature): Implement persistent/random address and port mapping options for NAT rules + + +2021-11-23 +========== + +* :vytask:`T3990` (bug): WATCHFRR: crashlog and per-thread log buffering unavailable (due to files left behind in /var/tmp/frr/ after reboot) + + 2021-11-20 ========== @@ -1141,7 +1172,7 @@ 2021-02-16 ========== -* :vytask:`T3318` (feature): Update Linux Kernel to v5.4.160 / 5.10.80 +* :vytask:`T3318` (feature): Update Linux Kernel to v5.4.162 / 5.10.82 2021-02-14 diff --git a/docs/changelog/1.4.rst b/docs/changelog/1.4.rst index 4f1a9df2..047f2a6b 100644 --- a/docs/changelog/1.4.rst +++ b/docs/changelog/1.4.rst @@ -8,6 +8,47 @@ _ext/releasenotes.py +2021-11-28 +========== + +* :vytask:`T3999` (bug): show lldp neighbor Traceback error +* :vytask:`T3928` (feature): Add OSPFv3 VRF support + + +2021-11-27 +========== + +* :vytask:`T3755` (feature): ospf: adjust to new FRR 8 syntax where "no passive-interface " moved to interface section +* :vytask:`T3753` (feature): frr: upgrade to stable/8.1 release train + + +2021-11-26 +========== + +* :vytask:`T3978` (bug): containers add network without declaring prefix raise ConfigError + + +2021-11-25 +========== + +* :vytask:`T4006` (default): Add additional Linux capabilities to container configuration +* :vytask:`T3986` (bug): Incorrect description for vpn ipsec site-to-site authentication and connection + + +2021-11-24 +========== + +* :vytask:`T4015` (feature): Update Accel-PPP to a newer revision +* :vytask:`T3865` (bug): loadkey command help text missing escape sequence +* :vytask:`T1083` (feature): Implement persistent/random address and port mapping options for NAT rules + + +2021-11-23 +========== + +* :vytask:`T3990` (bug): WATCHFRR: crashlog and per-thread log buffering unavailable (due to files left behind in /var/tmp/frr/ after reboot) + + 2021-11-20 ========== @@ -1290,7 +1331,7 @@ ========== * :vytask:`T3313` (bug): ospfv3 interface missing options -* :vytask:`T3318` (feature): Update Linux Kernel to v5.4.160 / 5.10.80 +* :vytask:`T3318` (feature): Update Linux Kernel to v5.4.162 / 5.10.82 2021-02-15 diff --git a/docs/cli.rst b/docs/cli.rst index 884c3d51..df50782f 100644 --- a/docs/cli.rst +++ b/docs/cli.rst @@ -228,6 +228,111 @@ special way on how to :ref:`run_opmode_from_config_mode`. .. _`forum`: https://forum.vyos.io +.. opcmd:: show configuration json + + View the current active configuration in JSON format. + + .. code-block:: none + + {"interfaces": {"ethernet": {"eth0": {"address": ["192.0.2.11/24", "192.0.2.35/24"], "hw-id": "52:54:00:48:a0:c6"}, "eth1": {"address": ["203.0.113.1/24"], "hw-id": "52:54:00:fc:50:0b"}}, "loopback": {"lo": {}}}, "protocols": {"static": {"route": {"0.0.0.0/0": {"next-hop": {"192.0.2.254": {}}}}}}, "service": {"ssh": {"disable-host-validation": {}}}, "system": {"config-management": {"commit-revisions": "100"}, "console": {"device": {"ttyS0": {"speed": "115200"}}}, "host-name": "r11-vyos", "login": {"user": {"vyos": {"authentication": {"encrypted-password": "$6$Vt68...F0", "plaintext-password": "", "public-keys": {"vyos@vyos": {"key": "AAAAxxx=", "type": "ssh-rsa"}}}}}}, "name-server": ["203.0.113.254"], "ntp": {"server": {"time1.vyos.net": {}, "time2.vyos.net": {}, "time3.vyos.net": {}}}, "syslog": {"global": {"facility": {"all": {"level": "info"}, "protocols": {"level": "debug"}}}}, "time-zone": "America/New_York"}} + +.. opcmd:: show configuration json pretty + + View the current active configuration in readable JSON format. + + .. code-block:: none + + { + "interfaces": { + "ethernet": { + "eth0": { + "address": [ + "192.0.2.11/24", + "192.0.2.35/24" + ], + "hw-id": "52:54:00:48:a0:c6" + }, + "eth1": { + "address": [ + "203.0.113.1/24" + ], + "hw-id": "52:54:00:fc:50:0b" + } + }, + "loopback": { + "lo": {} + } + }, + "protocols": { + "static": { + "route": { + "0.0.0.0/0": { + "next-hop": { + "192.0.2.254": {} + } + } + } + } + }, + "service": { + "ssh": { + "disable-host-validation": {} + } + }, + "system": { + "config-management": { + "commit-revisions": "100" + }, + "console": { + "device": { + "ttyS0": { + "speed": "115200" + } + } + }, + "host-name": "r11-vyos", + "login": { + "user": { + "vyos": { + "authentication": { + "encrypted-password": "$6$Vt68...F0", + "plaintext-password": "", + "public-keys": { + "vyos@vyos": { + "key": "AAAAxxx=", + "type": "ssh-rsa" + } + } + } + } + } + }, + "name-server": [ + "203.0.113.254" + ], + "ntp": { + "server": { + "time1.vyos.net": {}, + "time2.vyos.net": {}, + "time3.vyos.net": {} + } + }, + "syslog": { + "global": { + "facility": { + "all": { + "level": "info" + }, + "protocols": { + "level": "debug" + } + } + } + }, + "time-zone": "America/New_York" + } + } + The config mode --------------- diff --git a/docs/configexamples/autotest/Wireguard/Wireguard.log b/docs/configexamples/autotest/Wireguard/Wireguard.log index f59a86be..aa02352c 100644 --- a/docs/configexamples/autotest/Wireguard/Wireguard.log +++ b/docs/configexamples/autotest/Wireguard/Wireguard.log @@ -1,451 +1,630 @@ -2021-11-23 15:10:43,829 p=3983 u=rob n=ansible | PLAY [prepare node and Lab] ************************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:43,844 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : fail] ********************************************************************************************************************************************************************************************************************************************* -2021-11-23 15:10:43,864 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:43,865 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:43,866 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:43,869 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:43,871 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : fail] ********************************************************************************************************************************************************************************************************************************************* -2021-11-23 15:10:43,884 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:43,889 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:43,891 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:43,894 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:43,896 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : Login to EVE-NG and get Cookie] ******************************************************************************************************************************************************************************************************************* -2021-11-23 15:10:43,914 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:43,915 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:43,919 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:44,957 p=3983 u=rob n=ansible | ok: [eveng] -2021-11-23 15:10:44,962 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : get template facts] ******************************************************************************************************************************************************************************************************************************* -2021-11-23 15:10:44,994 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:44,996 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:45,001 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:45,552 p=3983 u=rob n=ansible | ok: [eveng] -2021-11-23 15:10:45,558 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : Register path status] ***************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:45,591 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:45,591 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:45,597 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:45,999 p=3983 u=rob n=ansible | ok: [eveng] -2021-11-23 15:10:46,003 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : create path] ************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,023 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,031 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,032 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,039 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,042 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : Download iso] ************************************************************************************************************************************************************************************************************************************* -2021-11-23 15:10:46,056 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,062 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,065 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,069 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,073 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : create virtioa.qcow2 file] ************************************************************************************************************************************************************************************************************************ -2021-11-23 15:10:46,086 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,092 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,095 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,097 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,100 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : Login to EVE-NG and get Cookie] ******************************************************************************************************************************************************************************************************************* -2021-11-23 15:10:46,112 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,117 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,119 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,123 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,126 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : create lab for node install] ********************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,138 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,144 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,146 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,149 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,151 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : open lab] ***************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,164 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,169 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,171 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,175 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,178 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : set_fact] ***************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,190 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,196 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,198 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,201 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,203 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : add node to lab] ********************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,216 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,221 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,222 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,226 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,228 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : start node] *************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,240 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,245 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,247 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,250 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,252 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : get node infos] *********************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,265 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,270 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,272 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,275 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,277 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : set_fact] ***************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,291 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,298 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,299 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,303 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,307 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : copy file] **************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,319 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,324 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,327 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,330 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,332 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : run expect script] ******************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,344 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,349 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,351 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,356 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,358 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : Login to EVE-NG and get Cookie (due timeout)] ***************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,372 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,378 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,380 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,382 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,385 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : stop node] **************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,397 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,403 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,405 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,408 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,411 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : Pause to wait node is shutdown] ******************************************************************************************************************************************************************************************************************* -2021-11-23 15:10:46,419 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,421 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : delete iso] *************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,433 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,439 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,441 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,445 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,447 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : commit virtioa.qcow2] ***************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,460 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,466 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,468 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,470 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,472 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : delete lab for node install] ********************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,484 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,490 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,492 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,496 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,502 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : fail] ************************************************************************************************************************************************************************************************************************************************ -2021-11-23 15:10:46,515 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:46,521 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,523 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,526 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:46,528 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Login to EVE-NG and get Cookie] ********************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:46,548 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:46,549 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:46,554 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:47,231 p=3983 u=rob n=ansible | ok: [eveng] -2021-11-23 15:10:47,236 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : get running lab list] ******************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:47,263 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:47,265 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:47,270 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:47,803 p=3983 u=rob n=ansible | ok: [eveng] -2021-11-23 15:10:47,807 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : delte existing lab] ********************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:47,832 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:47,834 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:47,838 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:48,479 p=3983 u=rob n=ansible | ok: [eveng] -2021-11-23 15:10:48,487 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Ensure labtest is present] *************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:48,516 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:48,518 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:48,524 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:48,916 p=3983 u=rob n=ansible | ok: [eveng] -2021-11-23 15:10:48,922 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Create Wireguard Lab] ******************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:48,947 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:48,948 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:48,952 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:49,816 p=3983 u=rob n=ansible | changed: [eveng] -2021-11-23 15:10:49,821 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Login to EVE-NG and get Cookie] ********************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:49,846 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:49,848 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:49,854 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:50,540 p=3983 u=rob n=ansible | ok: [eveng] -2021-11-23 15:10:50,546 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : start vyos-oobm] ************************************************************************************************************************************************************************************************************************************* -2021-11-23 15:10:50,579 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:10:50,579 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:50,583 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:10:51,633 p=3983 u=rob n=ansible | ok: [eveng] -2021-11-23 15:10:51,640 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Wait for vyos-oobm] ********************************************************************************************************************************************************************************************************************************** -2021-11-23 15:10:51,661 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:10:51,670 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:10:51,676 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:11:28,054 p=3983 u=rob n=ansible | ok: [vyos-oobm] -2021-11-23 15:11:28,061 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Login to EVE-NG and get Cookie] ********************************************************************************************************************************************************************************************************************** -2021-11-23 15:11:28,092 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:11:28,093 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:11:28,099 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:11:28,809 p=3983 u=rob n=ansible | ok: [eveng] -2021-11-23 15:11:28,815 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : get lab status] ************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:11:28,844 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:11:28,844 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:11:28,850 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:11:29,381 p=3983 u=rob n=ansible | ok: [eveng] -2021-11-23 15:11:29,387 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : start all nodes] ************************************************************************************************************************************************************************************************************************************* -2021-11-23 15:11:29,416 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:11:29,418 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:11:29,424 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:11:29,962 p=3983 u=rob n=ansible | ok: [eveng] => (item=1) -2021-11-23 15:11:30,968 p=3983 u=rob n=ansible | ok: [eveng] => (item=4) -2021-11-23 15:11:32,027 p=3983 u=rob n=ansible | ok: [eveng] => (item=6) -2021-11-23 15:11:32,943 p=3983 u=rob n=ansible | ok: [eveng] => (item=2) -2021-11-23 15:11:33,950 p=3983 u=rob n=ansible | ok: [eveng] => (item=3) -2021-11-23 15:11:33,958 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Wait for vyos nodes] ********************************************************************************************************************************************************************************************************************************* -2021-11-23 15:11:33,976 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:11:33,984 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:11:34,907 p=4468 u=rob n=ansible | network_os is set to vyos -2021-11-23 15:11:34,907 p=4467 u=rob n=ansible | network_os is set to vyos -2021-11-23 15:11:49,934 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Exception: Error reading SSH protocol banner -2021-11-23 15:11:49,936 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Exception: Error reading SSH protocol banner -2021-11-23 15:11:49,937 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Traceback (most recent call last): -2021-11-23 15:11:49,937 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Traceback (most recent call last): -2021-11-23 15:11:49,937 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner -2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner -2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | buf = self.packetizer.readline(timeout) -2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | buf = self.packetizer.readline(timeout) -2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline -2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline -2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | buf += self._read_timeout(timeout) -2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | buf += self._read_timeout(timeout) -2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout -2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout -2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | raise socket.timeout() -2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | raise socket.timeout() -2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | socket.timeout -2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | socket.timeout -2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | -2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | -2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | During handling of the above exception, another exception occurred: -2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | During handling of the above exception, another exception occurred: -2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | -2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | -2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Traceback (most recent call last): -2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Traceback (most recent call last): -2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run -2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run -2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | self._check_banner() -2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | self._check_banner() -2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner -2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner -2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | raise SSHException( -2021-11-23 15:11:49,940 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | raise SSHException( -2021-11-23 15:11:49,940 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner -2021-11-23 15:11:49,940 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner -2021-11-23 15:11:49,940 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | -2021-11-23 15:11:49,940 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | -2021-11-23 15:12:05,971 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Exception: Error reading SSH protocol banner -2021-11-23 15:12:05,971 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Exception: Error reading SSH protocol banner -2021-11-23 15:12:05,972 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Traceback (most recent call last): -2021-11-23 15:12:05,972 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Traceback (most recent call last): -2021-11-23 15:12:05,972 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner -2021-11-23 15:12:05,972 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner -2021-11-23 15:12:05,972 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | buf = self.packetizer.readline(timeout) -2021-11-23 15:12:05,972 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | buf = self.packetizer.readline(timeout) -2021-11-23 15:12:05,973 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline -2021-11-23 15:12:05,973 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline -2021-11-23 15:12:05,973 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | buf += self._read_timeout(timeout) -2021-11-23 15:12:05,973 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | buf += self._read_timeout(timeout) -2021-11-23 15:12:05,973 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout -2021-11-23 15:12:05,973 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout -2021-11-23 15:12:05,973 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | raise socket.timeout() -2021-11-23 15:12:05,973 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | raise socket.timeout() -2021-11-23 15:12:05,973 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | socket.timeout -2021-11-23 15:12:05,973 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | socket.timeout -2021-11-23 15:12:05,973 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | -2021-11-23 15:12:05,973 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | -2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | During handling of the above exception, another exception occurred: -2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | During handling of the above exception, another exception occurred: -2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | -2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | -2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Traceback (most recent call last): -2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Traceback (most recent call last): -2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run -2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run -2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | self._check_banner() -2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | self._check_banner() -2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner -2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner -2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | raise SSHException( -2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | raise SSHException( -2021-11-23 15:12:05,975 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner -2021-11-23 15:12:05,975 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner -2021-11-23 15:12:05,975 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | -2021-11-23 15:12:05,975 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | -2021-11-23 15:12:08,410 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Connected (version 2.0, client OpenSSH_7.9p1) -2021-11-23 15:12:08,477 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Auth banner: b'Welcome to VyOS\n\n' -2021-11-23 15:12:08,478 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Authentication (publickey) successful! -2021-11-23 15:12:09,219 p=3983 u=rob n=ansible | ok: [branch] -2021-11-23 15:12:22,012 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Exception: Error reading SSH protocol banner -2021-11-23 15:12:22,013 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Traceback (most recent call last): -2021-11-23 15:12:22,013 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner -2021-11-23 15:12:22,013 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | buf = self.packetizer.readline(timeout) -2021-11-23 15:12:22,013 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline -2021-11-23 15:12:22,013 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | buf += self._read_timeout(timeout) -2021-11-23 15:12:22,013 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout -2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | raise socket.timeout() -2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | socket.timeout -2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | -2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | During handling of the above exception, another exception occurred: -2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | -2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Traceback (most recent call last): -2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run -2021-11-23 15:12:22,015 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | self._check_banner() -2021-11-23 15:12:22,015 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner -2021-11-23 15:12:22,015 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | raise SSHException( -2021-11-23 15:12:22,015 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner -2021-11-23 15:12:22,015 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | -2021-11-23 15:12:23,497 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Connected (version 2.0, client OpenSSH_7.9p1) -2021-11-23 15:12:23,597 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Auth banner: b'Welcome to VyOS\n\n' -2021-11-23 15:12:23,598 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Authentication (publickey) successful! -2021-11-23 15:12:24,468 p=3983 u=rob n=ansible | ok: [central] -2021-11-23 15:12:24,470 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : include Wireguard lab_config.yml] ******************************************************************************************************************************************************************************************************************** -2021-11-23 15:12:24,485 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:12:24,492 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:12:24,504 p=3983 u=rob n=ansible | included: /Users/rob/git/_vyos/vyos-eveng/labs/Wireguard/lab_config.yml for central, branch -2021-11-23 15:12:24,517 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : show wireguard keypairs pubkey default] ************************************************************************************************************************************************************************************************************** -2021-11-23 15:12:26,045 p=4476 u=rob n=p=4476 u=rob | paramiko [central] | Connected (version 2.0, client OpenSSH_7.9p1) -2021-11-23 15:12:26,147 p=4476 u=rob n=p=4476 u=rob | paramiko [central] | Auth banner: b'Welcome to VyOS\n\n' -2021-11-23 15:12:26,147 p=4476 u=rob n=p=4476 u=rob | paramiko [central] | Authentication (publickey) successful! -2021-11-23 15:12:26,321 p=4475 u=rob n=p=4475 u=rob | paramiko [branch] | Connected (version 2.0, client OpenSSH_7.9p1) -2021-11-23 15:12:26,420 p=4475 u=rob n=p=4475 u=rob | paramiko [branch] | Auth banner: b'Welcome to VyOS\n\n' -2021-11-23 15:12:26,421 p=4475 u=rob n=p=4475 u=rob | paramiko [branch] | Authentication (publickey) successful! -2021-11-23 15:12:27,752 p=3983 u=rob n=ansible | ok: [central] -2021-11-23 15:12:28,014 p=3983 u=rob n=ansible | ok: [branch] -2021-11-23 15:12:28,021 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : fail] ************************************************************************************************************************************************************************************************************************************************ -2021-11-23 15:12:28,901 p=3983 u=rob n=ansible | fatal: [branch]: FAILED! => {"changed": false, "msg": "Failed as requested from task"} -2021-11-23 15:12:28,902 p=3983 u=rob n=ansible | fatal: [central]: FAILED! => {"changed": false, "msg": "Failed as requested from task"} -2021-11-23 15:12:28,913 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : generate wireguard default-keypair] ****************************************************************************************************************************************************************************************************************** -2021-11-23 15:12:30,280 p=3983 u=rob n=ansible | ok: [central] -2021-11-23 15:12:30,281 p=3983 u=rob n=ansible | ok: [branch] -2021-11-23 15:12:30,286 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : show wireguard keypairs pubkey default] ************************************************************************************************************************************************************************************************************** -2021-11-23 15:12:31,635 p=3983 u=rob n=ansible | ok: [central] -2021-11-23 15:12:31,635 p=3983 u=rob n=ansible | ok: [branch] -2021-11-23 15:12:31,651 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : setup nodes] ***************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:12:39,514 p=3983 u=rob n=ansible | [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 +2021-11-30 21:33:12,893 p=91291 u=rob n=ansible | PLAY [prepare node and Lab] *********************************************************************************************************************************************** +2021-11-30 21:33:12,911 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : fail] ****************************************************************************************************************************************** +2021-11-30 21:33:12,926 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:12,934 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:12,935 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:12,939 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:12,941 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : fail] ****************************************************************************************************************************************** +2021-11-30 21:33:12,956 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:12,964 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:12,966 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:12,970 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:12,973 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : Login to EVE-NG and get Cookie] **************************************************************************************************************** +2021-11-30 21:33:13,004 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:13,005 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:13,009 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:13,973 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:33:13,978 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : get template facts] **************************************************************************************************************************** +2021-11-30 21:33:14,000 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:14,005 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:14,010 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:14,489 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:33:14,495 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : Register path status] ************************************************************************************************************************** +2021-11-30 21:33:14,522 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:14,524 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:14,528 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:14,833 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:33:14,836 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : create path] *********************************************************************************************************************************** +2021-11-30 21:33:14,851 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:14,859 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:14,860 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:14,864 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:14,867 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : Download iso] ********************************************************************************************************************************** +2021-11-30 21:33:14,880 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:14,886 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:14,887 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:14,891 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:14,893 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : create virtioa.qcow2 file] ********************************************************************************************************************* +2021-11-30 21:33:14,906 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:14,912 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:14,914 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:14,917 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:14,918 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : Login to EVE-NG and get Cookie] **************************************************************************************************************** +2021-11-30 21:33:14,930 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:14,936 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:14,938 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:14,941 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:14,943 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : create lab for node install] ******************************************************************************************************************* +2021-11-30 21:33:14,957 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:14,963 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:14,965 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:14,967 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:14,969 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : open lab] ************************************************************************************************************************************** +2021-11-30 21:33:14,982 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:14,988 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:14,989 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:14,993 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:14,996 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : set_fact] ************************************************************************************************************************************** +2021-11-30 21:33:15,008 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,013 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,015 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,018 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:15,020 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : add node to lab] ******************************************************************************************************************************* +2021-11-30 21:33:15,031 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,037 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,039 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,041 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:15,043 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : start node] ************************************************************************************************************************************ +2021-11-30 21:33:15,056 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,062 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,064 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,067 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:15,068 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : get node infos] ******************************************************************************************************************************** +2021-11-30 21:33:15,080 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,086 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,089 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,091 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:15,093 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : set_fact] ************************************************************************************************************************************** +2021-11-30 21:33:15,106 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,111 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,113 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,116 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:15,119 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : copy file] ************************************************************************************************************************************* +2021-11-30 21:33:15,130 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,136 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,138 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,140 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:15,143 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : run expect script] ***************************************************************************************************************************** +2021-11-30 21:33:15,155 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,161 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,163 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,166 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:15,168 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : Login to EVE-NG and get Cookie (due timeout)] ************************************************************************************************** +2021-11-30 21:33:15,180 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,185 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,187 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,190 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:15,192 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : stop node] ************************************************************************************************************************************* +2021-11-30 21:33:15,203 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,208 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,210 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,213 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:15,216 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : Pause to wait node is shutdown] **************************************************************************************************************** +2021-11-30 21:33:15,226 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,228 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : delete iso] ************************************************************************************************************************************ +2021-11-30 21:33:15,241 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,247 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,248 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,253 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:15,255 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : commit virtioa.qcow2] ************************************************************************************************************************** +2021-11-30 21:33:15,267 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,273 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,275 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,278 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:15,280 p=91291 u=rob n=ansible | TASK [eve-ng-create-node : delete lab for node install] ******************************************************************************************************************* +2021-11-30 21:33:15,291 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,297 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,299 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,301 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:15,308 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : fail] ********************************************************************************************************************************************* +2021-11-30 21:33:15,321 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:15,328 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,330 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,333 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:15,335 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Login to EVE-NG and get Cookie] ******************************************************************************************************************* +2021-11-30 21:33:15,354 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:15,355 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:15,359 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:16,018 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:33:16,024 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : get running lab list] ***************************************************************************************************************************** +2021-11-30 21:33:16,052 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:16,054 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:16,058 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:16,535 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:33:16,541 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : delete existing lab] ****************************************************************************************************************************** +2021-11-30 21:33:16,573 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:16,576 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:16,583 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:17,044 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:33:17,052 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Ensure labtest is present] ************************************************************************************************************************ +2021-11-30 21:33:17,081 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:17,085 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:17,089 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:17,412 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:33:17,418 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Create Wireguard Lab] ***************************************************************************************************************************** +2021-11-30 21:33:17,443 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:17,445 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:17,449 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:18,120 p=91291 u=rob n=ansible | changed: [eveng] +2021-11-30 21:33:18,124 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Login to EVE-NG and get Cookie] ******************************************************************************************************************* +2021-11-30 21:33:18,150 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:18,160 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:18,163 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:18,886 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:33:18,891 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : start vyos-oobm] ********************************************************************************************************************************** +2021-11-30 21:33:18,930 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:33:18,932 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:18,937 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:33:20,115 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:33:20,122 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Wait for vyos-oobm] ******************************************************************************************************************************* +2021-11-30 21:33:20,141 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:33:20,156 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:33:20,161 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:34:03,079 p=91291 u=rob n=ansible | ok: [vyos-oobm] +2021-11-30 21:34:03,086 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Login to EVE-NG and get Cookie] ******************************************************************************************************************* +2021-11-30 21:34:03,116 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:34:03,119 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:34:03,124 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:34:03,840 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:34:03,846 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : get lab status] *********************************************************************************************************************************** +2021-11-30 21:34:03,873 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:34:03,876 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:34:03,882 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:34:04,356 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:34:04,361 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : start all nodes] ********************************************************************************************************************************** +2021-11-30 21:34:04,391 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:34:04,391 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:34:04,399 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:34:04,972 p=91291 u=rob n=ansible | ok: [eveng] => (item=1) +2021-11-30 21:34:06,097 p=91291 u=rob n=ansible | ok: [eveng] => (item=4) +2021-11-30 21:34:07,233 p=91291 u=rob n=ansible | ok: [eveng] => (item=6) +2021-11-30 21:34:08,143 p=91291 u=rob n=ansible | ok: [eveng] => (item=2) +2021-11-30 21:34:09,060 p=91291 u=rob n=ansible | ok: [eveng] => (item=3) +2021-11-30 21:34:09,068 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Wait for vyos nodes] ****************************************************************************************************************************** +2021-11-30 21:34:09,087 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:34:09,096 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:34:10,046 p=91755 u=rob n=ansible | network_os is set to vyos +2021-11-30 21:34:10,047 p=91756 u=rob n=ansible | network_os is set to vyos +2021-11-30 21:34:25,068 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | Exception: Error reading SSH protocol banner +2021-11-30 21:34:25,071 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | Traceback (most recent call last): +2021-11-30 21:34:25,071 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner +2021-11-30 21:34:25,071 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | buf = self.packetizer.readline(timeout) +2021-11-30 21:34:25,071 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline +2021-11-30 21:34:25,072 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | buf += self._read_timeout(timeout) +2021-11-30 21:34:25,072 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout +2021-11-30 21:34:25,072 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | raise socket.timeout() +2021-11-30 21:34:25,072 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | socket.timeout +2021-11-30 21:34:25,072 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | +2021-11-30 21:34:25,072 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | During handling of the above exception, another exception occurred: +2021-11-30 21:34:25,072 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | +2021-11-30 21:34:25,073 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | Traceback (most recent call last): +2021-11-30 21:34:25,073 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run +2021-11-30 21:34:25,073 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | self._check_banner() +2021-11-30 21:34:25,073 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | Exception: Error reading SSH protocol banner +2021-11-30 21:34:25,073 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner +2021-11-30 21:34:25,073 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | raise SSHException( +2021-11-30 21:34:25,073 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner +2021-11-30 21:34:25,073 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | +2021-11-30 21:34:25,074 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | Traceback (most recent call last): +2021-11-30 21:34:25,074 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner +2021-11-30 21:34:25,074 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | buf = self.packetizer.readline(timeout) +2021-11-30 21:34:25,074 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline +2021-11-30 21:34:25,074 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | buf += self._read_timeout(timeout) +2021-11-30 21:34:25,074 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout +2021-11-30 21:34:25,074 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | raise socket.timeout() +2021-11-30 21:34:25,075 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | socket.timeout +2021-11-30 21:34:25,075 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | +2021-11-30 21:34:25,075 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | During handling of the above exception, another exception occurred: +2021-11-30 21:34:25,075 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | +2021-11-30 21:34:25,075 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | Traceback (most recent call last): +2021-11-30 21:34:25,075 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run +2021-11-30 21:34:25,075 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | self._check_banner() +2021-11-30 21:34:25,075 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner +2021-11-30 21:34:25,076 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | raise SSHException( +2021-11-30 21:34:25,076 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner +2021-11-30 21:34:25,076 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | +2021-11-30 21:34:41,100 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | Exception: Error reading SSH protocol banner +2021-11-30 21:34:41,101 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | Traceback (most recent call last): +2021-11-30 21:34:41,101 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner +2021-11-30 21:34:41,101 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | buf = self.packetizer.readline(timeout) +2021-11-30 21:34:41,101 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline +2021-11-30 21:34:41,101 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | buf += self._read_timeout(timeout) +2021-11-30 21:34:41,101 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout +2021-11-30 21:34:41,102 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | raise socket.timeout() +2021-11-30 21:34:41,102 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | socket.timeout +2021-11-30 21:34:41,102 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | +2021-11-30 21:34:41,102 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | During handling of the above exception, another exception occurred: +2021-11-30 21:34:41,102 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | +2021-11-30 21:34:41,102 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | Traceback (most recent call last): +2021-11-30 21:34:41,102 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run +2021-11-30 21:34:41,102 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | self._check_banner() +2021-11-30 21:34:41,103 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner +2021-11-30 21:34:41,103 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | raise SSHException( +2021-11-30 21:34:41,103 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner +2021-11-30 21:34:41,103 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | +2021-11-30 21:34:41,112 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | Exception: Error reading SSH protocol banner +2021-11-30 21:34:41,113 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | Traceback (most recent call last): +2021-11-30 21:34:41,113 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner +2021-11-30 21:34:41,113 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | buf = self.packetizer.readline(timeout) +2021-11-30 21:34:41,113 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline +2021-11-30 21:34:41,113 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | buf += self._read_timeout(timeout) +2021-11-30 21:34:41,114 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout +2021-11-30 21:34:41,114 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | raise socket.timeout() +2021-11-30 21:34:41,114 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | socket.timeout +2021-11-30 21:34:41,114 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | +2021-11-30 21:34:41,114 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | During handling of the above exception, another exception occurred: +2021-11-30 21:34:41,114 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | +2021-11-30 21:34:41,114 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | Traceback (most recent call last): +2021-11-30 21:34:41,114 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run +2021-11-30 21:34:41,115 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | self._check_banner() +2021-11-30 21:34:41,115 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner +2021-11-30 21:34:41,115 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | raise SSHException( +2021-11-30 21:34:41,115 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner +2021-11-30 21:34:41,115 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | +2021-11-30 21:34:43,749 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | Connected (version 2.0, client OpenSSH_7.9p1) +2021-11-30 21:34:43,804 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | Auth banner: b'Welcome to VyOS\n\n' +2021-11-30 21:34:43,805 p=91756 u=rob n=p=91756 u=rob | paramiko [branch] | Authentication (publickey) successful! +2021-11-30 21:34:44,529 p=91291 u=rob n=ansible | ok: [branch] +2021-11-30 21:34:57,139 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | Exception: Error reading SSH protocol banner +2021-11-30 21:34:57,139 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | Traceback (most recent call last): +2021-11-30 21:34:57,140 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner +2021-11-30 21:34:57,140 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | buf = self.packetizer.readline(timeout) +2021-11-30 21:34:57,140 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline +2021-11-30 21:34:57,140 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | buf += self._read_timeout(timeout) +2021-11-30 21:34:57,140 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout +2021-11-30 21:34:57,140 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | raise socket.timeout() +2021-11-30 21:34:57,140 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | socket.timeout +2021-11-30 21:34:57,141 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | +2021-11-30 21:34:57,141 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | During handling of the above exception, another exception occurred: +2021-11-30 21:34:57,141 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | +2021-11-30 21:34:57,141 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | Traceback (most recent call last): +2021-11-30 21:34:57,141 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run +2021-11-30 21:34:57,141 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | self._check_banner() +2021-11-30 21:34:57,141 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner +2021-11-30 21:34:57,141 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | raise SSHException( +2021-11-30 21:34:57,142 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner +2021-11-30 21:34:57,142 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | +2021-11-30 21:34:58,833 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | Connected (version 2.0, client OpenSSH_7.9p1) +2021-11-30 21:34:58,925 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | Auth banner: b'Welcome to VyOS\n\n' +2021-11-30 21:34:58,926 p=91755 u=rob n=p=91755 u=rob | paramiko [central] | Authentication (publickey) successful! +2021-11-30 21:34:59,733 p=91291 u=rob n=ansible | ok: [central] +2021-11-30 21:34:59,735 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : include Wireguard lab_config.yml] ***************************************************************************************************************** +2021-11-30 21:34:59,750 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:34:59,755 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:34:59,770 p=91291 u=rob n=ansible | included: /Users/rob/git/_vyos/vyos-eveng/labs/Wireguard/lab_config.yml for central, branch +2021-11-30 21:34:59,787 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : show wireguard keypairs pubkey default] *********************************************************************************************************** +2021-11-30 21:35:01,570 p=91763 u=rob n=p=91763 u=rob | paramiko [central] | Connected (version 2.0, client OpenSSH_7.9p1) +2021-11-30 21:35:01,657 p=91763 u=rob n=p=91763 u=rob | paramiko [central] | Auth banner: b'Welcome to VyOS\n\n' +2021-11-30 21:35:01,658 p=91763 u=rob n=p=91763 u=rob | paramiko [central] | Authentication (publickey) successful! +2021-11-30 21:35:01,824 p=91764 u=rob n=p=91764 u=rob | paramiko [branch] | Connected (version 2.0, client OpenSSH_7.9p1) +2021-11-30 21:35:01,915 p=91764 u=rob n=p=91764 u=rob | paramiko [branch] | Auth banner: b'Welcome to VyOS\n\n' +2021-11-30 21:35:01,915 p=91764 u=rob n=p=91764 u=rob | paramiko [branch] | Authentication (publickey) successful! +2021-11-30 21:35:03,133 p=91291 u=rob n=ansible | ok: [central] +2021-11-30 21:35:03,426 p=91291 u=rob n=ansible | ok: [branch] +2021-11-30 21:35:03,433 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : fail] ********************************************************************************************************************************************* +2021-11-30 21:35:04,306 p=91291 u=rob n=ansible | fatal: [branch]: FAILED! => {"changed": false, "msg": "Failed as requested from task"} +2021-11-30 21:35:04,307 p=91291 u=rob n=ansible | fatal: [central]: FAILED! => {"changed": false, "msg": "Failed as requested from task"} +2021-11-30 21:35:04,317 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : generate wireguard default-keypair] *************************************************************************************************************** +2021-11-30 21:35:05,666 p=91291 u=rob n=ansible | ok: [central] +2021-11-30 21:35:05,666 p=91291 u=rob n=ansible | ok: [branch] +2021-11-30 21:35:05,674 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : show wireguard keypairs pubkey default] *********************************************************************************************************** +2021-11-30 21:35:07,015 p=91291 u=rob n=ansible | ok: [central] +2021-11-30 21:35:07,016 p=91291 u=rob n=ansible | ok: [branch] +2021-11-30 21:35:07,031 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : setup nodes] ************************************************************************************************************************************** +2021-11-30 21:35:14,895 p=91291 u=rob n=ansible | [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 -2021-11-23 15:12:39,515 p=3983 u=rob n=ansible | changed: [branch] -2021-11-23 15:12:39,555 p=3983 u=rob n=ansible | changed: [central] -2021-11-23 15:12:39,557 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : wait, b/c the ping often failed without a short break] *********************************************************************************************************************************************************************************************** -2021-11-23 15:12:39,565 p=4689 u=rob n=ansible | Pausing for 30 seconds -2021-11-23 15:12:39,565 p=4689 u=rob n=ansible | (ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
-2021-11-23 15:13:09,571 p=3983 u=rob n=ansible | ok: [eveng] -2021-11-23 15:13:09,580 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : do ping test] **************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:09,606 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:09,617 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:14,941 p=3983 u=rob n=ansible | ok: [central] => (item=10.0.2.100) -2021-11-23 15:13:14,960 p=3983 u=rob n=ansible | ok: [branch] => (item=10.0.1.100) -2021-11-23 15:13:14,963 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : execute test commands] ******************************************************************************************************************************************************************************************************************************* -2021-11-23 15:13:14,986 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:14,986 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:16,263 p=3983 u=rob n=ansible | ok: [central] => (item={'desc': 'Test if IP is set to interface', 'command': "ip -4 addr show dev eth2 | grep inet | tr -s ' ' | cut -d' ' -f3 | head -n 1", 'wait_for': ['result[0] contains "10.0.1.254/24"']}) -2021-11-23 15:13:16,490 p=3983 u=rob n=ansible | ok: [branch] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.2/24 u/u VPN-to-central"']}) -2021-11-23 15:13:16,734 p=3983 u=rob n=ansible | ok: [central] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.1/24 u/u VPN-to-Branch"']}) -2021-11-23 15:13:16,739 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : register stdout commands] **************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:16,762 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:16,763 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:18,145 p=3983 u=rob n=ansible | ok: [branch] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'}) -2021-11-23 15:13:18,146 p=3983 u=rob n=ansible | ok: [central] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'}) -2021-11-23 15:13:21,501 p=3983 u=rob n=ansible | ok: [central] => (item={'name': 'ping_branch_pc', 'command': 'ping 10.0.2.100 count 4'}) -2021-11-23 15:13:21,506 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Set variables] *************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:21,523 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:21,530 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:22,390 p=3983 u=rob n=ansible | ok: [central] -2021-11-23 15:13:22,391 p=3983 u=rob n=ansible | ok: [branch] -2021-11-23 15:13:22,407 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : make sure tmp dir exist] ***************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:22,438 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:22,447 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:22,449 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:22,454 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:22,459 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Download upgrade_iso] ******************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:22,476 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:22,483 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:22,483 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:22,488 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:22,492 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Copy iso to host] ************************************************************************************************************************************************************************************************************************************ -2021-11-23 15:13:22,505 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:22,512 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:22,513 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:22,517 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:22,519 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : upgrade vyos] **************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:22,532 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:22,538 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:22,540 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:22,543 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:22,545 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Reboot vyos] ***************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:22,558 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:22,564 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:22,566 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:22,569 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:22,571 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : wait while shutdown] ********************************************************************************************************************************************************************************************************************************* -2021-11-23 15:13:22,579 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:22,580 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Wait for vyos nodes] ********************************************************************************************************************************************************************************************************************************* -2021-11-23 15:13:22,593 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:22,600 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:22,600 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:22,604 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:22,608 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : clear tmp dir] *************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:22,615 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:22,617 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : wait, b/c the ping often failed without a short break] *********************************************************************************************************************************************************************************************** -2021-11-23 15:13:22,625 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:22,627 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : do ping test] **************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:22,639 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:22,645 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:22,652 p=3983 u=rob n=ansible | skipping: [central] => (item=10.0.2.100) -2021-11-23 15:13:22,657 p=3983 u=rob n=ansible | skipping: [branch] => (item=10.0.1.100) -2021-11-23 15:13:22,660 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : execute test commands] ******************************************************************************************************************************************************************************************************************************* -2021-11-23 15:13:22,672 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:22,678 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:22,686 p=3983 u=rob n=ansible | skipping: [central] => (item={'desc': 'Test if IP is set to interface', 'command': "ip -4 addr show dev eth2 | grep inet | tr -s ' ' | cut -d' ' -f3 | head -n 1", 'wait_for': ['result[0] contains "10.0.1.254/24"']}) -2021-11-23 15:13:22,686 p=3983 u=rob n=ansible | skipping: [central] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.1/24 u/u VPN-to-Branch"']}) -2021-11-23 15:13:22,690 p=3983 u=rob n=ansible | skipping: [branch] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.2/24 u/u VPN-to-central"']}) -2021-11-23 15:13:22,694 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : register stdout commands] **************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:22,709 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:22,714 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:22,722 p=3983 u=rob n=ansible | skipping: [central] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'}) -2021-11-23 15:13:22,722 p=3983 u=rob n=ansible | skipping: [central] => (item={'name': 'ping_branch_pc', 'command': 'ping 10.0.2.100 count 4'}) -2021-11-23 15:13:22,726 p=3983 u=rob n=ansible | skipping: [branch] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'}) -2021-11-23 15:13:22,729 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Set variables] *************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:22,743 p=3983 u=rob n=ansible | skipping: [eveng] -2021-11-23 15:13:22,749 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:22,750 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:22,753 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:22,757 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : make sure output dir exist] ************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:22,778 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:22,779 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:22,783 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:22,951 p=3983 u=rob n=ansible | changed: [eveng -> localhost] -2021-11-23 15:13:22,954 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : make sure output include dir exist] ****************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:22,977 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:22,978 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:22,982 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:23,081 p=3983 u=rob n=ansible | changed: [eveng -> localhost] -2021-11-23 15:13:23,083 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Get timestamp from the system] *********************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:23,102 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:23,104 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:23,108 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:23,844 p=3983 u=rob n=ansible | changed: [eveng] -2021-11-23 15:13:23,846 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Set variables] *************************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:23,859 p=3983 u=rob n=ansible | ok: [eveng] -2021-11-23 15:13:23,866 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:23,868 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:23,872 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:23,876 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : generate lab rst file] ******************************************************************************************************************************************************************************************************************************* -2021-11-23 15:13:23,908 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:23,910 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:23,910 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:24,168 p=3983 u=rob n=ansible | changed: [eveng -> localhost] -2021-11-23 15:13:24,171 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : find all *.conf files in Lab] ************************************************************************************************************************************************************************************************************************ -2021-11-23 15:13:24,196 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:24,199 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:24,202 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:24,373 p=3983 u=rob n=ansible | ok: [eveng -> localhost] -2021-11-23 15:13:24,382 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : copy all *.conf files] ******************************************************************************************************************************************************************************************************************************* -2021-11-23 15:13:24,408 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:24,410 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:24,415 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:24,627 p=3983 u=rob n=ansible | changed: [eveng -> localhost] => (item={'path': 'labs/Wireguard/branch.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 501, 'gid': 20, 'size': 675, 'inode': 22590050, 'dev': 16777233, 'nlink': 1, 'atime': 1637094141.478437, 'mtime': 1637094140.231892, 'ctime': 1637094140.231892, 'gr_name': 'staff', 'pw_name': 'rob', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False}) -2021-11-23 15:13:24,863 p=3983 u=rob n=ansible | changed: [eveng -> localhost] => (item={'path': 'labs/Wireguard/central.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 501, 'gid': 20, 'size': 668, 'inode': 22590049, 'dev': 16777233, 'nlink': 1, 'atime': 1637094137.349848, 'mtime': 1637094136.0909584, 'ctime': 1637094136.0909584, 'gr_name': 'staff', 'pw_name': 'rob', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False}) -2021-11-23 15:13:24,867 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : find all *.png files in Lab] ************************************************************************************************************************************************************************************************************************* -2021-11-23 15:13:24,891 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:24,892 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:24,896 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:25,010 p=3983 u=rob n=ansible | ok: [eveng -> localhost] -2021-11-23 15:13:25,015 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : copy all *.png files] ******************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:25,039 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:25,040 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:25,046 p=3983 u=rob n=ansible | skipping: [branch] -2021-11-23 15:13:25,253 p=3983 u=rob n=ansible | changed: [eveng -> localhost] => (item={'path': 'labs/Wireguard/topology.png', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 501, 'gid': 20, 'size': 158227, 'inode': 31651192, 'dev': 16777233, 'nlink': 1, 'atime': 1637092176.426343, 'mtime': 1637092135.8691404, 'ctime': 1637092174.4312608, 'gr_name': 'staff', 'pw_name': 'rob', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False}) -2021-11-23 15:13:25,257 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : copy ansible log files] ****************************************************************************************************************************************************************************************************************************** -2021-11-23 15:13:25,281 p=3983 u=rob n=ansible | skipping: [vyos-oobm] -2021-11-23 15:13:25,281 p=3983 u=rob n=ansible | skipping: [central] -2021-11-23 15:13:25,286 p=3983 u=rob n=ansible | skipping: [branch] +2021-11-30 21:35:14,895 p=91291 u=rob n=ansible | changed: [central] +2021-11-30 21:35:14,896 p=91291 u=rob n=ansible | changed: [branch] +2021-11-30 21:35:14,898 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : wait, b/c the ping often failed without a short break] ******************************************************************************************** +2021-11-30 21:35:14,906 p=91977 u=rob n=ansible | Pausing for 30 seconds +2021-11-30 21:35:14,907 p=91977 u=rob n=ansible | (ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
+2021-11-30 21:35:44,913 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:35:44,926 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : do ping test] ************************************************************************************************************************************* +2021-11-30 21:35:44,957 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:35:44,967 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:35:50,448 p=91291 u=rob n=ansible | ok: [branch] => (item=10.0.1.100) +2021-11-30 21:35:50,449 p=91291 u=rob n=ansible | ok: [central] => (item=10.0.2.100) +2021-11-30 21:35:50,454 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : execute test commands] **************************************************************************************************************************** +2021-11-30 21:35:50,478 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:35:50,479 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:35:51,750 p=91291 u=rob n=ansible | ok: [central] => (item={'desc': 'Test if IP is set to interface', 'command': "ip -4 addr show dev eth2 | grep inet | tr -s ' ' | cut -d' ' -f3 | head -n 1", 'wait_for': ['result[0] contains "10.0.1.254/24"']}) +2021-11-30 21:35:51,920 p=91291 u=rob n=ansible | ok: [branch] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.2/24 u/u VPN-to-central"']}) +2021-11-30 21:35:52,213 p=91291 u=rob n=ansible | ok: [central] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.1/24 u/u VPN-to-Branch"']}) +2021-11-30 21:35:52,216 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : register stdout commands] ************************************************************************************************************************* +2021-11-30 21:35:52,241 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:35:52,242 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:35:53,570 p=91291 u=rob n=ansible | ok: [branch] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'}) +2021-11-30 21:35:53,570 p=91291 u=rob n=ansible | ok: [central] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'}) +2021-11-30 21:35:56,996 p=91291 u=rob n=ansible | ok: [central] => (item={'name': 'ping_branch_pc', 'command': 'ping 10.0.2.100 count 4'}) +2021-11-30 21:35:57,000 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Set variables] ************************************************************************************************************************************ +2021-11-30 21:35:57,017 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:35:57,024 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:35:57,928 p=91291 u=rob n=ansible | ok: [central] +2021-11-30 21:35:57,928 p=91291 u=rob n=ansible | ok: [branch] +2021-11-30 21:35:57,938 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Reboot vyos] ************************************************************************************************************************************** +2021-11-30 21:35:57,962 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:35:57,970 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:35:59,233 p=91291 u=rob n=ansible | ok: [central] +2021-11-30 21:35:59,233 p=91291 u=rob n=ansible | ok: [branch] +2021-11-30 21:35:59,236 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : wait while shutdown] ****************************************************************************************************************************** +2021-11-30 21:35:59,246 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:35:59,249 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Wait for vyos nodes] ****************************************************************************************************************************** +2021-11-30 21:35:59,265 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:35:59,270 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:36:00,839 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Connected (version 2.0, client OpenSSH_7.9p1) +2021-11-30 21:36:00,933 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Auth banner: b'Welcome to VyOS\n\n' +2021-11-30 21:36:00,934 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Auth banner: b'System is going down. Unprivileged users are not permitted to log in anymore. For technical details, see pam_nologin(8).\n\n' +2021-11-30 21:36:01,115 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Connected (version 2.0, client OpenSSH_7.9p1) +2021-11-30 21:36:01,182 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Auth banner: b'Welcome to VyOS\n\n' +2021-11-30 21:36:01,182 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Auth banner: b'System is going down. Unprivileged users are not permitted to log in anymore. For technical details, see pam_nologin(8).\n\n' +2021-11-30 21:36:59,483 p=91763 u=rob n=ansible | persistent connection idle timeout triggered, timeout value is 60 secs. +See the timeout setting options in the Network Debug and Troubleshooting Guide. +2021-11-30 21:36:59,489 p=91764 u=rob n=ansible | persistent connection idle timeout triggered, timeout value is 60 secs. +See the timeout setting options in the Network Debug and Troubleshooting Guide. +2021-11-30 21:36:59,590 p=91763 u=rob n=ansible | shutdown complete +2021-11-30 21:36:59,593 p=91764 u=rob n=ansible | shutdown complete +2021-11-30 21:37:17,017 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Exception: Error reading SSH protocol banner +2021-11-30 21:37:17,020 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Traceback (most recent call last): +2021-11-30 21:37:17,020 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner +2021-11-30 21:37:17,021 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | buf = self.packetizer.readline(timeout) +2021-11-30 21:37:17,021 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline +2021-11-30 21:37:17,021 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | buf += self._read_timeout(timeout) +2021-11-30 21:37:17,021 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout +2021-11-30 21:37:17,021 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | raise socket.timeout() +2021-11-30 21:37:17,021 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | socket.timeout +2021-11-30 21:37:17,022 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | +2021-11-30 21:37:17,022 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | During handling of the above exception, another exception occurred: +2021-11-30 21:37:17,022 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | +2021-11-30 21:37:17,022 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Traceback (most recent call last): +2021-11-30 21:37:17,022 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run +2021-11-30 21:37:17,022 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | self._check_banner() +2021-11-30 21:37:17,023 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner +2021-11-30 21:37:17,023 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | raise SSHException( +2021-11-30 21:37:17,023 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner +2021-11-30 21:37:17,023 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | +2021-11-30 21:37:17,255 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Exception: Error reading SSH protocol banner +2021-11-30 21:37:17,256 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Traceback (most recent call last): +2021-11-30 21:37:17,256 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner +2021-11-30 21:37:17,256 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | buf = self.packetizer.readline(timeout) +2021-11-30 21:37:17,256 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline +2021-11-30 21:37:17,257 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | buf += self._read_timeout(timeout) +2021-11-30 21:37:17,257 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout +2021-11-30 21:37:17,257 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | raise socket.timeout() +2021-11-30 21:37:17,257 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | socket.timeout +2021-11-30 21:37:17,257 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | +2021-11-30 21:37:17,257 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | During handling of the above exception, another exception occurred: +2021-11-30 21:37:17,257 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | +2021-11-30 21:37:17,257 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Traceback (most recent call last): +2021-11-30 21:37:17,258 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run +2021-11-30 21:37:17,258 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | self._check_banner() +2021-11-30 21:37:17,258 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner +2021-11-30 21:37:17,258 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | raise SSHException( +2021-11-30 21:37:17,258 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner +2021-11-30 21:37:17,258 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | +2021-11-30 21:37:33,055 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Exception: Error reading SSH protocol banner +2021-11-30 21:37:33,055 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Traceback (most recent call last): +2021-11-30 21:37:33,056 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner +2021-11-30 21:37:33,056 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | buf = self.packetizer.readline(timeout) +2021-11-30 21:37:33,056 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline +2021-11-30 21:37:33,056 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | buf += self._read_timeout(timeout) +2021-11-30 21:37:33,056 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout +2021-11-30 21:37:33,057 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | raise socket.timeout() +2021-11-30 21:37:33,057 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | socket.timeout +2021-11-30 21:37:33,057 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | +2021-11-30 21:37:33,057 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | During handling of the above exception, another exception occurred: +2021-11-30 21:37:33,057 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | +2021-11-30 21:37:33,057 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Traceback (most recent call last): +2021-11-30 21:37:33,058 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run +2021-11-30 21:37:33,058 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | self._check_banner() +2021-11-30 21:37:33,058 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner +2021-11-30 21:37:33,058 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | raise SSHException( +2021-11-30 21:37:33,058 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner +2021-11-30 21:37:33,058 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | +2021-11-30 21:37:33,273 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Exception: Error reading SSH protocol banner +2021-11-30 21:37:33,273 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Traceback (most recent call last): +2021-11-30 21:37:33,274 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner +2021-11-30 21:37:33,274 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | buf = self.packetizer.readline(timeout) +2021-11-30 21:37:33,274 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline +2021-11-30 21:37:33,274 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | buf += self._read_timeout(timeout) +2021-11-30 21:37:33,274 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout +2021-11-30 21:37:33,274 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | raise socket.timeout() +2021-11-30 21:37:33,274 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | socket.timeout +2021-11-30 21:37:33,275 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | +2021-11-30 21:37:33,275 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | During handling of the above exception, another exception occurred: +2021-11-30 21:37:33,275 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | +2021-11-30 21:37:33,275 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Traceback (most recent call last): +2021-11-30 21:37:33,275 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run +2021-11-30 21:37:33,275 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | self._check_banner() +2021-11-30 21:37:33,276 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner +2021-11-30 21:37:33,276 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | raise SSHException( +2021-11-30 21:37:33,276 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner +2021-11-30 21:37:33,276 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | +2021-11-30 21:37:49,085 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Exception: Error reading SSH protocol banner +2021-11-30 21:37:49,086 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Traceback (most recent call last): +2021-11-30 21:37:49,086 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner +2021-11-30 21:37:49,086 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | buf = self.packetizer.readline(timeout) +2021-11-30 21:37:49,086 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline +2021-11-30 21:37:49,086 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | buf += self._read_timeout(timeout) +2021-11-30 21:37:49,087 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout +2021-11-30 21:37:49,087 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | raise socket.timeout() +2021-11-30 21:37:49,087 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | socket.timeout +2021-11-30 21:37:49,087 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | +2021-11-30 21:37:49,087 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | During handling of the above exception, another exception occurred: +2021-11-30 21:37:49,087 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | +2021-11-30 21:37:49,088 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Traceback (most recent call last): +2021-11-30 21:37:49,088 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run +2021-11-30 21:37:49,088 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | self._check_banner() +2021-11-30 21:37:49,088 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner +2021-11-30 21:37:49,088 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | raise SSHException( +2021-11-30 21:37:49,088 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner +2021-11-30 21:37:49,088 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | +2021-11-30 21:37:49,307 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Exception: Error reading SSH protocol banner +2021-11-30 21:37:49,307 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Traceback (most recent call last): +2021-11-30 21:37:49,307 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner +2021-11-30 21:37:49,307 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | buf = self.packetizer.readline(timeout) +2021-11-30 21:37:49,308 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline +2021-11-30 21:37:49,308 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | buf += self._read_timeout(timeout) +2021-11-30 21:37:49,308 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout +2021-11-30 21:37:49,308 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | raise socket.timeout() +2021-11-30 21:37:49,308 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | socket.timeout +2021-11-30 21:37:49,308 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | +2021-11-30 21:37:49,308 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | During handling of the above exception, another exception occurred: +2021-11-30 21:37:49,309 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | +2021-11-30 21:37:49,309 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Traceback (most recent call last): +2021-11-30 21:37:49,309 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run +2021-11-30 21:37:49,309 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | self._check_banner() +2021-11-30 21:37:49,309 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner +2021-11-30 21:37:49,309 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | raise SSHException( +2021-11-30 21:37:49,309 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner +2021-11-30 21:37:49,309 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | +2021-11-30 21:37:51,170 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Connected (version 2.0, client OpenSSH_7.9p1) +2021-11-30 21:37:51,370 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Auth banner: b'Welcome to VyOS\n\n' +2021-11-30 21:37:51,370 p=92210 u=rob n=p=92210 u=rob | paramiko [branch] | Authentication (publickey) successful! +2021-11-30 21:37:51,512 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Connected (version 2.0, client OpenSSH_7.9p1) +2021-11-30 21:37:51,709 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Auth banner: b'Welcome to VyOS\n\n' +2021-11-30 21:37:51,709 p=92209 u=rob n=p=92209 u=rob | paramiko [central] | Authentication (publickey) successful! +2021-11-30 21:37:52,515 p=91291 u=rob n=ansible | ok: [branch] +2021-11-30 21:37:52,741 p=91291 u=rob n=ansible | ok: [central] +2021-11-30 21:37:52,746 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : wait, b/c the ping often failed without a short break] ******************************************************************************************** +2021-11-30 21:37:52,753 p=92299 u=rob n=ansible | Pausing for 30 seconds +2021-11-30 21:37:52,753 p=92299 u=rob n=ansible | (ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
+2021-11-30 21:38:22,856 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:38:22,863 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : do ping test] ************************************************************************************************************************************* +2021-11-30 21:38:22,899 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:22,900 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:23,861 p=92310 u=rob n=ansible | network_os is set to vyos +2021-11-30 21:38:23,863 p=92309 u=rob n=ansible | network_os is set to vyos +2021-11-30 21:38:25,085 p=92318 u=rob n=p=92318 u=rob | paramiko [branch] | Connected (version 2.0, client OpenSSH_7.9p1) +2021-11-30 21:38:25,085 p=92317 u=rob n=p=92317 u=rob | paramiko [central] | Connected (version 2.0, client OpenSSH_7.9p1) +2021-11-30 21:38:25,174 p=92318 u=rob n=p=92318 u=rob | paramiko [branch] | Auth banner: b'Welcome to VyOS\n\n' +2021-11-30 21:38:25,175 p=92318 u=rob n=p=92318 u=rob | paramiko [branch] | Authentication (publickey) successful! +2021-11-30 21:38:25,176 p=92317 u=rob n=p=92317 u=rob | paramiko [central] | Auth banner: b'Welcome to VyOS\n\n' +2021-11-30 21:38:25,176 p=92317 u=rob n=p=92317 u=rob | paramiko [central] | Authentication (publickey) successful! +2021-11-30 21:38:31,822 p=91291 u=rob n=ansible | ok: [central] => (item=10.0.2.100) +2021-11-30 21:38:31,823 p=91291 u=rob n=ansible | ok: [branch] => (item=10.0.1.100) +2021-11-30 21:38:31,827 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : execute test commands] **************************************************************************************************************************** +2021-11-30 21:38:31,846 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:31,855 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:33,035 p=91291 u=rob n=ansible | ok: [central] => (item={'desc': 'Test if IP is set to interface', 'command': "ip -4 addr show dev eth2 | grep inet | tr -s ' ' | cut -d' ' -f3 | head -n 1", 'wait_for': ['result[0] contains "10.0.1.254/24"']}) +2021-11-30 21:38:33,213 p=91291 u=rob n=ansible | ok: [branch] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.2/24 u/u VPN-to-central"']}) +2021-11-30 21:38:33,515 p=91291 u=rob n=ansible | ok: [central] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.1/24 u/u VPN-to-Branch"']}) +2021-11-30 21:38:33,520 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : register stdout commands] ************************************************************************************************************************* +2021-11-30 21:38:33,547 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:33,548 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:34,881 p=91291 u=rob n=ansible | ok: [branch] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'}) +2021-11-30 21:38:34,882 p=91291 u=rob n=ansible | ok: [central] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'}) +2021-11-30 21:38:38,374 p=91291 u=rob n=ansible | ok: [central] => (item={'name': 'ping_branch_pc', 'command': 'ping 10.0.2.100 count 4'}) +2021-11-30 21:38:38,378 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Set variables] ************************************************************************************************************************************ +2021-11-30 21:38:38,396 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:38,403 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,272 p=91291 u=rob n=ansible | ok: [central] +2021-11-30 21:38:39,273 p=91291 u=rob n=ansible | ok: [branch] +2021-11-30 21:38:39,282 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : make sure tmp dir exist] ************************************************************************************************************************** +2021-11-30 21:38:39,311 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:39,322 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,322 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:39,328 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:39,332 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Download upgrade_iso] ***************************************************************************************************************************** +2021-11-30 21:38:39,352 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:39,360 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,361 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:39,365 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:39,370 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Copy iso to host] ********************************************************************************************************************************* +2021-11-30 21:38:39,383 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:39,392 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,393 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:39,396 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:39,399 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : upgrade vyos] ************************************************************************************************************************************* +2021-11-30 21:38:39,412 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:39,420 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,421 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:39,424 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:39,426 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Reboot vyos] ************************************************************************************************************************************** +2021-11-30 21:38:39,439 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:39,447 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,449 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:39,452 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:39,454 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : wait while shutdown] ****************************************************************************************************************************** +2021-11-30 21:38:39,462 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:39,463 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Wait for vyos nodes] ****************************************************************************************************************************** +2021-11-30 21:38:39,476 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:39,482 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,484 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:39,488 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:39,492 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : clear tmp dir] ************************************************************************************************************************************ +2021-11-30 21:38:39,499 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:39,501 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : wait, b/c the ping often failed without a short break] ******************************************************************************************** +2021-11-30 21:38:39,509 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:39,511 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : do ping test] ************************************************************************************************************************************* +2021-11-30 21:38:39,524 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:39,529 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,536 p=91291 u=rob n=ansible | skipping: [central] => (item=10.0.2.100) +2021-11-30 21:38:39,540 p=91291 u=rob n=ansible | skipping: [branch] => (item=10.0.1.100) +2021-11-30 21:38:39,543 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : execute test commands] **************************************************************************************************************************** +2021-11-30 21:38:39,557 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:39,563 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,571 p=91291 u=rob n=ansible | skipping: [central] => (item={'desc': 'Test if IP is set to interface', 'command': "ip -4 addr show dev eth2 | grep inet | tr -s ' ' | cut -d' ' -f3 | head -n 1", 'wait_for': ['result[0] contains "10.0.1.254/24"']}) +2021-11-30 21:38:39,571 p=91291 u=rob n=ansible | skipping: [central] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.1/24 u/u VPN-to-Branch"']}) +2021-11-30 21:38:39,575 p=91291 u=rob n=ansible | skipping: [branch] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.2/24 u/u VPN-to-central"']}) +2021-11-30 21:38:39,578 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : register stdout commands] ************************************************************************************************************************* +2021-11-30 21:38:39,591 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:39,597 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,605 p=91291 u=rob n=ansible | skipping: [central] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'}) +2021-11-30 21:38:39,605 p=91291 u=rob n=ansible | skipping: [central] => (item={'name': 'ping_branch_pc', 'command': 'ping 10.0.2.100 count 4'}) +2021-11-30 21:38:39,608 p=91291 u=rob n=ansible | skipping: [branch] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'}) +2021-11-30 21:38:39,611 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Set variables] ************************************************************************************************************************************ +2021-11-30 21:38:39,625 p=91291 u=rob n=ansible | skipping: [eveng] +2021-11-30 21:38:39,633 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,633 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:39,636 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:39,639 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : make sure output dir exist] *********************************************************************************************************************** +2021-11-30 21:38:39,661 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,661 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:39,666 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:39,835 p=91291 u=rob n=ansible | ok: [eveng -> localhost] +2021-11-30 21:38:39,838 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : make sure output include dir exist] *************************************************************************************************************** +2021-11-30 21:38:39,861 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,862 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:39,866 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:39,967 p=91291 u=rob n=ansible | ok: [eveng -> localhost] +2021-11-30 21:38:39,969 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Get timestamp from the system] ******************************************************************************************************************** +2021-11-30 21:38:39,990 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:39,991 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:39,995 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:40,525 p=91291 u=rob n=ansible | changed: [eveng] +2021-11-30 21:38:40,529 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : Set variables] ************************************************************************************************************************************ +2021-11-30 21:38:40,553 p=91291 u=rob n=ansible | ok: [eveng] +2021-11-30 21:38:40,555 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:40,555 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:40,559 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:40,562 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : generate lab rst file] **************************************************************************************************************************** +2021-11-30 21:38:40,587 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:40,588 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:40,592 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:40,808 p=91291 u=rob n=ansible | changed: [eveng -> localhost] +2021-11-30 21:38:40,811 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : find all *.conf files in Lab] ********************************************************************************************************************* +2021-11-30 21:38:40,834 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:40,835 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:40,839 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:41,002 p=91291 u=rob n=ansible | ok: [eveng -> localhost] +2021-11-30 21:38:41,010 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : copy all *.conf files] **************************************************************************************************************************** +2021-11-30 21:38:41,038 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:41,039 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:41,045 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:41,253 p=91291 u=rob n=ansible | changed: [eveng -> localhost] => (item={'path': 'labs/Wireguard/branch.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 501, 'gid': 20, 'size': 675, 'inode': 33278983, 'dev': 16777233, 'nlink': 1, 'atime': 1638304349.8431501, 'mtime': 1638304348.138039, 'ctime': 1638304348.138039, 'gr_name': 'staff', 'pw_name': 'rob', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False}) +2021-11-30 21:38:41,469 p=91291 u=rob n=ansible | changed: [eveng -> localhost] => (item={'path': 'labs/Wireguard/central.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 501, 'gid': 20, 'size': 668, 'inode': 33278984, 'dev': 16777233, 'nlink': 1, 'atime': 1638304349.7118278, 'mtime': 1638304348.1385467, 'ctime': 1638304348.1385467, 'gr_name': 'staff', 'pw_name': 'rob', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False}) +2021-11-30 21:38:41,474 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : find all *.png files in Lab] ********************************************************************************************************************** +2021-11-30 21:38:41,498 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:41,499 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:41,504 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:41,599 p=91291 u=rob n=ansible | ok: [eveng -> localhost] +2021-11-30 21:38:41,604 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : copy all *.png files] ***************************************************************************************************************************** +2021-11-30 21:38:41,630 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:41,631 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:41,637 p=91291 u=rob n=ansible | skipping: [branch] +2021-11-30 21:38:41,889 p=91291 u=rob n=ansible | ok: [eveng -> localhost] => (item={'path': 'labs/Wireguard/topology.png', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 501, 'gid': 20, 'size': 158227, 'inode': 31651192, 'dev': 16777233, 'nlink': 1, 'atime': 1637677693.6729753, 'mtime': 1637092135.8691404, 'ctime': 1637092174.4312608, 'gr_name': 'staff', 'pw_name': 'rob', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False}) +2021-11-30 21:38:41,894 p=91291 u=rob n=ansible | TASK [eve-ng-lab-test : copy ansible log files] *************************************************************************************************************************** +2021-11-30 21:38:41,917 p=91291 u=rob n=ansible | skipping: [vyos-oobm] +2021-11-30 21:38:41,918 p=91291 u=rob n=ansible | skipping: [central] +2021-11-30 21:38:41,922 p=91291 u=rob n=ansible | skipping: [branch] diff --git a/docs/configexamples/autotest/Wireguard/Wireguard.rst b/docs/configexamples/autotest/Wireguard/Wireguard.rst index ce5a493f..73539e2f 100644 --- a/docs/configexamples/autotest/Wireguard/Wireguard.rst +++ b/docs/configexamples/autotest/Wireguard/Wireguard.rst @@ -3,8 +3,8 @@ Wireguard ######### -| Testdate: 2021-11-23 -| Version: 1.4-rolling-202106170808 +| Testdate: 2021-11-30 +| Version: 1.4-rolling-202104132216 This simple structure show how to connect two offices. One remote branch and the @@ -46,7 +46,7 @@ After this, the public key can be displayed, to save for later. vyos@central:~$ generate wireguard default-keypair vyos@central:~$ show wireguard keypairs pubkey default - +mLLOGxR37k3EsWba7+G7vIDq6yW4t0s549rNVShWy4= + P9y9TTRzIOVl27Ij9n/BXjZUdQFADZ5WnHV0kQr1ulQ= After you have each public key. The wireguard interfaces can be setup. @@ -65,6 +65,20 @@ Branch :lines: 4-11 +To reach the network, a route must be set on each VyOS host. +In this structure, a static interface route will fit the requirements. + +Central + +.. literalinclude:: _include/central.conf + :language: none + :lines: 13 + +Branch + +.. literalinclude:: _include/branch.conf + :language: none + :lines: 13 ********************* Testing and debugging @@ -88,11 +102,11 @@ And ping the Branch PC from your central router to check the response. vyos@central:~$ ping 10.0.2.100 count 4 PING 10.0.2.100 (10.0.2.100) 56(84) bytes of data. - 64 bytes from 10.0.2.100: icmp_seq=1 ttl=63 time=0.609 ms - 64 bytes from 10.0.2.100: icmp_seq=2 ttl=63 time=0.871 ms - 64 bytes from 10.0.2.100: icmp_seq=3 ttl=63 time=0.937 ms - 64 bytes from 10.0.2.100: icmp_seq=4 ttl=63 time=0.746 ms + 64 bytes from 10.0.2.100: icmp_seq=1 ttl=63 time=0.526 ms + 64 bytes from 10.0.2.100: icmp_seq=2 ttl=63 time=0.583 ms + 64 bytes from 10.0.2.100: icmp_seq=3 ttl=63 time=0.873 ms + 64 bytes from 10.0.2.100: icmp_seq=4 ttl=63 time=0.753 ms --- 10.0.2.100 ping statistics --- - 4 packets transmitted, 4 received, 0% packet loss, time 4ms - rtt min/avg/max/mdev = 0.609/0.790/0.937/0.130 ms + 4 packets transmitted, 4 received, 0% packet loss, time 48ms + rtt min/avg/max/mdev = 0.526/0.683/0.873/0.141 ms diff --git a/docs/configexamples/autotest/Wireguard/_include/branch.conf b/docs/configexamples/autotest/Wireguard/_include/branch.conf index 7c96df4b..3faea398 100644 --- a/docs/configexamples/autotest/Wireguard/_include/branch.conf +++ b/docs/configexamples/autotest/Wireguard/_include/branch.conf @@ -7,7 +7,7 @@ set interfaces wireguard wg01 peer central allowed-ips 10.0.1.0/24 set interfaces wireguard wg01 peer central allowed-ips 192.168.0.0/24 set interfaces wireguard wg01 peer central address 198.51.100.1 set interfaces wireguard wg01 peer central port 51820 -set interfaces wireguard wg01 peer central pubkey "+mLLOGxR37k3EsWba7+G7vIDq6yW4t0s549rNVShWy4=" +set interfaces wireguard wg01 peer central pubkey "P9y9TTRzIOVl27Ij9n/BXjZUdQFADZ5WnHV0kQr1ulQ=" set interfaces wireguard wg01 port 51820 set protocols static route 10.0.1.0/24 interface wg01
\ No newline at end of file diff --git a/docs/configexamples/autotest/Wireguard/_include/central.conf b/docs/configexamples/autotest/Wireguard/_include/central.conf index 1414621b..99041d89 100644 --- a/docs/configexamples/autotest/Wireguard/_include/central.conf +++ b/docs/configexamples/autotest/Wireguard/_include/central.conf @@ -7,7 +7,7 @@ set interfaces wireguard wg01 peer branch allowed-ips 10.0.2.0/24 set interfaces wireguard wg01 peer branch allowed-ips 192.168.0.0/24 set interfaces wireguard wg01 peer branch address 198.51.100.2 set interfaces wireguard wg01 peer branch port 51820 -set interfaces wireguard wg01 peer branch pubkey "HF1LJSEgAtknAtkqK2d12DzfuPlx475Y+I4SpJiBWzs=" +set interfaces wireguard wg01 peer branch pubkey "iUUItk5zA22azMltN+Kpp7Bh4g2mf1ea3liSEp9eQEs=" set interfaces wireguard wg01 port 51820 set protocols static route 10.0.2.0/24 interface wg01
\ No newline at end of file diff --git a/docs/configuration/protocols/ospf.rst b/docs/configuration/protocols/ospf.rst index ccddcd92..bb67653e 100644 --- a/docs/configuration/protocols/ospf.rst +++ b/docs/configuration/protocols/ospf.rst @@ -37,12 +37,12 @@ starts when the first ospf enabled interface is configured. This command is also used to enable the OSPF process. The area number can be specified in decimal notation in the range from 0 to 4294967295. Or it can be specified in dotted decimal notation similar to ip address. - + Prefix length in interface must be equal or bigger (i.e. smaller network) than prefix length in network statement. For example statement above doesn't enable ospf on interface with address 192.168.1.1/23, but it does on interface with address 192.168.1.129/25. - + In some cases it may be more convenient to enable OSPF on a per interface/subnet basis :cfgcmd:`set protocols ospf interface <interface> area <x.x.x.x | x>` @@ -145,12 +145,16 @@ Optional This command should NOT be set normally. -.. cfgcmd:: set protocols ospf passive-interface <interface> +.. cfgcmd:: set protocols ospf interface <interface> passive [disable] This command specifies interface as passive. Passive interface advertises its address, but does not run the OSPF protocol (adjacencies are not formed and hello packets are not generated). + The optional `disable` option allows to exclude interface from passive state. + This command is used if the command :cfgcmd:`passive-interface default` was + configured. + .. cfgcmd:: set protocols ospf passive-interface default This command specifies all interfaces as passive by default. Because this @@ -158,11 +162,6 @@ Optional interfaces where router adjacencies are expected need to be configured with the :cfgcmd:`passive-interface-exclude` command. -.. cfgcmd:: set protocols ospf passive-interface-exclude <interface> - - This command allows exclude interface from passive state. This command is - used if the command :cfgcmd:`passive-interface default` was configured. - .. cfgcmd:: set protocols ospf refresh timers <seconds> The router automatically updates link-state information with its neighbors. @@ -549,12 +548,12 @@ Operational Mode Commands This command displays the neighbors information in a detailed form for a neighbor whose IP address is specified. -.. opcmd:: show ip ospf neighbor <intname> +.. opcmd:: show ip ospf neighbor <interface> This command displays the neighbors status for a neighbor on the specified interface. -.. opcmd:: show ip ospf interface [<intname>] +.. opcmd:: show ip ospf interface [<interface>] This command displays state and configuration of OSPF the specified interface, or all interfaces if no interface is given. @@ -754,6 +753,8 @@ address and the node 1 sending the default route: set policy route-map CONNECT rule 10 match interface lo +.. _routing-ospfv3: + ************* OSPFv3 (IPv6) ************* @@ -826,20 +827,20 @@ Area Configuration Interface Configuration ----------------------- -.. cfgcmd:: set protocols ospfv3 interface <intname> ipv6 cost <number> +.. cfgcmd:: set protocols ospfv3 interface <interface> ipv6 cost <number> This command sets link cost for the specified interface. The cost value is set to router-LSA’s metric field and used for SPF calculation. The cost range is 1 to 65535. -.. cfgcmd:: set protocols ospfv3 interface <intname> dead-interval <number> +.. cfgcmd:: set protocols ospfv3 interface <interface> dead-interval <number> Set number of seconds for router Dead Interval timer value used for Wait Timer and Inactivity Timer. This value must be the same for all routers attached to a common network. The default value is 40 seconds. The interval range is 1 to 65535. -.. cfgcmd:: set protocols ospfv3 interface <intname> hello-interval +.. cfgcmd:: set protocols ospfv3 interface <interface> hello-interval <number> Set number of seconds for Hello Interval timer value. Setting this value, @@ -848,14 +849,14 @@ Interface Configuration common network. The default value is 10 seconds. The interval range is 1 to 65535. -.. cfgcmd:: set protocols ospfv3 interface <intname> mtu-ignore +.. cfgcmd:: set protocols ospfv3 interface <interface> mtu-ignore This command disables check of the MTU value in the OSPF DBD packets. Thus, use of this command allows the OSPF adjacency to reach the FULL state even though there is an interface MTU mismatch between two OSPF routers. -.. cfgcmd:: set protocols ospfv3 interface <intname> network <type> +.. cfgcmd:: set protocols ospfv3 interface <interface> network <type> This command allows to specify the distribution type for the network connected to this interface: @@ -863,20 +864,20 @@ Interface Configuration **broadcast** – broadcast IP addresses distribution. **point-to-point** – address distribution in point-to-point networks. -.. cfgcmd:: set protocols ospfv3 interface <intname> priority <number> +.. cfgcmd:: set protocols ospfv3 interface <interface> priority <number> This command sets Router Priority integer value. The router with the highest priority will be more eligible to become Designated Router. Setting the value to 0, makes the router ineligible to become Designated Router. The default value is 1. The interval range is 0 to 255. -.. cfgcmd:: set protocols ospfv3 interface <intname> passive +.. cfgcmd:: set protocols ospfv3 interface <interface> passive This command specifies interface as passive. Passive interface advertises its address, but does not run the OSPF protocol (adjacencies are not formed and hello packets are not generated). -.. cfgcmd:: set protocols ospfv3 interface <intname> retransmit-interval +.. cfgcmd:: set protocols ospfv3 interface <interface> retransmit-interval <number> This command sets number of seconds for RxmtInterval timer value. This @@ -884,7 +885,7 @@ Interface Configuration Request packets if acknowledge was not received. The default value is 5 seconds. The interval range is 3 to 65535. -.. cfgcmd:: set protocols ospfv3 interface <intname> transmit-delay +.. cfgcmd:: set protocols ospfv3 interface <interface> transmit-delay <number> This command sets number of seconds for InfTransDelay value. It allows to @@ -927,7 +928,7 @@ Operational Mode Commands This command displays the neighbor DR choice information. -.. opcmd:: show ipv6 ospfv3 interface [prefix]|[<intname> [prefix]] +.. opcmd:: show ipv6 ospfv3 interface [prefix]|[<interface> [prefix]] This command displays state and configuration of OSPF the specified interface, or all interfaces if no interface is given. Whith the argument diff --git a/docs/configuration/service/tftp-server.rst b/docs/configuration/service/tftp-server.rst index 11011144..0ca75efe 100644 --- a/docs/configuration/service/tftp-server.rst +++ b/docs/configuration/service/tftp-server.rst @@ -28,6 +28,14 @@ Configure the IPv4 or IPv6 listen address of the TFTP server. Multiple IPv4 and IPv6 addresses can be given. There will be one TFTP server instances listening on each IP address. +.. cfgcmd:: set service tftp-server listen-address <address> vrf <name> + +.. stop_vyoslinter + +Additional option to run TFTP server in the :abbr:`VRF (Virtual Routing and Forwarding)` context + +.. start_vyoslinter + .. note:: Configuring a listen-address is essential for the service to work. .. cfgcmd:: set service tftp-server allow-upload diff --git a/docs/configuration/vpn/ipsec.rst b/docs/configuration/vpn/ipsec.rst index 50814b6e..29dc5a0e 100644 --- a/docs/configuration/vpn/ipsec.rst +++ b/docs/configuration/vpn/ipsec.rst @@ -29,6 +29,88 @@ for the cipher and hash. Adjust this as necessary. .. NOTE:: VMware users should ensure that a VMXNET3 adapter is used. E1000 adapters have known issues with GRE processing. +************************************** +IKE (Internet Key Exchange) Attributes +************************************** +IKE performs mutual authentication between two parties and establishes +an IKE security association (SA) that includes shared secret information +that can be used to efficiently establish SAs for Encapsulating Security +Payload (ESP) or Authentication Header (AH) and a set of cryptographic +algorithms to be used by the SAs to protect the traffic that they carry. +https://datatracker.ietf.org/doc/html/rfc5996 + +In VyOS, IKE attributes are specified through IKE groups. +Multiple proposals can be specified in a single group. + +VyOS IKE group has the next options: + +* ``close-action`` defines the action to take if the remote peer unexpectedly + closes a CHILD_SA: + + * ``none`` set action to none (default); + + * ``hold`` set action to hold; + + * ``clear`` set action to clear; + + * ``restart`` set action to restart; + +* ``dead-peer-detection`` controls the use of the Dead Peer Detection protocol + (DPD, RFC 3706) where R_U_THERE notification messages (IKEv1) or empty + INFORMATIONAL messages (IKEv2) are periodically sent in order to check the + liveliness of the IPsec peer: + + * ``action`` keep-alive failure action: + + * ``hold`` set action to hold (default) + + * ``clear`` set action to clear; + + * ``restart`` set action to restart; + + * ``interval`` keep-alive interval in seconds <2-86400> (default 30); + + * ``timeout`` keep-alive timeout in seconds <2-86400> (default 120) IKEv1 only + +* ``ikev2-reauth`` whether rekeying of an IKE_SA should also reauthenticate + the peer. In IKEv1, reauthentication is always done: + + * ``yes`` enable remote host re-authentication during an IKE rekey; + + * ``no`` disable remote host re-authenticaton during an IKE rekey; + +* ``key-exchange`` which protocol should be used to initialize the connection + If not set both protocols are handled and connections will use IKEv2 when + initiating, but accept any protocol version when responding: + + * ``ikev1`` use IKEv1 for Key Exchange; + + * ``ikev2`` use IKEv2 for Key Exchange; + +* ``lifetime`` IKE lifetime in seconds <30-86400> (default 28800); + +* ``mobike`` enable MOBIKE Support. MOBIKE is only available for IKEv2: + + * ``enable`` enable MOBIKE (default for IKEv2); + + * ``disable`` disable MOBIKE; + +* ``mode`` IKEv1 Phase 1 Mode Selection: + + * ``main`` use Main mode for Key Exchanges in the IKEv1 Protocol + (Recommended Default); + + * ``aggressive`` use Aggressive mode for Key Exchanges in the IKEv1 protocol + aggressive mode is much more insecure compared to Main mode; + +* ``proposal`` the list of proposals and their parameters: + + * ``dh-group`` dh-group; + + * ``encryption`` encryption algorithm; + + * ``hash`` hash algorithm. + ************************* IPsec policy matching GRE ************************* diff --git a/docs/configuration/vrf/index.rst b/docs/configuration/vrf/index.rst index 05904209..90d99c56 100644 --- a/docs/configuration/vrf/index.rst +++ b/docs/configuration/vrf/index.rst @@ -62,6 +62,7 @@ Currently dynamic routing is supported for the following protocols: - :ref:`routing-bgp` - :ref:`routing-isis` - :ref:`routing-ospf` +- :ref:`routing-ospfv3` - :ref:`routing-static` The CLI configuration is same as mentioned in above articles. The only @@ -77,6 +78,7 @@ routing protocol inside a given vrf: - :ref:`routing-bgp`: ``set vrf name <name> protocols bgp ...`` - :ref:`routing-isis`: ``set vrf name <name> protocols isis ...`` - :ref:`routing-ospf`: ``set vrf name <name> protocols ospf ...`` +- :ref:`routing-ospfv3`: ``set vrf name <name> protocols ospfv3 ...`` - :ref:`routing-static`: ``set vrf name <name> protocols static ...`` Operation |