Page MenuHomeVyOS Platform
Feed All Stories

Jun 7 2020

kroy updated the task description for T2562: VyOS can't be used as a DHCP server for a DHCP relay.
Jun 7 2020, 8:05 PM · VyOS 1.3 Equuleus (1.3.0)
kroy created T2562: VyOS can't be used as a DHCP server for a DHCP relay.
Jun 7 2020, 8:04 PM · VyOS 1.3 Equuleus (1.3.0)
c-po renamed T2561: Drop support for "system console netconsole" from Drop support for netconsole to Drop support for "system console netconsole".
Jun 7 2020, 7:38 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2561: Drop support for "system console netconsole" from Open to In progress.
Jun 7 2020, 7:35 PM · VyOS 1.3 Equuleus (1.3.0)
c-po updated subscribers of T2561: Drop support for "system console netconsole".

@dmbaturin @syncer @jestabro @thomas-mangin @UnicronNL

Jun 7 2020, 7:25 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2561: Drop support for "system console netconsole".
Jun 7 2020, 7:25 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX4f7e89f03cef: wwan: T2529: harden device completion helper.
Jun 7 2020, 7:04 PM
c-po committed rVYOSONEX7793a14ab682: Makefile: remove new XML implementations for bgp, rip, isis.
Jun 7 2020, 6:52 PM
c-po closed T2529: WWAN: migrate from ttyUSB device to new device in /dev/serial/by-bus, a subtask of T2490: Add serial (rs232) to ssh bridge service, as Resolved.
Jun 7 2020, 3:11 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2529: WWAN: migrate from ttyUSB device to new device in /dev/serial/by-bus as Resolved.
Jun 7 2020, 3:11 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX6179a89fd4c1: Merge branch 'udev' of github.com:c-po/vyos-1x into current.
Jun 7 2020, 3:10 PM
c-po committed rVYOSONEX52d8a2265ef7: pppoe: op-mode: T2488: retrieve log info from journalctl.
Jun 7 2020, 3:10 PM
c-po committed rVYOSONEXb5cc8f4ae417: usb: op-mode: T2560: display USB interface information.
Jun 7 2020, 3:10 PM
c-po committed rVYOSONEX561694378e11: wwan: op-mode: T2488: retrieve log info from journalctl.
Jun 7 2020, 3:10 PM
c-po committed rVYOSONEXcceffc872527: wwan: T2241: interface is not bond- or bridgeable.
Jun 7 2020, 3:10 PM
c-po committed rVYOSONEX1c7d7cbd3963: wwan: T2529: migrate device from ttyUSB to usbXbY.YpZ.Z.
Jun 7 2020, 3:10 PM
c-po committed rVYOSONEXd70f1538f215: wwan: T2488: remove generation of dedicated logfile.
Jun 7 2020, 3:10 PM
c-po committed rVYOSONEX1fc4aadb5d87: udev: T2490: add persistent USB device files.
Jun 7 2020, 3:10 PM
GitHub <noreply@github.com> committed rVYOSONEX760bf1a9bcac: op-mode: T2558: fix hypervisor bug, add CPU info to "show version" (authored by kroy).
Jun 7 2020, 3:09 PM
c-po renamed T2560: New op-mode command to display information about USB interfaces from New op-mode command to display information about serial interfaces to New op-mode command to display information about USB interfaces.
Jun 7 2020, 2:34 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2560: New op-mode command to display information about USB interfaces, a subtask of T2490: Add serial (rs232) to ssh bridge service, as Resolved.
Jun 7 2020, 2:31 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2560: New op-mode command to display information about USB interfaces as Resolved.
Jun 7 2020, 2:31 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2560: New op-mode command to display information about USB interfaces.
Jun 7 2020, 2:31 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T2488: Remove logfile for dialup interfaces like pppoe and wwan.

It will be in the next rolling (any rolling newer then vyos-1.3-rolling-202006070117-amd64.iso)

Jun 7 2020, 12:38 PM · VyOS 1.3 Equuleus (1.3.0)
njh added a comment to T2488: Remove logfile for dialup interfaces like pppoe and wwan.

Ah, nice! I will update to the rolling release and give it is go soon.

Jun 7 2020, 12:36 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T2488: Remove logfile for dialup interfaces like pppoe and wwan.

@njh you have been right that command can be quiet handy, but instead of using a logfile we query "journalctl" for the appropriate logs.

Jun 7 2020, 12:25 PM · VyOS 1.3 Equuleus (1.3.0)
syncer changed the subtype of T2482: Update PowerDNS recursor to 4.3.1 for CVE-2020-10995 from "Task" to "Enhancement".
Jun 7 2020, 12:04 PM · Restricted Project
syncer changed the subtype of T2486: DNS records set via 'system static-host-mapping' return NXDOMAIN from 'service dns forwarding' after a request to a forwarded zone from "Task" to "Bug".
Jun 7 2020, 11:50 AM · VyOS 1.3 Equuleus (1.3.0)
syncer changed the subtype of T2463: DHCP-received nameserver not added to vyos-hostsd from "Task" to "Bug".
Jun 7 2020, 11:50 AM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX7b1773fa9777: op-mode: T2559: add "show environment sensors" command.
Jun 7 2020, 9:53 AM
c-po closed T2559: Add operational mode command to retrieve hardware sensor data as Resolved.
Jun 7 2020, 9:53 AM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T2559: Add operational mode command to retrieve hardware sensor data.
vyos@vmware:~$ show environment sensors
VyOS running under hypervisor, no sensors available
Jun 7 2020, 9:51 AM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav added a project to T2389: BGP community-list unknown command: Ready for Crux (1.2.x).
Jun 7 2020, 9:43 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po claimed T2559: Add operational mode command to retrieve hardware sensor data.
Jun 7 2020, 9:38 AM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2559: Add operational mode command to retrieve hardware sensor data.
Jun 7 2020, 9:37 AM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav closed T2389: BGP community-list unknown command as Unknown Status.
Jun 7 2020, 9:37 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po added a comment to T2555: XML op-mode generation scripts silently discard XML nodes.

Idea: do not generate empty node.def file if there is no <properties> statement.

Jun 7 2020, 9:27 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po committed rVYOSONEX3bd98a69316c: op-mode: version: remove unused import statements.
Jun 7 2020, 9:19 AM
c-po committed rVYOSONEX11794077958f: op-mode: ethernet: T2546: present offload output in table.
Jun 7 2020, 9:10 AM
c-po committed rVYOSONEX8ddac94cc942: op-mode: ethernet: T2546: do not display fixed offload options.
Jun 7 2020, 9:10 AM
jjakob added a comment to T2550: OpenVPN: IPv4 not working in client mode.

@mrozentsvayg look at https://community.openvpn.net/openvpn/ticket/360 (this is documented in the code comment right above your change as well). OpenVPN on Linux in server mode with standard protocols doesn't listen on IPv6, just IPv4. We need to force it to bind to a IPv6 socket using these undocumented *6 protocols, then it'll listen on both IPv4 and IPv6. This wouldn't be necessary if OpenVPN listened on IPv6 with the default protocols or autodetected whether the local or remote IPs are v4 or v6 and chose the correct socket type, but it doesn't. Complain to the above ticket 360. We're just working within the limitations imposed by OpenVPN.

Jun 7 2020, 7:56 AM · VyOS 1.3 Equuleus (1.3.0)
mrozentsvayg added a comment to T2550: OpenVPN: IPv4 not working in client mode.
In T2550#66208, @jjakob wrote:

What happens when one remote-host is IPv4 and one is IPv6? The proposed fix would leave the protocol as udp6 in that case and the error would still be there.

Jun 7 2020, 3:55 AM · VyOS 1.3 Equuleus (1.3.0)
kroy changed the status of T2558: Add some CPU information to `show version` + fix broken hypervisor detection from Open to Needs testing.
Jun 7 2020, 1:14 AM · VyOS 1.3 Equuleus (1.3.0)
kroy created T2558: Add some CPU information to `show version` + fix broken hypervisor detection.
Jun 7 2020, 1:09 AM · VyOS 1.3 Equuleus (1.3.0)

Jun 6 2020

jestabro changed the status of T2501: Cannot recover from failed boot config load from Open to In progress.
Jun 6 2020, 10:11 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2501: Cannot recover from failed boot config load.

I agree with the downside of vyos-config-debug; it was provided to allow some analysis when other was not available. What was done before was a straight call to the vyatta backend; what is done now is a essentially what you're suggesting, but in a case where the context of config/configtree is not successfully initialized, hence the failure. This is a good point for analysis, however, and I will restore the behaviour, likely by (a) using a straight call to the backend, and meanwhile (b) investigating if we can have partial context for config/configtree in this case.

Jun 6 2020, 8:46 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2554: Failsafe reboot timer.

Can you ask the user if you want to start the migration failure fallback mechanism on the first boot of the new image when upgrading, and if the user chooses to enable this mechanism, you should let the user select an old secure image (execute the mechanism only on the first boot)?

Jun 6 2020, 8:37 PM · VyOS 1.4 Sagitta (1.4.0)
jack9603301 added a comment to T2554: Failsafe reboot timer.

Therefore when modifying the default boot image (either via 'add system image' or 'set system image default-boot') the script that modifies grub.cfg needs to add its own name to it (easiest to do by adding a comment line to grub.cfg with its menu entry number), so that the failsafe reboot knows into which image to reboot into (it parses out the entry number from the grub comment and sets the default entry to it).

Jun 6 2020, 8:11 PM · VyOS 1.4 Sagitta (1.4.0)
jack9603301 added a comment to T2554: Failsafe reboot timer.

Can you ask the user if you want to start the migration failure fallback mechanism on the first boot of the new image when upgrading, and if the user chooses to enable this mechanism, you should let the user select an old secure image (execute the mechanism only on the first boot)?

Jun 6 2020, 8:07 PM · VyOS 1.4 Sagitta (1.4.0)
jjakob added a comment to T2501: Cannot recover from failed boot config load.

I think 'configure; load; commit' is important to make debugging easier and faster. There are issues with the vyos-config-debug method: it needs a full reboot to test every change, which can take minutes (and one may not fix the bug in the first 10 tries even, depending on how sleep deprived one is) and it lacks a easy way to see the scripts stdout/stderr (it is discarded unless we enable airbag's debug log, which is yet another thing to have in mind) as the standard traceback that's logged to /tmp may not be enough to catch the exact error and we need to print some variables to look at them or something like that. But mainly the issue is rebooting is much slower than just doing load/commit.
Can't we just read config.boot into the session config of configtree or config? Wasn't that exactly what was done before? I'm 100% there was a function that read the config.boot file in config.py in case the config system wasn't initialised.

Jun 6 2020, 7:59 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2554: Failsafe reboot timer.

Right, that's obvious. The issue is that we need to know to *which* image to switch to, but it's easy to solve, as I'll describe.

Jun 6 2020, 7:50 PM · VyOS 1.4 Sagitta (1.4.0)
jack9603301 added a comment to T2554: Failsafe reboot timer.

In fact, you may be able to switch the default startup item by simply trying to call the following command, and this corresponds to the following command:

Jun 6 2020, 7:14 PM · VyOS 1.4 Sagitta (1.4.0)
jack9603301 added a comment to T2554: Failsafe reboot timer.

I look forward to your success.

Jun 6 2020, 3:32 PM · VyOS 1.4 Sagitta (1.4.0)
jjakob added a comment to T2554: Failsafe reboot timer.

Ah right, then all the things about replacing config.boot aren't necessary. I was thinking that /config was permanent between images, I don't know how I forgot that it lives inside each image separately.

Jun 6 2020, 3:19 PM · VyOS 1.4 Sagitta (1.4.0)
jestabro changed the subtype of T2501: Cannot recover from failed boot config load from "Task" to "Bug".
Jun 6 2020, 3:17 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro lowered the priority of T2501: Cannot recover from failed boot config load from Urgent! to Normal.

The now standard method of debugging was clarified in T2409, with reference to this ticket (vyos-config-debug); the question here is whether there is any way to use 'configure; load; commit' on failed boot config load --- in the worst cases, no, as the CLI has not succssfully initialized, but will investigate. Changing to bug for evaluation.

Jun 6 2020, 3:15 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 added a comment to T2554: Failsafe reboot timer.

You can ask the user before the upgrade operation if you want to perform the fallback on failure function on the first boot after the upgrade, and select an old image that is safe when the migration fails.

Jun 6 2020, 3:13 PM · VyOS 1.4 Sagitta (1.4.0)
c-po created T2557: clear interfaces <type> <interface> counters has no effect.
Jun 6 2020, 3:08 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 added a comment to T2554: Failsafe reboot timer.

The way the current bootup commit works, (I'm not 100% certain, I may be wrong in some parts) is that it first looks if any components of the config require syntax migration, if yes, it backs up config.boot to config.boot.pre-migration-$(date) and goes through the migrator scripts, each one modifying the configuration to bring the syntax up to date, then it saves the new component version string and new config into config.boot, and then commits it. Therefore the config.boot is already migrated to the new syntax even if the commit then fails, meaning you can't simply reboot into the old image and expect things to work, as the old image expects the old config syntax, but the config was already migrated to the new one. We need to replace config.boot with its .pre-migration version before rebooting into the old image.

Jun 6 2020, 3:07 PM · VyOS 1.4 Sagitta (1.4.0)
c-po committed rVYOSONEX459e32b36973: op-mode: T2546: migrate show interfaces tunnel,input,pseudo-ethernet,l2tpv3 ....
Jun 6 2020, 2:55 PM
jestabro added a comment to T2554: Failsafe reboot timer.

Yes, let me confirm a few details here ....

Jun 6 2020, 2:50 PM · VyOS 1.4 Sagitta (1.4.0)
c-po created T2556: "show interfaces vrrp" does not return any interface.
Jun 6 2020, 2:43 PM · VyOS 1.5 Circinus, VyOS 1.4 Sagitta
jjakob added a comment to T2554: Failsafe reboot timer.

Sorry, I don't know if I understand it wrong, but please allow me to express my opinion, but when you install and add a new image from the old image for upgrading, it may occur that it can't be used normally at startup config.boot Configuration (especially rolling update),

Jun 6 2020, 2:34 PM · VyOS 1.4 Sagitta (1.4.0)
jestabro claimed T2554: Failsafe reboot timer.

@jjakob Thanks for a good summary of one of the issues, namely, not replacing config until 'success' (at least of boot, if not other criteria). Migration does save a backup, but we had recently discussed not doing in place change by default. I would like to assess this in relation to other recent discussions of failsafe and rollback, and then proceed with that compatible change first ...

Jun 6 2020, 2:29 PM · VyOS 1.4 Sagitta (1.4.0)
c-po committed rVYOSONEX35d8f6ecc6b6: op-mode: ethernet: T2546: add "show interfaces loopback".
Jun 6 2020, 2:19 PM
jjakob changed the status of T2553: set interface ethN vif-s nnnn does not commit from In progress to Needs testing.
Jun 6 2020, 2:14 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2553: set interface ethN vif-s nnnn does not commit.

Please test with the latest 1.3 rolling image if the bug is now fixed.

Jun 6 2020, 2:14 PM · VyOS 1.3 Equuleus (1.3.0)
c-po assigned T2555: XML op-mode generation scripts silently discard XML nodes to dmbaturin.
Jun 6 2020, 2:06 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po created T2555: XML op-mode generation scripts silently discard XML nodes.
Jun 6 2020, 2:06 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po committed rVYOSONEX69be93638e32: op-mode: add help text for "show mpls".
Jun 6 2020, 2:02 PM
c-po committed rVYOSONEX96431002404d: op-mode: add help text for "show mpls".
Jun 6 2020, 2:00 PM
c-po committed rVYOSONEXfa5740845e57: op-mode: add help text for "show protocols".
Jun 6 2020, 2:00 PM
c-po committed rVYOSONEXa0134973c0c8: op-mode: rename show-arp.xml to show-protocols-static.xml.
Jun 6 2020, 2:00 PM
jack9603301 added a comment to T2554: Failsafe reboot timer.

Perhaps a good way is still for the user to choose whether to reconfigure or restart with the old image.

Jun 6 2020, 9:56 AM · VyOS 1.4 Sagitta (1.4.0)
jack9603301 added a comment to T2554: Failsafe reboot timer.

Sorry, I don't know if I understand it wrong, but please allow me to express my opinion, but when you install and add a new image from the old image for upgrading, it may occur that it can't be used normally at startup config.boot Configuration (especially rolling update), in which case, whether or not the old config.boot There is no intention to make any migration or modification Justice. Either the configuration syntax has been changed and errors still occur after migration, or some settings of the system image have problems. A better solution is to modify grub's default boot so that it can boot from the old normal system image, if it exists, but this requires user authorization.

Jun 6 2020, 9:50 AM · VyOS 1.4 Sagitta (1.4.0)
jjakob triaged T2554: Failsafe reboot timer as Wishlist priority.
Jun 6 2020, 9:26 AM · VyOS 1.4 Sagitta (1.4.0)
c-po committed rVYOSONEX50e65d0ccd2f: dhcpv6-pd: T2551: fixup configuration path.
Jun 6 2020, 9:00 AM
c-po added a comment to T2551: DHCPv6-PD prefix length not being set in config file.

@c-po Woops, as of vyos-1.3-rolling-202006052325 now the problem has switched.

Now the "prefix ::/56 infinity" stanza is in the configuration file, but now the other parameters are not being put in.

Jun 6 2020, 8:57 AM
hlmtre added a comment to T2551: DHCPv6-PD prefix length not being set in config file.

@dsummers Do you have a section in your config for router-advert? I'm still struggling to get my Comcast business connection to delegate me an ipv6 prefix and then to have that be routable (my local interface gets a /63... wtf?!)

Jun 6 2020, 4:18 AM
dsummers added a comment to T2551: DHCPv6-PD prefix length not being set in config file.

@c-po Woops, as of vyos-1.3-rolling-202006052325 now the problem has switched.

Jun 6 2020, 2:24 AM

Jun 5 2020

dsummers added a comment to T2551: DHCPv6-PD prefix length not being set in config file.

@richardpowellus Yes, your work around fixed my problem and I'm now for the first time able to receive a /56 from my ISP and divvy it up between my interfaces.

Jun 5 2020, 11:55 PM
dsummers added a comment to T421: Add Pv6 prefix delegation support.

@richardpowellus Yes, your work around fixed my problem and I'm now for the first time able to receive a /56 from my ISP and divvy it up between my interfaces.

Jun 5 2020, 11:55 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T421: Add Pv6 prefix delegation support.

Fixed in the rolling release from 20200606xx

Jun 5 2020, 11:24 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po closed T2551: DHCPv6-PD prefix length not being set in config file as Resolved.
Jun 5 2020, 11:03 PM
c-po committed rVYOSONEX728b1feaf744: dhcpv6-pd: T2551: fix prefix length not set in config.
Jun 5 2020, 11:02 PM
c-po changed the status of T2551: DHCPv6-PD prefix length not being set in config file from Open to In progress.
Jun 5 2020, 10:45 PM
c-po added a comment to T2551: DHCPv6-PD prefix length not being set in config file.
Jun 5 2020, 10:44 PM
c-po committed rVYOSONEX886a986a122e: isis: T2495: exclude generated nodes from package.
Jun 5 2020, 10:41 PM
c-po committed rVYOSONEX11b2d00a47d1: op-mode: ethernet: T2546: add possibility to identify ethernet port.
Jun 5 2020, 10:41 PM
c-po committed rVYOSONEX25c3d0450e8d: isis: T2495: exclude generated nodes from package.
Jun 5 2020, 10:40 PM
c-po committed rVYOSONEXd38239e8fd49: op-mode: ethernet: T2546: add possibility to identify ethernet port.
Jun 5 2020, 10:40 PM
dsummers updated subscribers of T2551: DHCPv6-PD prefix length not being set in config file.

In T421 @richardpowellus mentioned:

Jun 5 2020, 10:37 PM
GitHub <noreply@github.com> committed rVYOSONEXaade755ef58f: isis: T2495: add XML definitions for "protocol isis" (authored by Viacheslav Hletenko <v.gletenko@vyos.io>).
Jun 5 2020, 10:35 PM
dsummers added a comment to T421: Add Pv6 prefix delegation support.

@richardpowellus I've noted the exact same issue in T2551.

Jun 5 2020, 10:35 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hlmtre added a comment to T421: Add Pv6 prefix delegation support.

Richardpowellus: I may be running into the same issue. What does your
id-assoc pd 2 { } section look like?

Jun 5 2020, 10:29 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po committed rVYOSONEXa27129137ba5: op-mode: dummy: T2546: add show interfaces command.
Jun 5 2020, 10:16 PM
c-po committed rVYOSONEXc271aacf0bb0: op-mode: ethernet: T2546: fix "show interfaces ethernet eth0".
Jun 5 2020, 10:16 PM
richardpowellus added a comment to T421: Add Pv6 prefix delegation support.

I seem to have figured out my problem. It seems like setting "set interfaces ethernet eth1 dhcpv6-options prefix-delegation length 60" is not working (eth1 is my WAN interface that's connected directly to my cable modem in bridge mode).

Jun 5 2020, 9:46 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po committed rVYOSONEX992d35603696: dhcpv6-pd: T421: workaround for non existing interfaces.
Jun 5 2020, 9:18 PM
c-po committed rVYOSONEXe1aab88d15f0: op-mode: ethernet: T2546: add vif subcommand.
Jun 5 2020, 9:12 PM