Page MenuHomeVyOS Platform
Feed Search

May 3 2020

jjakob added a comment to T2404: Cannot change MTU.

I think not setting the MTU at all if the user doesn't configure it is the right way to do it. It would be nice if we could detect an interface's max MTU but I couldn't find a way to do it either (I didn't really search that hard other than looking under /sys/net/{ifname} and /proc/sys/net).
@thomas-mangin Which other dependent interfaces do you mean? All other interfaces that depend on the ethernet interface should leave the MTU untouched too, let the OS choose the defaults.

May 3 2020, 9:40 PM · VyOS 1.3 Equuleus (1.3.6)
jjakob added a comment to T2404: Cannot change MTU.

This should probably be:

if eth['mtu']:
    e.set_mtu(eth['mtu'])

Then if the user doesn't set a mtu, we don't try to change it. If the config set mtu is wrong the commit should fail, but it should get verified in the verify section by a max mtu read from the interface (if that's possible), or leaving it as it is now. It shouldn't silently (or even loudly) continue as that would make the failure undetectable at boot.

May 3 2020, 7:54 PM · VyOS 1.3 Equuleus (1.3.6)

May 2 2020

jjakob added a comment to T2241: Changing settings on an interface causes it to fall out of bridge.

Scratch the above comment - I'll write a simple utility function that parses the STP config from the bridge, and some utility functions to remove duplication for adding the bridge members and setting STP on them, that should be good enough.

May 2 2020, 9:38 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2415: Make VLAN interfaces subclasses of Interface class.

This isn't as important as I thought initially as the interface scripts verify function will prevent adding interfaces with addresses to a bridge or bond - thus a simple 'ip addr flush dev x' will suffice to flush the remaining (should be just the fe80 link-local), as there should be no dhclients running.

May 2 2020, 9:25 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2418: Interfaces completion (list_interfaces.py) is slow.

On a dual-core Pentium E5300: 2.2s, time for completion 5s.

vyos@rt-home# time /usr/libexec/vyos/completion/list_interfaces.py --help
usage: list_interfaces.py [-h] [-t TYPE | -b | -br | -bo]
May 2 2020, 6:51 PM
jjakob added a comment to T2418: Interfaces completion (list_interfaces.py) is slow.

It takes 2s even with just --help. I can't explain why it takes 2s by itself, but the completion takes 4s. 2s must be added elsewhere.

vyos@vyos# time /usr/libexec/vyos/completion/list_interfaces.py --help
usage: list_interfaces.py [-h] [-t TYPE | -b | -br | -bo]
May 2 2020, 6:48 PM
jjakob added a comment to T2367: Flush addresses from bridge members.

https://github.com/vyos/vyos-1x/pull/388

May 2 2020, 6:05 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob triaged T2418: Interfaces completion (list_interfaces.py) is slow as Normal priority.
May 2 2020, 5:22 PM
jjakob added a comment to T2404: Cannot change MTU.

@robertoberto issue (cannot change udp fragmentation-offload) is not the same as the original post (changing MTU out of range) so please create a separate task for it.

May 2 2020, 5:15 PM · VyOS 1.3 Equuleus (1.3.6)
jjakob triaged T2416: Do not always delete all bond members when adding new ones as Normal priority.
May 2 2020, 12:51 PM · VyOS 1.3 Equuleus (1.3.9), test
jjakob added a comment to T2415: Make VLAN interfaces subclasses of Interface class.

We must be able to call klass('eth0.1.2', create=False).add_addr to add an address on the vif-c and also klass('eth0.1', create=False).add_addrto add an address on the vif-s. I'm adding functions on Interfaces class to purge/restore addresses which will be used when adding/removing bridge/bond members, T2367.

May 2 2020, 12:39 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a subtask for T2367: Flush addresses from bridge members: T2415: Make VLAN interfaces subclasses of Interface class.
May 2 2020, 12:20 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a parent task for T2415: Make VLAN interfaces subclasses of Interface class: T2367: Flush addresses from bridge members.
May 2 2020, 12:20 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob changed the status of T2367: Flush addresses from bridge members from Open to In progress.
May 2 2020, 12:20 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob triaged T2415: Make VLAN interfaces subclasses of Interface class as Normal priority.
May 2 2020, 12:18 PM · VyOS 1.3 Equuleus (1.3.0)

May 1 2020

jjakob added a comment to T2241: Changing settings on an interface causes it to fall out of bridge.

https://github.com/vyos/vyos-1x/pull/384 is the initial fix for this.

May 1 2020, 6:49 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2198: Rewrite NAT in new XML/Python style.

A list of all related tasks from a search: T1999 T1877 T538 T970 T99 T1095

May 1 2020, 11:06 AM · VyOS 1.3 Equuleus (1.3.0)

Apr 30 2020

jjakob triaged T2410: Unify addressing and options of dummy and other interfaces as Wishlist priority.
Apr 30 2020, 11:03 PM
jjakob added a comment to T2409: At boot, effective config should not be equal to current config.

Right. In my opinion it would be necessary to change that.

Apr 30 2020, 10:58 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob triaged T2409: At boot, effective config should not be equal to current config as Normal priority.
Apr 30 2020, 7:56 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob placed T2198: Rewrite NAT in new XML/Python style up for grabs.
Apr 30 2020, 5:35 PM · VyOS 1.3 Equuleus (1.3.0)

Apr 29 2020

jjakob added a comment to T2241: Changing settings on an interface causes it to fall out of bridge.

I found that it was due to set_vrf which uses the same master/nomaster commands that bridge uses. I'm adding checks and conditions to all interfaces to prevent that - raise ConfigError if both are set, and only set_vrf if vrf is set. The prior idea I had with re-adding the interface to the bridge at the end isn't necessary in this case, but for other interface types, where the interface itself is deleted and recreated, re-adding it is still necessary. The PR should be ready for initial review tomorrow.

Apr 29 2020, 10:14 PM · VyOS 1.3 Equuleus (1.3.0)

Apr 28 2020

jjakob added a comment to T2184: OpenVPN op_mode tools broken.

Wrong location of status file - it was moved to /run/openvpn

Apr 28 2020, 12:02 PM · VyOS 1.3 Equuleus (1.3.0)

Apr 27 2020

jjakob added a comment to T2184: OpenVPN op_mode tools broken.

They're still broken here. Maybe a different bug. It would be nice to switch to 'status-version' 2 or 3 too for more info.

vyos@rt-home:~$ show openvpn server
Apr 27 2020, 7:20 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob closed T2363: Use pyroute2 instead of calling 'ip' as Invalid.

That's unfortunate. I get that we need vyos.ifconfig to abstract interface management, but I thought pyroute2 could at least be used to replace all the calls to 'ip'. I guess that's not the case. I searched for pyroute2 and I see you already tried it, so I'm closing this.

Apr 27 2020, 12:10 PM

Apr 26 2020

jjakob added a comment to T2381: OpenVPN: openvpn-option parsed/rendered improperly.

If in crux this was just a option string passed to the openvpn process,
quoting or escaping could be used to pass a parameter with '--' to an
openvpn option. I need to have a good long look at how Crux did this and
have some real life examples. For example: openvpn-option '--mssfix --up
"/some/command --param1 --param2"' (I'm not sure if this would've worked
on Crux, the quoting is probably wrong, and the up option parameter too,
but my point remains that this could've been a valid option syntax)

Apr 26 2020, 10:05 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin awarded T2363: Use pyroute2 instead of calling 'ip' a Like token.
Apr 26 2020, 8:35 PM
jjakob added a comment to T2381: OpenVPN: openvpn-option parsed/rendered improperly.

Crux probably passed this as a string of options to the command line or
split it into multiple options. We need to add a parser to split the
options by '--', hopefully this won't break any options which should
include -- in one line.

Apr 26 2020, 3:48 PM · VyOS 1.3 Equuleus (1.3.0)

Apr 25 2020

jjakob added a comment to T2241: Changing settings on an interface causes it to fall out of bridge.

I'll try out the latest code then. But on 0421 with vyos-1x from 04-23
15:11 the issue is still there. I had most of the fix ready, it re-added
the interface back to the bridge it is supposed to be in after applying
all settings. I've thought about if this could be some function/method of
ifconfig, but I don't think it's necessary or how it would be
implemented. If the issue is still there, I'll open a PR. Then if there
is a bigger need to add this to ifconfig you can do it later.

Apr 25 2020, 12:34 PM · VyOS 1.3 Equuleus (1.3.0)

Apr 24 2020

jjakob changed the status of T2241: Changing settings on an interface causes it to fall out of bridge from Open to In progress.
Apr 24 2020, 10:45 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T1938: syslog doesn't start automatically.

Do they appear in the journal? sudo journalctl -f
I think logs go to systemd-journald first, then are forwarded to rsyslog,
which logs them to files. I've said some time ago, ever since 1.2 moved
to Buster and journald came in, that we should move more to native
journald logging away from rsyslog. I enable persistent journal storage
in /etc/systemd/journald.conf after every upgrade just because of this,
the rsyslog config is buggy/broken, it doesn't log half of what it
should, it stays in journald, so I just use journalctl to look at all
logs. I don't know if journald supports logging to separate files like
rsyslog though, by default it uses its own binary format, I think that
can be changed and maybe rsyslog file behavior moved to journald.

Apr 24 2020, 12:20 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
jjakob added a comment to T2241: Changing settings on an interface causes it to fall out of bridge.

If this happens to you, you don't need to delete and re-add the members in the config, you can run sudo ip link set dev ethX master brX to add the eth interfaces back to the bridge.

Apr 24 2020, 10:36 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2226: unify all the ways commands are run.

660 is not enough as the created file is already 660 root:root, which
means just root has the rights to write to it. The failing script isn't
run as root while in a config session (validate-value.py). I'm not
exactly sure which user (vyos or vyattacfg), but as this is a debug log,
it's not security critical and can be set to 666. Otherwise it'd need to
be owned by a group into which all the writing users must be put into,
and can stay 660.

Apr 24 2020, 9:36 AM
jjakob renamed T2241: Changing settings on an interface causes it to fall out of bridge from Interface falls out of bridge when adding a vif to it to Changing settings on an interface causes it to fall out of bridge.
Apr 24 2020, 1:50 AM · VyOS 1.3 Equuleus (1.3.0)

Apr 23 2020

jjakob added a comment to T2226: unify all the ways commands are run.

All that's needed is to chmod 666 the file after creation - I did that
after I found the error and all scripts could write to it fine.

Apr 23 2020, 8:45 PM
jjakob changed the status of T2348: On IPv6 address distribution and DHCPv6 bugs, a subtask of T2362: IPv6 link-local addresses missing due to EUI64 address code, causing router-advert not to work, from In progress to Needs testing.
Apr 23 2020, 8:14 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob changed the status of T2348: On IPv6 address distribution and DHCPv6 bugs from In progress to Needs testing.

Please test with a image built after April 23 20:44 (no image is built yet, the next one should have the fix for T2362 included)

Apr 23 2020, 8:14 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob closed T2345: IPv6 router-advert not working, a subtask of T2362: IPv6 link-local addresses missing due to EUI64 address code, causing router-advert not to work, as Resolved.
Apr 23 2020, 8:11 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob closed T2345: IPv6 router-advert not working as Resolved.

Fixed by T2362

Apr 23 2020, 8:11 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob closed T2362: IPv6 link-local addresses missing due to EUI64 address code, causing router-advert not to work as Resolved.
Apr 23 2020, 8:10 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2366: change the default for Interface creation to False.
In T2366#61424, @runar wrote:

"This is fine if used in conf_mode scripts that'll create it after that anyway" if the intention of the code was not to create the interdace this is not fine if you ask me. :)

Apr 23 2020, 4:14 PM · VyOS 1.5 Circinus
jjakob added a comment to T2366: change the default for Interface creation to False.

is if iface in Section.interfaces() the correct way to check if the interface already exists?

Apr 23 2020, 1:25 PM · VyOS 1.5 Circinus
jjakob added a comment to T2366: change the default for Interface creation to False.

Actually, if an interface doesn't exist and if we try to get its properties (for example if mac != BridgeIf('br0', create=False).get_mac():) that raises an exception. I'm not sure what the best way to do here is. Use create=True anyway? This is fine if used in conf_mode scripts that'll create it after that anyway, but what if we're checking another interface that we don't know if it exists or not? First do an existence check? How do we do that?

Apr 23 2020, 1:09 PM · VyOS 1.5 Circinus
jjakob added a comment to T2226: unify all the ways commands are run.

Bug: if I create '/config/vyos.log.debug' with contents '/config/vyos.debug.log', /config/vyos.debug.log is created as root:root rw-rw-r--, and later scripts that use call() but aren't root, don't have the permission to write to it, and fail. For example any validator like mac-address fails as if the value is invalid, but if we turn on its debug flag, we see the real error is [Errno 13]: Permission denied: '/config/vyos.debug.log' because 'src/helpers/validate-value.py' uses call(), but it isn't ran with root privileges. The debug log should be probably created with 666 permissions or its group changed so that all scripts, even non-root, can write to it.

Apr 23 2020, 12:55 PM
jjakob added a comment to T1557: Create generic abstraction for configuring interfaces e.g. IP address.

Oh, I see what that's supposed to do - if there was a 'mac' set to change the interface's mac address, it sets that back to the real factory mac. In that case, that's fine (it's done every time if no 'mac' node is there, which is rather pointless, but shouldn't harm anything), the bug with interface renaming is a separate bug that's not applicable here.

Apr 23 2020, 12:14 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T1557: Create generic abstraction for configuring interfaces e.g. IP address.

@c-po looking at your commit d80398b6, I don't think that's how the hw-id node was supposed to be used. It was never used as a way to change the interface's mac address, rather it was used to rename the interface with the matching mac address to the name it has in config.boot. This is done by some vyatta scripts at boot time. If we later set the same mac on the interface that it should already have (as it was renamed by the vyatta scripts), that's pretty pointless to do IMO.

Apr 23 2020, 12:08 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2339: OpenVPN: IPv4 no longer working after adding IPv6 support.

Looks good. Is detect_if_systemipv6_is_disabled() already a
system function? If so, It can be incorporated (by you if you wish, or by
me). The last line is missing += by the way.

Apr 23 2020, 2:36 AM · VyOS 1.3 Equuleus (1.3.0)

Apr 22 2020

jjakob triaged T2367: Flush addresses from bridge members as Wishlist priority.
Apr 22 2020, 7:07 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2190: Instantiating Interfaces without risk of creation.

There are places in the code where operational commands are still ran without create=False, for example:
https://github.com/vyos/vyos-1x/blob/675f400bacb03ae93be928e7270f89205d1036b9/src/conf_mode/interfaces-bonding.py#L242

Apr 22 2020, 10:57 AM

Apr 21 2020

jjakob renamed T2362: IPv6 link-local addresses missing due to EUI64 address code, causing router-advert not to work from Separate IPv6 link-local addresses from EUI64 prefixes, allow setting multiple EUI64 addresses to IPv6 link-local addresses missing due to EUI64 address code, causing router-advert not to work.
Apr 21 2020, 11:05 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2362: IPv6 link-local addresses missing due to EUI64 address code, causing router-advert not to work.

The above PR is tested to fix this issue and T2345.

Apr 21 2020, 9:50 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob moved T2362: IPv6 link-local addresses missing due to EUI64 address code, causing router-advert not to work from Need Triage to In Progress on the VyOS 1.3 Equuleus board.
Apr 21 2020, 9:18 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2362: IPv6 link-local addresses missing due to EUI64 address code, causing router-advert not to work.

https://github.com/vyos/vyos-1x/pull/371

Apr 21 2020, 8:51 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob triaged T2363: Use pyroute2 instead of calling 'ip' as Wishlist priority.
Apr 21 2020, 7:14 PM
jjakob renamed T2362: IPv6 link-local addresses missing due to EUI64 address code, causing router-advert not to work from Separate IPv6 link-local addresses from EUI64 prefixes, allow setting multiple link-local or EUI64 addresses to Separate IPv6 link-local addresses from EUI64 prefixes, allow setting multiple EUI64 addresses.
Apr 21 2020, 7:08 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a parent task for T2348: On IPv6 address distribution and DHCPv6 bugs: T2362: IPv6 link-local addresses missing due to EUI64 address code, causing router-advert not to work.
Apr 21 2020, 7:07 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a parent task for T2345: IPv6 router-advert not working: T2362: IPv6 link-local addresses missing due to EUI64 address code, causing router-advert not to work.
Apr 21 2020, 7:07 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added subtasks for T2362: IPv6 link-local addresses missing due to EUI64 address code, causing router-advert not to work: T2345: IPv6 router-advert not working, T2348: On IPv6 address distribution and DHCPv6 bugs.
Apr 21 2020, 7:07 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob changed the status of T2362: IPv6 link-local addresses missing due to EUI64 address code, causing router-advert not to work from Open to In progress.
Apr 21 2020, 7:07 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2360: Document the common logging library airbag.py.

Ah, I figured it out - the contents of vyos.log.debug are used as the path to the logfile, if empty (but present) the default /tmp/developer-log will be used, otherwise no logfile will be written. But I think I've hit a bug - if multiple 'flag' are set (other than 'log') the system hangs during boot.

Apr 21 2020, 5:49 PM · VyOS 1.3 Equuleus (1.3.6), Restricted Project
jjakob triaged T2360: Document the common logging library airbag.py as Low priority.
Apr 21 2020, 5:40 PM · VyOS 1.3 Equuleus (1.3.6), Restricted Project
jjakob added a comment to T2348: On IPv6 address distribution and DHCPv6 bugs.

My fix for that was merged 7 hours ago so your 202004210117 image doesn't contain it. https://github.com/vyos/vyos-1x/commit/c7d8e39be10a59d64be643cade2213c97f1e3639

Apr 21 2020, 1:04 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2348: On IPv6 address distribution and DHCPv6 bugs.

https://github.com/vyos/vyos-1x/pull/364

Apr 21 2020, 11:35 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2348: On IPv6 address distribution and DHCPv6 bugs.

I'm working on T2345, but the root issues probably aren't the same. Do you have service router-advert configured, and is it on a bridged interface? Then the cause is T2345. If not (if you have router-advert and dhcpv6-server on a eth interface) then this is a different issue.

Apr 21 2020, 11:26 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2345: IPv6 router-advert not working.

This is due to the bridge missing a link-local address. The bridge members also don't need link-local addresses (currently they have them) and IPv6 can be disabled entirely on them.

Apr 21 2020, 11:06 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob changed the status of T2345: IPv6 router-advert not working from Open to In progress.
Apr 21 2020, 10:47 AM · VyOS 1.3 Equuleus (1.3.0)

Apr 20 2020

jjakob added a comment to T2241: Changing settings on an interface causes it to fall out of bridge.

This is a pretty serious bug. Is there any progress?

Apr 20 2020, 8:28 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob triaged T2345: IPv6 router-advert not working as High priority.
Apr 20 2020, 8:24 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2328: dhcpv6 server not starting (disable check reversed?).

https://github.com/vyos/vyos-1x/pull/363

Apr 20 2020, 8:05 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob changed the status of T2339: OpenVPN: IPv4 no longer working after adding IPv6 support from In progress to Needs testing.

@c-po can you please test if this now works, if so the task can be closed. My testing showed that it does.

Apr 20 2020, 8:04 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob changed the status of T2328: dhcpv6 server not starting (disable check reversed?) from Open to In progress.
Apr 20 2020, 7:19 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob added a comment to T2339: OpenVPN: IPv4 no longer working after adding IPv6 support.

https://github.com/vyos/vyos-1x/pull/361

Apr 20 2020, 7:06 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob changed the status of T2339: OpenVPN: IPv4 no longer working after adding IPv6 support from Open to In progress.
Apr 20 2020, 6:17 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2316: DHCP-server op-mode errors.

Yeah, I missed that one. Thanks for fixing it c-po.

Apr 20 2020, 6:16 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob moved T2337: hw-id gone missing from interfaces after upgrade to 1.3-rolling-202004191028 from Need Triage to Finished on the VyOS 1.3 Equuleus board.

Tested latest rolling, hw-id works as expected again (albeit sometimes buggy, but that's nothing new).

Apr 20 2020, 5:16 PM · VyOS 1.3 Equuleus (1.3.0)

Apr 19 2020

jjakob added a comment to T2336: OpenVPN service fails to start.

Caused by T2273, issue is also in T2308: systemd uses a private /tmp dir. Should be moved to /run/openvpn or the systemd-private dir disabled (I prefer the 1st option)

Apr 19 2020, 1:41 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob updated subscribers of T2337: hw-id gone missing from interfaces after upgrade to 1.3-rolling-202004191028.
Apr 19 2020, 1:37 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T577: Unconfigured Ethernet interface discovery partial failure on boot.

I can take this on in conjunction with T1499 since there has been no activity on it for a long time and the issue still very much exists.

Apr 19 2020, 1:07 PM · VyOS Rolling, Bugs
jjakob added a comment to T2337: hw-id gone missing from interfaces after upgrade to 1.3-rolling-202004191028.

@c-po this is the commit that caused this issue. You renamed the config node but didn't include a migrator. https://github.com/vyos/vyos-1x/commit/021a2470bd67dccfac0a53c9f4ef511640c03101

Apr 19 2020, 1:04 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T1499: Move nic to mac mapping out of the configuration file.

I'll take this one.

Apr 19 2020, 12:57 PM
jjakob added a comment to T2337: hw-id gone missing from interfaces after upgrade to 1.3-rolling-202004191028.

I spent the last hour at the console trying to fix this mess. It left me with completely broken internet and also bridged the WAN and one of the LAN ports (several of which are in a bridge). I must've tried rebooting 10 times with both 202004191028 and 202004141515 until I could finally get things to work properly with 202004120117. Before this, I've had problems with 1.2 and 1.3 rolling for years where sometimes the interfaces would get mixed up, but usually one reboot fixed it. Now there is a 100% chance of them being completely mixed up every time.

Apr 19 2020, 12:55 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob triaged T2337: hw-id gone missing from interfaces after upgrade to 1.3-rolling-202004191028 as Urgent! priority.
Apr 19 2020, 11:37 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob changed the status of T2316: DHCP-server op-mode errors, a subtask of T2322: CLI [op-mode] bugs. Root task, from Confirmed to Needs testing.
Apr 19 2020, 11:30 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob changed the status of T2316: DHCP-server op-mode errors from Confirmed to Needs testing.
Apr 19 2020, 11:30 AM · VyOS 1.3 Equuleus (1.3.0)

Apr 18 2020

jjakob added a comment to T2316: DHCP-server op-mode errors.
vyos@rt-home:~$ show dhcp server leases sort ab
Invalid sort key, choose from: ['ip', 'hardware_address', 'state', 'start', 'end', 'remaining', 'pool', 'hostname']
vyos@rt-home:~$ show dhcp server leases state ab
Invalid lease state, choose from: ['all', 'active', 'free', 'expired', 'released', 'abandoned', 'reset', 'backup']
vyos@rt-home:~$ show dhc
dhcp    dhcpv6  
vyos@rt-home:~$ show dhcpv6 server leases
Apr 18 2020, 2:42 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob created T2328: dhcpv6 server not starting (disable check reversed?).
Apr 18 2020, 2:20 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob changed the status of T2316: DHCP-server op-mode errors from Open to Confirmed.
Apr 18 2020, 12:12 PM · VyOS 1.3 Equuleus (1.3.0)

Apr 17 2020

jjakob updated the task description for T2308: openvpn op-mode scripts broken after migrating to systemd service.
Apr 17 2020, 10:39 AM · VyOS 1.3 Equuleus (1.3.0), openvpn
jjakob triaged T2308: openvpn op-mode scripts broken after migrating to systemd service as Normal priority.
Apr 17 2020, 10:37 AM · VyOS 1.3 Equuleus (1.3.0), openvpn
jjakob added a comment to T1317: OpenVPN configuration fails if it depends on another interface..

OpenVPN was migrated to a systemd service with auto restart so it's possible it could have fixed this issue. Please retest with latest rolling.

Apr 17 2020, 10:23 AM · VyOS 1.3 Equuleus (1.3.9), test
jjakob added a project to T2145: openvpn: server default topology net30 is incompatible with static client IPs for Windows clients: openvpn.
Apr 17 2020, 10:08 AM · VyOS 1.4 Sagitta (1.4.1)
jjakob added a comment to T2145: openvpn: server default topology net30 is incompatible with static client IPs for Windows clients.

The recent work on openvpn added net30 as an option for "server topology" and marked it as default in the shell value help so at least users should now know it's the default. Personally I'd like the default topology to be subnet but that would mean adding a migrator script for old users who use net30.
It also rewrote some parts of the ifconfig setting logic. This should be retested if it's still an issue.

Apr 17 2020, 10:06 AM · VyOS 1.4 Sagitta (1.4.1)
jjakob added a project to T2235: OpenVPN server client IP doesn't reserve that IP in the pool: openvpn.
Apr 17 2020, 9:58 AM · VyOS 1.3 Equuleus (1.3.0), openvpn
jjakob added a project to T149: IPv6 support in OpenVPN tunnel: openvpn.
Apr 17 2020, 9:58 AM · VyOS 1.3 Equuleus (1.3.0-epa1), openvpn
jjakob added a project to T2113: OpenVPN Options error: you cannot use --verify-x509-name with --compat-names or --no-name-remapping: openvpn.
Apr 17 2020, 9:57 AM · VyOS 1.4 Sagitta (1.4.0-epa1), Restricted Project, VyOS 1.3 Equuleus (1.3.7), openvpn
jjakob added a project to T1512: vyos 1.2 openvpn client names with spaces created incorrectly: openvpn.
Apr 17 2020, 9:56 AM · VyOS 1.3 Equuleus (1.3.0), openvpn
jjakob added a comment to T1512: vyos 1.2 openvpn client names with spaces created incorrectly.

So if we wanted to not use compat-names because of T2113 the client node names would need to have spaces, I don't know how the config system would handle this? It could probably take a quoted value as the client node, but I'm not sure the shell completion would handle this - it already has problems autocompleting quoted values (for example if you try tab-completing a description with a space in it, you'll see what I mean). Shell completion would very likely break with quoted node names. A workaround could be to remap underscores in the config client node names to spaces for the actual ccd file names. I don't quote like that option, but the alternative would be to have to fix the shell autocompletion for quoted values (better in the big picture but more complex and time consuming), or not fix T2113.

Apr 17 2020, 9:55 AM · VyOS 1.3 Equuleus (1.3.0), openvpn

Apr 16 2020

jjakob closed T149: IPv6 support in OpenVPN tunnel as Resolved.
Apr 16 2020, 5:48 PM · VyOS 1.3 Equuleus (1.3.0-epa1), openvpn
jjakob added a comment to T149: IPv6 support in OpenVPN tunnel.

https://github.com/vyos/vyos-1x/pull/342 should add IPv6 support for all use cases (server, listening socket, p2p, client).

Apr 16 2020, 10:54 AM · VyOS 1.3 Equuleus (1.3.0-epa1), openvpn
jjakob closed T2235: OpenVPN server client IP doesn't reserve that IP in the pool as Resolved.

The script now prints a warning on commit if the server client IP is in the pool. There is a new config node for setting the pool start/stop/netmask/disable, if not set, the defaults of openvpn are used.

Apr 16 2020, 10:52 AM · VyOS 1.3 Equuleus (1.3.0), openvpn